mbed library with additional peripherals for ST F401 board
Fork of mbed-src by
This mbed LIB has additional peripherals for ST F401 board
- UART2 : PA_3 rx, PA_2 tx
- UART3 : PC_7 rx, PC_6 tx
- I2C2 : PB_3 SDA, PB_10 SCL
- I2C3 : PB_4 SDA, PA_8 SCL
Diff: targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/analogin_api.c
- Revision:
- 77:b5886236e6f0
- Parent:
- 76:aeb1df146756
--- a/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/analogin_api.c Mon Jan 27 14:30:07 2014 +0000 +++ b/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/analogin_api.c Mon Jan 27 15:30:04 2014 +0000 @@ -122,7 +122,7 @@ } while(!ADC_GetFlagStatus(adc, ADC_FLAG_ADRDY)); // Wait ADC ready - + ADC_StartOfConversion(adc); // Start conversion while(ADC_GetFlagStatus(adc, ADC_FLAG_EOC) == RESET); // Wait end of conversion