11#ifndef PHAL_G4_ADC_PRIV_H
12#define PHAL_G4_ADC_PRIV_H
25 ADC_TypeDef *instance,
bool ADC_PRIV_stop_conversion(ADC_TypeDef *instance)
Stop an active regular conversion sequence.
Definition adc_priv.c:223
bool ADC_PRIV_instance_is_supported(const ADC_TypeDef *instance)
Return whether an ADC instance is supported by this driver.
Definition adc_priv.c:158
bool ADC_PRIV_configure(ADC_TypeDef *instance, const PHAL_ADC_ChannelConfig_t *channels, size_t channel_count)
Configure and calibrate a disabled ADC instance.
Definition adc_priv.c:162
bool ADC_PRIV_enable(ADC_TypeDef *instance)
Enable an ADC instance and wait for it to become ready.
Definition adc_priv.c:186
bool ADC_PRIV_is_ready(const ADC_TypeDef *instance)
Return whether an ADC instance is enabled and ready.
Definition adc_priv.c:205
bool ADC_PRIV_disable(ADC_TypeDef *instance)
Stop and disable an ADC instance.
Definition adc_priv.c:193
void ADC_PRIV_start_conversion(ADC_TypeDef *instance)
Start the configured regular conversion sequence.
Definition adc_priv.c:219
void ADC_PRIV_prepare_transfer(ADC_TypeDef *instance, bool continuous)
Clear transfer flags and select single or continuous DMA requests.
Definition adc_priv.c:210
G4 ADC public API. DMA-only, DMA-first conversions.
One entry in the conversion sequence.
Definition adc.h:30