nothing changed
Fork of mbed by
device.h@1:27d81db81dd7, 2015-03-03 (annotated)
- Committer:
- Jing_Qiu
- Date:
- Tue Mar 03 00:55:57 2015 +0000
- Revision:
- 1:27d81db81dd7
- Parent:
- 0:a8fa94490a0a
revise
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gokmenascioglu | 0:a8fa94490a0a | 1 | |
gokmenascioglu | 0:a8fa94490a0a | 2 | #ifndef MBED_DEVICE_H |
gokmenascioglu | 0:a8fa94490a0a | 3 | #define MBED_DEVICE_H |
gokmenascioglu | 0:a8fa94490a0a | 4 | |
gokmenascioglu | 0:a8fa94490a0a | 5 | #if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) |
gokmenascioglu | 0:a8fa94490a0a | 6 | |
gokmenascioglu | 0:a8fa94490a0a | 7 | #define DEVICE_PORTIN 1 |
gokmenascioglu | 0:a8fa94490a0a | 8 | #define DEVICE_PORTOUT 1 |
gokmenascioglu | 0:a8fa94490a0a | 9 | #define DEVICE_PORTINOUT 1 |
gokmenascioglu | 0:a8fa94490a0a | 10 | |
gokmenascioglu | 0:a8fa94490a0a | 11 | #define DEVICE_INTERRUPTIN 1 |
gokmenascioglu | 0:a8fa94490a0a | 12 | |
gokmenascioglu | 0:a8fa94490a0a | 13 | #define DEVICE_ANALOGIN 1 |
gokmenascioglu | 0:a8fa94490a0a | 14 | #define DEVICE_ANALOGOUT 1 |
gokmenascioglu | 0:a8fa94490a0a | 15 | |
gokmenascioglu | 0:a8fa94490a0a | 16 | #define DEVICE_SERIAL 1 |
gokmenascioglu | 0:a8fa94490a0a | 17 | |
gokmenascioglu | 0:a8fa94490a0a | 18 | #define DEVICE_I2C 1 |
gokmenascioglu | 0:a8fa94490a0a | 19 | #define DEVICE_I2CSLAVE 1 |
gokmenascioglu | 0:a8fa94490a0a | 20 | |
gokmenascioglu | 0:a8fa94490a0a | 21 | #define DEVICE_SPI 1 |
gokmenascioglu | 0:a8fa94490a0a | 22 | #define DEVICE_SPISLAVE 1 |
gokmenascioglu | 0:a8fa94490a0a | 23 | |
gokmenascioglu | 0:a8fa94490a0a | 24 | #define DEVICE_CAN 1 |
gokmenascioglu | 0:a8fa94490a0a | 25 | |
gokmenascioglu | 0:a8fa94490a0a | 26 | #define DEVICE_RTC 1 |
gokmenascioglu | 0:a8fa94490a0a | 27 | |
gokmenascioglu | 0:a8fa94490a0a | 28 | #define DEVICE_ETHERNET 1 |
gokmenascioglu | 0:a8fa94490a0a | 29 | |
gokmenascioglu | 0:a8fa94490a0a | 30 | #define DEVICE_PWMOUT 1 |
gokmenascioglu | 0:a8fa94490a0a | 31 | |
gokmenascioglu | 0:a8fa94490a0a | 32 | #elif defined(TARGET_LPC11U24) |
gokmenascioglu | 0:a8fa94490a0a | 33 | |
gokmenascioglu | 0:a8fa94490a0a | 34 | #define DEVICE_PORTIN 1 |
gokmenascioglu | 0:a8fa94490a0a | 35 | #define DEVICE_PORTOUT 1 |
gokmenascioglu | 0:a8fa94490a0a | 36 | #define DEVICE_PORTINOUT 1 |
gokmenascioglu | 0:a8fa94490a0a | 37 | |
gokmenascioglu | 0:a8fa94490a0a | 38 | #define DEVICE_INTERRUPTIN 1 |
gokmenascioglu | 0:a8fa94490a0a | 39 | |
gokmenascioglu | 0:a8fa94490a0a | 40 | #define DEVICE_ANALOGIN 1 |
gokmenascioglu | 0:a8fa94490a0a | 41 | #define DEVICE_ANALOGOUT 0 |
gokmenascioglu | 0:a8fa94490a0a | 42 | |
gokmenascioglu | 0:a8fa94490a0a | 43 | #define DEVICE_SERIAL 1 |
gokmenascioglu | 0:a8fa94490a0a | 44 | |
gokmenascioglu | 0:a8fa94490a0a | 45 | #define DEVICE_I2C 1 |
gokmenascioglu | 0:a8fa94490a0a | 46 | #define DEVICE_I2CSLAVE 1 |
gokmenascioglu | 0:a8fa94490a0a | 47 | |
gokmenascioglu | 0:a8fa94490a0a | 48 | #define DEVICE_SPI 1 |
gokmenascioglu | 0:a8fa94490a0a | 49 | #define DEVICE_SPISLAVE 1 |
gokmenascioglu | 0:a8fa94490a0a | 50 | |
gokmenascioglu | 0:a8fa94490a0a | 51 | #define DEVICE_CAN 0 |
gokmenascioglu | 0:a8fa94490a0a | 52 | |
gokmenascioglu | 0:a8fa94490a0a | 53 | #define DEVICE_RTC 0 |
gokmenascioglu | 0:a8fa94490a0a | 54 | |
gokmenascioglu | 0:a8fa94490a0a | 55 | #define DEVICE_ETHERNET 0 |
gokmenascioglu | 0:a8fa94490a0a | 56 | |
gokmenascioglu | 0:a8fa94490a0a | 57 | #define DEVICE_PWMOUT 1 |
gokmenascioglu | 0:a8fa94490a0a | 58 | |
gokmenascioglu | 0:a8fa94490a0a | 59 | #endif |
gokmenascioglu | 0:a8fa94490a0a | 60 | |
gokmenascioglu | 0:a8fa94490a0a | 61 | #endif |
gokmenascioglu | 0:a8fa94490a0a | 62 |