Add USER_BUTTON and SPI in file PinNames.h

pull/9224/head
panyz0725@thundersoft.com 2019-02-19 10:15:06 +08:00
parent 1dadab7e5a
commit 12e4adab99
1 changed files with 8 additions and 0 deletions

View File

@ -101,6 +101,7 @@ typedef enum {
MBED_CONF_APP_UART0_RX = PE2,
// Switches
USER_BUTTON = PL4,
SW1 = PL4,
SW2 = PL5,
SW3 = PV0,
@ -112,6 +113,13 @@ typedef enum {
I2C_SDA = SDA,
I2C_SCL = SCL,
// SPI pins
SPI_MOSI = D11,
SPI_MISO = D12,
SPI_SCK = D13,
SPI_CS = D10,
// Not connected
NC = (int)0xFFFFFFFF,
} PinName;