27 #if (HAL_USE_ADC == TRUE) || defined(__DOXYGEN__) 40 #if (PLATFORM_ADC_USE_ADC1 == TRUE) || defined(__DOXYGEN__) 67 #if PLATFORM_ADC_USE_ADC1 == TRUE 84 #if PLATFORM_ADC_USE_ADC1 == TRUE 107 #if PLATFORM_ADC_USE_ADC1 == TRUE 108 if (&ADCD1 == adcp) {
void adcObjectInit(ADCDriver *adcp)
Initializes the standard part of a ADCDriver structure.
void adc_lld_start(ADCDriver *adcp)
Configures and activates the ADC peripheral.
void adc_lld_stop_conversion(ADCDriver *adcp)
Stops an ongoing conversion.
Structure representing an ADC driver.
adcstate_t state
Driver state.
void adc_lld_stop(ADCDriver *adcp)
Deactivates the ADC peripheral.
ADCDriver ADCD1
ADC1 driver identifier.
void adc_lld_init(void)
Low level ADC driver initialization.
void adc_lld_start_conversion(ADCDriver *adcp)
Starts an ADC conversion.