12#ifndef ADC_MAX_CHANNELS_COUNT
13#define ADC_MAX_CHANNELS_COUNT 16
16#ifndef SLOW_ADC_CHANNEL_COUNT
18#define SLOW_ADC_CHANNEL_COUNT 32
20#define SLOW_ADC_CHANNEL_COUNT 16
26 explicit AdcDevice(ADCDriver *p_adcp, ADCConversionGroup* p_hwConfig,
volatile adcsample_t *p_buf,
size_t p_depth);
void startConversionI(void)
uint8_t internalAdcIndexByHardwareIndex[EFI_ADC_TOTAL_CHANNELS]
adc_channel_e getAdcChannelByInternalIndex(int index) const
AdcToken getAdcChannelToken(adc_channel_e hwChannel)
int enableChannel(adc_channel_e hwChannel)
ADCConversionGroup * hwConfig
adcsample_t getAvgAdcValue(adc_channel_e hwChannel)
adcsample_t getAdcValueByToken(AdcToken token)
volatile adcsample_t * samples
uint16_t adcsample_t
ADC sample data type.