Struct 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¶
Hardware ADC instance index (0 = ADC1)
variable channel_mask¶
Active analog channels bitmask
variable use_dma¶
Enable DMA background scan mode
variable 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