drivers: adc: add ADC driver for EFM32

This adds a driver for ADCs available on EFM32

Signed-off-by: Wojciech Sipak <wsipak@antmicro.com>
This commit is contained in:
Wojciech Sipak 2023-06-23 17:28:38 +02:00 committed by Fabio Baltieri
commit c811a4f430
6 changed files with 356 additions and 0 deletions

View file

@ -39,6 +39,11 @@ config SOC_GECKO_CORE
help
Set if the Core interrupt handling (CORE) HAL module is used.
config SOC_GECKO_ADC
bool
help
Set if the Analog to Digital Converter (ADC) HAL module is used.
config SOC_GECKO_IADC
bool
help

View file

@ -19,5 +19,6 @@ config SOC_SERIES_EFM32PG12B
select SOC_GECKO_EMU
select SOC_GECKO_GPIO
select SOC_GECKO_TRNG
select SOC_GECKO_ADC
help
Enable support for EFM32 PearlGecko MCU series