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