1 #ifndef _HAL_MACHPERIPH_H
2 #define _HAL_MACHPERIPH_H
4 extern unsigned int system_frequency;
5 #define PCLK (system_frequency/4)
7 void system_clock_init(void);
11 void lpc_watchdog_init(int on,int timeout_ms);
12 void lpc_watchdog_feed();
14 #endif /* _HAL_MACHPERIPH_H */