Forked.
Fork of mbed-dev by
Diff: targets/TARGET_STM/TARGET_STM32L0/analogin_api.c
- Revision:
- 168:9672193075cf
- Parent:
- 160:d5399cc887bb
- Child:
- 169:e3b6fe271b81
--- a/targets/TARGET_STM/TARGET_STM32L0/analogin_api.c Wed Jun 21 17:46:44 2017 +0100 +++ b/targets/TARGET_STM/TARGET_STM32L0/analogin_api.c Thu Jul 06 15:42:05 2017 +0100 @@ -73,7 +73,7 @@ AdcHandle.Init.OversamplingMode = DISABLE; AdcHandle.Init.ClockPrescaler = ADC_CLOCKPRESCALER_PCLK_DIV1; AdcHandle.Init.Resolution = ADC_RESOLUTION12b; - AdcHandle.Init.SamplingTime = ADC_SAMPLETIME_41CYCLES_5; + AdcHandle.Init.SamplingTime = ADC_SAMPLETIME_239CYCLES_5; AdcHandle.Init.ScanConvMode = ADC_SCAN_DIRECTION_FORWARD; AdcHandle.Init.DataAlign = ADC_DATAALIGN_RIGHT; AdcHandle.Init.ContinuousConvMode = DISABLE;