4 /* include what comes from KEIL */
5 #include <mach/LPC21xx.H>
6 /* This is a bit problematic: there are a bunch of include files that are
7 * quite similar. Maybe I should merge them. TODO
10 /* PCONP bits for lpc213x */
11 #define PCONP_TIM0 (1<<1)
12 #define PCONP_TIM1 (1<<2)
13 #define PCONP_UART0 (1<<3)
14 #define PCONP_UART1 (1<<4)
15 #define PCONP_PWM0 (1<<5)
17 #define PCONP_I2C0 (1<<7)
18 #define PCONP_SPI0 (1<<8)
19 #define PCONP_RTC (1<<9)
20 #define PCONP_SPI1 (1<<10)
22 #define PCONP_AD0 (1<<12)
24 #define PCONP_I2C1 (1<<19)
25 #define PCONP_AD1 (1<<20)