mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/PeripheralNames.h
- Revision:
- 125:23cc3068a9e4
- Parent:
- 116:471443864d4b
- Child:
- 172:2f4f8c56b261
diff -r 73383cc04afd -r 23cc3068a9e4 targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/PeripheralNames.h --- a/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/PeripheralNames.h Tue Mar 18 13:30:07 2014 +0000 +++ b/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/PeripheralNames.h Wed Mar 19 10:15:22 2014 +0000 @@ -37,14 +37,13 @@ #endif typedef enum { - ADC_1 = (int)ADC1_BASE, - ADC_2 = (int)ADC_BASE + ADC_1 = (int)ADC1_BASE } ADCName; typedef enum { UART_1 = (int)USART1_BASE, UART_2 = (int)USART2_BASE, - UART_3 = (int)USART6_BASE + UART_6 = (int)USART6_BASE } UARTName; #define STDIO_UART_TX PA_2 @@ -64,9 +63,14 @@ } I2CName; typedef enum { - PWM_2 = (int)TIM2_BASE, - PWM_3 = (int)TIM3_BASE, - PWM_4 = (int)TIM4_BASE + PWM_1 = (int)TIM1_BASE, + PWM_2 = (int)TIM2_BASE, + PWM_3 = (int)TIM3_BASE, + PWM_4 = (int)TIM4_BASE, + PWM_5 = (int)TIM5_BASE, + PWM_9 = (int)TIM9_BASE, + PWM_10 = (int)TIM10_BASE, + PWM_11 = (int)TIM11_BASE } PWMName; #ifdef __cplusplus