]> rtime.felk.cvut.cz Git - lincan.git/blob - embedded/arch/arm/mach-lpc17xx/libs/hal/hal_machperiph.h
Contributed support for LCP17xx devices and PiKRON's LMC1 board.
[lincan.git] / embedded / 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+2)/4)
6
7 void system_clock_init(void);
8
9 void lpc_watchdog_init(int on,int timeout_ms);
10 void lpc_watchdog_feed();
11 void *lpc_reserve_usb_ram(unsigned long size);
12
13 #endif /* _HAL_MACHPERIPH_H */
14