drivers: adc: Add STM32L1X ADC support

Add ADC driver support for STM32L1X SoC series.

Signed-off-by: Takumi Ando <takumi@t15.red>
This commit is contained in:
Takumi Ando 2020-03-18 08:52:28 +09:00 committed by Kumar Gala
commit 8d106d198e
5 changed files with 95 additions and 2 deletions

View file

@ -51,6 +51,10 @@
#include <stm32l1xx_ll_i2c.h>
#endif
#ifdef CONFIG_ADC_STM32
#include <stm32l1xx_ll_adc.h>
#endif
#if defined(CONFIG_COUNTER_RTC_STM32)
#include <stm32l1xx_ll_rtc.h>
#include <stm32l1xx_ll_exti.h>