[mbed][MTS_DRAGONFLY_F411RE] clean up PinNames.h

pull/787/head
Mike Fiore 2014-11-20 07:52:48 -06:00
parent 6d9d5961c5
commit f41a29e14c
1 changed files with 30 additions and 38 deletions

View File

@ -71,14 +71,14 @@ typedef enum {
PA_2 = 0x02,
PA_3 = 0x03,
PA_4 = 0x04,
PA_5 = 0x05, //0x2001,//vince orig 0x05,
PA_5 = 0x05,
PA_6 = 0x06,
PA_7 = 0x07,
PA_8 = 0x08,
PA_9 = 0x09,
PA_10 = 0x0A,
PA_11 = 0x0B,
PA_12 = 0x0C,//ORIG vince 0x0C,
PA_12 = 0x0C,
PA_13 = 0x0D,
PA_14 = 0x0E,
PA_15 = 0x0F,
@ -93,7 +93,7 @@ typedef enum {
PB_7 = 0x17,
PB_8 = 0x18,
PB_9 = 0x19,
PB_10 = 0x1A, //vince orig PB_10
PB_10 = 0x1A,
PB_12 = 0x1C,
PB_13 = 0x1D,
PB_14 = 0x1E,
@ -106,17 +106,17 @@ typedef enum {
PC_4 = 0x24,
PC_5 = 0x25,
PC_6 = 0x26,
PC_7 = 0x27, // 0x2003, //vince orig 0x27,
PC_7 = 0x27,
PC_8 = 0x28,
PC_9 = 0x29, //0x2004, //vince orig 0x29,
PC_9 = 0x29,
PC_10 = 0x2A,
PC_11 = 0x2B, //0x2005, //vince orig 0x2B,
PC_11 = 0x2B,
PC_12 = 0x2C,
PC_13 = 0x2D,
PC_14 = 0x2E,
PC_15 = 0x2F,
PD_2 = 0x32, //0x2007,//vince orig 0x32,
PD_2 = 0x32,
PH_0 = 0x70,
PH_1 = 0x71,
@ -124,29 +124,21 @@ typedef enum {
// Arduino connector namings
A0 = PA_0,
A1 = PA_1,
A2 = PC_4, //vince orig PA_4,
A2 = PC_4,
A3 = PB_0,
A4 = PC_1,
A5 = PC_0,
D0 = PA_3,//vince orig PA_3,
D1 = PA_2,//vince orig PA_2,
//vince orig D2 = PA_10,
D2 = PB_12, //vince add
//vince orig D3 = PB_3,
D3 = PB_15, //vince a dd
D4 = PA_8, //vince add
D5 = PA_7, //vince add
//vince orig D4 = PB_5,
//vince orig D5 = PB_4,
D6 = PB_13, //vince orig PB_10
// vince orig D7 = PA_8,
D7 = PC_2, //vince add
D0 = PA_3,
D1 = PA_2,
D2 = PB_12,
D3 = PB_15,
D4 = PA_8,
D5 = PA_7,
D6 = PB_13,
D7 = PC_2,
D8 = PA_9,
//vince orig D9 = PC_7,
D9 = PB_1, //vince add
//vince orig D10 = PB_6,
D10 = PC_8, //vince add
//vince orig D11 = PA_7,
D9 = PB_1,
D10 = PC_8,
D11 = PB_5,
D12 = PA_6,
D13 = PA_5,
@ -154,22 +146,22 @@ typedef enum {
D15 = PB_8,
// Generic signals namings
LED1 = D3, /* vince was PA_5 , next 3 lines below */
LED1 = D3,
LED2 = D3,
LED3 = D3,
LED4 = D3,
USER_BUTTON = PC_13,
SERIAL_TX = PB_6, //vince orig PA_2
SERIAL_RX = PB_7, //vince orig PA_3
USBTX = PB_6,//PA_11, //vince orig PA_2,
USBRX = PB_7,//PA_12, //vince orig PA_3,
I2C_SCL = PB_8,
I2C_SDA = PB_9,
SPI_MOSI = PB_5,//vince orig PA_7,
SPI_MISO = PA_6,
SPI_SCK = PA_5,
SPI_CS = PA_4,//vince orig PB_6,
PWM_OUT = PB_3, //vince TODO check on this
SERIAL_TX = PB_6,
SERIAL_RX = PB_7,
USBTX = SERIAL_TX,
USBRX = SERIAL_RX,
I2C_SCL = D15,
I2C_SDA = D14,
SPI_MOSI = D11,
SPI_MISO = D12,
SPI_SCK = D13,
SPI_CS = PA_4,
PWM_OUT = PB_3,
// Not connected
NC = (int)0xFFFFFFFF