kevin eccli
/
Freescale_CupV4
Adaptation K22F
Config.h@0:6004a7230f87, 2014-12-16 (annotated)
- Committer:
- singularity
- Date:
- Tue Dec 16 15:52:17 2014 +0000
- Revision:
- 0:6004a7230f87
Creation k22F
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
singularity | 0:6004a7230f87 | 1 | #ifndef _PINOUT_H |
singularity | 0:6004a7230f87 | 2 | #define _PINOUT_H |
singularity | 0:6004a7230f87 | 3 | |
singularity | 0:6004a7230f87 | 4 | //PROPULSION |
singularity | 0:6004a7230f87 | 5 | #define MOTD1_PIN PTD1 |
singularity | 0:6004a7230f87 | 6 | #define MOTD2_PIN PTD2 |
singularity | 0:6004a7230f87 | 7 | #define MOTG1_PIN PTD3 |
singularity | 0:6004a7230f87 | 8 | #define MOTG2_PIN PTD0 |
singularity | 0:6004a7230f87 | 9 | #define FBD_PIN PTB10 |
singularity | 0:6004a7230f87 | 10 | #define FBG_PIN PTB11 |
singularity | 0:6004a7230f87 | 11 | #define MOT_PERIOD 0.0001f |
singularity | 0:6004a7230f87 | 12 | #define MOTD_CAPTEUR1_PIN PTA2 |
singularity | 0:6004a7230f87 | 13 | #define MOTD_CAPTEUR2_PIN PTA2 |
singularity | 0:6004a7230f87 | 14 | #define MOTG_CAPTEUR1_PIN PTA2 |
singularity | 0:6004a7230f87 | 15 | #define MOTG_CAPTEUR2_PIN PTA2 |
singularity | 0:6004a7230f87 | 16 | |
singularity | 0:6004a7230f87 | 17 | //DIRECTION |
singularity | 0:6004a7230f87 | 18 | #define DIR_PIN PTA1 |
singularity | 0:6004a7230f87 | 19 | |
singularity | 0:6004a7230f87 | 20 | //XBEE |
singularity | 0:6004a7230f87 | 21 | #define XBEE_PIN_TX D1 |
singularity | 0:6004a7230f87 | 22 | #define XBEE_PIN_RX D0 |
singularity | 0:6004a7230f87 | 23 | #define XBEE_SPEED 9600 |
singularity | 0:6004a7230f87 | 24 | |
singularity | 0:6004a7230f87 | 25 | //CAMERA |
singularity | 0:6004a7230f87 | 26 | #define P_SI PTA2 |
singularity | 0:6004a7230f87 | 27 | #define P_AO PTB3 |
singularity | 0:6004a7230f87 | 28 | #define P_CLK PTC2 |
singularity | 0:6004a7230f87 | 29 | |
singularity | 0:6004a7230f87 | 30 | #endif |