19#ifndef SBL_HAL_ADC_SCAN_HPP_
20#define SBL_HAL_ADC_SCAN_HPP_
46template<
typename Driver>
50 Driver::start_dma_scan(channels, num_channels, buffer, sample_time);
63template<
typename Driver>
65 Driver::stop_dma_scan();
void stop_scan()
Stop DMA scan mode.
void start_scan(const AdcHandle *channels, uint8_t num_channels, uint16_t *buffer, SampleTime sample_time=SampleTime::Slow)
Start continuous DMA scan of multiple ADC channels.
sbl::hal::adc::SampleTime SampleTime
SampleTime
ADC sample time configuration.
Root namespace for all Sound Byte Libs functionality.
Common types for SBL hardware abstraction.
UART handle type for hardware abstraction.