Skip to content

Struct SYN_ADC_Config

ClassList > SYN_ADC_Config

ADC driver configuration structure.

  • #include <syn_adc.h>

Public Attributes

Type Name
uint8_t adc_id
uint32_t channel_mask
bool use_dma
uint32_t vref_mv

Public Attributes Documentation

variable adc_id

uint8_t SYN_ADC_Config::adc_id;

Hardware ADC instance index (0 = ADC1)


variable channel_mask

uint32_t SYN_ADC_Config::channel_mask;

Active analog channels bitmask


variable use_dma

bool SYN_ADC_Config::use_dma;

Enable DMA background scan mode


variable vref_mv

uint32_t SYN_ADC_Config::vref_mv;

Reference voltage in millivolts (e.g. 3300)



The documentation for this class was generated from the following file src/syntropic/drivers/syn_adc.h