Skip to content

Analog-to-Digital Converter (ADC)

lbuild module: modm:platform:adc

Driver for the ADC of the STM32C5, STM32G5 and STM32H7P (ST IP aditf6) with single software-triggered regular conversions. The ADC kernel clock must be selected and divided in the RCC before calling initialize(), the ADC sequencer, interrupts, DMA, oversampling and differential inputs are not supported yet.

This module is only available for stm32{c5,g5,h7}.

Dependencies

modm:platform:adc modm_platform_adc modm: platform: adc modm_architecture_adc modm: architecture: adc modm_platform_adc->modm_architecture_adc modm_architecture_delay modm: architecture: delay modm_platform_adc->modm_architecture_delay modm_cmsis_device modm: cmsis: device modm_platform_adc->modm_cmsis_device modm_platform_gpio modm: platform: gpio modm_platform_adc->modm_platform_gpio modm_platform_rcc modm: platform: rcc modm_platform_adc->modm_platform_rcc

Limited availability: Check with 'lbuild discover' if this module is available for your target!