050216
Dependencies: MODSERIAL mon-050216 mbed timer0-050216
Fork of mbed_blinky by
main.h@11:be852b7b7692, 2016-03-10 (annotated)
- Committer:
- rs27
- Date:
- Thu Mar 10 20:35:49 2016 +0000
- Revision:
- 11:be852b7b7692
- Parent:
- 10:cfd15bd4762a
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rs27 | 10:cfd15bd4762a | 1 | // Deklarationen für die IOX.mini |
rs27 | 10:cfd15bd4762a | 2 | // |
rs27 | 10:cfd15bd4762a | 3 | #ifndef MINI_H |
rs27 | 10:cfd15bd4762a | 4 | #define MINI_H |
rs27 | 10:cfd15bd4762a | 5 | |
rs27 | 10:cfd15bd4762a | 6 | #define LED1 P3_26 |
rs27 | 10:cfd15bd4762a | 7 | #define LED2 P1_24 |
rs27 | 10:cfd15bd4762a | 8 | #define LED3 P1_26 |
rs27 | 10:cfd15bd4762a | 9 | #define LED4 P2_12 |
rs27 | 10:cfd15bd4762a | 10 | #define LED5 P2_13 |
rs27 | 10:cfd15bd4762a | 11 | #define LED6 P3_25 |
rs27 | 10:cfd15bd4762a | 12 | #define LED7 P1_25 |
rs27 | 10:cfd15bd4762a | 13 | |
rs27 | 10:cfd15bd4762a | 14 | // LED8 OUT2 |
rs27 | 10:cfd15bd4762a | 15 | // LED9 OUT3 |
rs27 | 10:cfd15bd4762a | 16 | // LED10 OUT4 |
rs27 | 10:cfd15bd4762a | 17 | |
rs27 | 10:cfd15bd4762a | 18 | #define IN1 P1_29 |
rs27 | 10:cfd15bd4762a | 19 | #define IN2 P0_18 |
rs27 | 10:cfd15bd4762a | 20 | #define IN3 P0_27 |
rs27 | 10:cfd15bd4762a | 21 | #define IN4 P0_19 |
rs27 | 10:cfd15bd4762a | 22 | |
rs27 | 10:cfd15bd4762a | 23 | #define OUT1 P1_1 |
rs27 | 10:cfd15bd4762a | 24 | #define OUT2 P0_9 |
rs27 | 10:cfd15bd4762a | 25 | #define OUT3 P0_8 |
rs27 | 10:cfd15bd4762a | 26 | #define OUT4 P0_17 |
rs27 | 10:cfd15bd4762a | 27 | |
rs27 | 10:cfd15bd4762a | 28 | #define EXT_RESET P1_8 |
rs27 | 10:cfd15bd4762a | 29 | #define EXT_INT P0_24 |
rs27 | 10:cfd15bd4762a | 30 | |
rs27 | 10:cfd15bd4762a | 31 | #define CAN_RX1 P0_21 |
rs27 | 10:cfd15bd4762a | 32 | #define CAN_TX1 P0_22 |
rs27 | 10:cfd15bd4762a | 33 | |
rs27 | 10:cfd15bd4762a | 34 | #define CAN_RX2 P0_4 |
rs27 | 10:cfd15bd4762a | 35 | #define CAN_TX2 P0_5 |
rs27 | 10:cfd15bd4762a | 36 | |
rs27 | 10:cfd15bd4762a | 37 | #define RS485_TX1 P4_28 |
rs27 | 10:cfd15bd4762a | 38 | #define RS485_RX1 P4_29 |
rs27 | 10:cfd15bd4762a | 39 | #define RS485_DIR1 P1_0 |
rs27 | 10:cfd15bd4762a | 40 | |
rs27 | 10:cfd15bd4762a | 41 | #define TXD P0_2 |
rs27 | 10:cfd15bd4762a | 42 | #define RXD P0_3 |
rs27 | 10:cfd15bd4762a | 43 | |
rs27 | 10:cfd15bd4762a | 44 | |
rs27 | 10:cfd15bd4762a | 45 | |
rs27 | 10:cfd15bd4762a | 46 | |
rs27 | 10:cfd15bd4762a | 47 | |
rs27 | 10:cfd15bd4762a | 48 | |
rs27 | 10:cfd15bd4762a | 49 | #endif // end MINI_H |