drivers: adc: adc_stm32: enable internal voltage reference source
Like other STM32 series the STM32L4x SoCs have an internal voltage reference source that need to be enabled. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
c07ab7b5d2
commit
7e7e79481f
1 changed files with 1 additions and 0 deletions
|
@ -568,6 +568,7 @@ static int adc_stm32_init(struct device *dev)
|
|||
|
||||
#if defined(CONFIG_SOC_SERIES_STM32F0X) || \
|
||||
defined(CONFIG_SOC_SERIES_STM32L0X) || \
|
||||
defined(CONFIG_SOC_SERIES_STM32L4X) || \
|
||||
defined(CONFIG_SOC_SERIES_STM32WBX) || \
|
||||
defined(CONFIG_SOC_SERIES_STM32G4X)
|
||||
if (LL_ADC_IsActiveFlag_ADRDY(adc)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue