5 #if defined(TARGET_LPC1768) || defined(TARGET_LPC2368)
7 #define DEVICE_PORTIN 1
8 #define DEVICE_PORTOUT 1
9 #define DEVICE_PORTINOUT 1
11 #define DEVICE_INTERRUPTIN 1
13 #define DEVICE_ANALOGIN 1
14 #define DEVICE_ANALOGOUT 1
16 #define DEVICE_SERIAL 1
19 #define DEVICE_I2CSLAVE 1
22 #define DEVICE_SPISLAVE 1
28 #define DEVICE_ETHERNET 1
30 #define DEVICE_PWMOUT 1
32 #elif defined(TARGET_LPC11U24)
34 #define DEVICE_PORTIN 1
35 #define DEVICE_PORTOUT 1
36 #define DEVICE_PORTINOUT 1
38 #define DEVICE_INTERRUPTIN 1
40 #define DEVICE_ANALOGIN 1
41 #define DEVICE_ANALOGOUT 0
43 #define DEVICE_SERIAL 1
46 #define DEVICE_I2CSLAVE 1
49 #define DEVICE_SPISLAVE 1
55 #define DEVICE_ETHERNET 0
57 #define DEVICE_PWMOUT 1