mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/PeripheralNames.h
- Revision:
- 115:4f0cb9cdc478
- Parent:
- 87:085cde657901
- Child:
- 116:471443864d4b
diff -r 826c6eb78fdc -r 4f0cb9cdc478 targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/PeripheralNames.h --- a/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/PeripheralNames.h Mon Mar 10 13:45:07 2014 +0000 +++ b/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/PeripheralNames.h Tue Mar 11 12:00:07 2014 +0000 @@ -44,6 +44,7 @@ typedef enum { UART_1 = (int)USART1_BASE, UART_2 = (int)USART2_BASE + UART_3 = (int)USART6_BASE, } UARTName; #define STDIO_UART_TX PA_2 @@ -52,12 +53,14 @@ typedef enum { SPI_1 = (int)SPI1_BASE, - SPI_2 = (int)SPI2_BASE + SPI_2 = (int)SPI2_BASE, + SPI_3 = (int)SPI3_BASE } SPIName; typedef enum { I2C_1 = (int)I2C1_BASE, - I2C_2 = (int)I2C2_BASE + I2C_2 = (int)I2C2_BASE, + I2C_3 = (int)I2C3_BASE } I2CName; typedef enum {