]> rtime.felk.cvut.cz Git - sysless.git/blob - arch/arm/mach-lpc17xx/libs/hal/hal_machperiph.h
e606e22772f4ecb62f7cff583051c8e5b88c1be7
[sysless.git] / arch / arm / mach-lpc17xx / libs / hal / hal_machperiph.h
1 #ifndef _HAL_MACHPERIPH_H
2 #define _HAL_MACHPERIPH_H
3
4 extern unsigned int system_frequency;
5 #define PCLK (system_frequency/4)
6
7 void system_clock_init(void);
8
9 //void lpc_pll_on();
10 void lpc_pll_off();
11 void lpc_watchdog_init(int on,int timeout_ms);
12 void lpc_watchdog_feed();
13
14 #endif /* _HAL_MACHPERIPH_H */
15