adc_digi_config_t struct
Explanation of the relationship between `conv_limit_num`, `dma_eof_num` and the number of DMA outputs: +---------------------+--------+--------+--------+ | conv_mode | single | both | alter | +---------------------+--------+--------+--------+ | trigger meas times | 1 | 1 | 1 | +---------------------+--------+--------+--------+ | conv_limit_num | +1 | +1 | +1 | | dma_eof_num | +1 | +2 | +1 | | dma output (byte) | +2 | +4 | +2 | +---------------------+--------+--------+--------+
Fields
Pattern table length for digital controller. Range: 0 ~ 16 (0: Don't change the pattern table setting). The pattern table that defines the conversion rules for each SAR ADC. Each table has 16 items, in which channel selection, resolution and attenuation are stored. When the conversion is started, the controller reads conversion rules from the pattern table one by one. For each controller the scan sequence has at most 16 different rules before repeating itself.
Refer to ``adc1_pattern_len``.
Pointer to pattern table for digital controller. The table size defined by `adc1_pattern_len`.
ADC conversion mode for digital controller. See ``adc_digi_convert_mode_t``.
ADC output data format for digital controller. See ``adc_digi_format_t``.
![]()
typedef struct {