Microchip® Advanced Software Framework

adc_seq_config Struct Reference

Parameters for the configuration of the Sequencer.

#include <adcife.h>

Data Fields

uint32_t bipolar:1
 conversion mode More...
 
uint32_t gain:3
 gain value More...
 
uint32_t gcomp:1
 Gain Compensation. More...
 
uint32_t hwla:1
 Half Word Left Adjust. More...
 
uint32_t internal:2
 Internal Voltage Sources Selection. More...
 
uint32_t muxneg:3
 MUX selection on Negative ADC input channel. More...
 
uint32_t muxpos:4
 MUX selection on Positive ADC input channel. More...
 
uint32_t res:1
 Sequencer resolution. More...
 
uint32_t reserved:1
 
uint32_t reserved2:1
 
uint32_t reserved3:1
 
uint32_t reserved4:1
 
uint32_t reserved5:5
 
uint32_t reserved6:1
 
uint32_t trgsel:3
 Trigger selection. More...
 
uint32_t zoomrange:3
 Zoom shift/unipolar reference source selection. More...
 

uint32_t adc_seq_config::bipolar

conversion mode

Referenced by adc_ch_get_config_defaults().

uint32_t adc_seq_config::gain

gain value

Referenced by adc_ch_get_config_defaults().

uint32_t adc_seq_config::gcomp

Gain Compensation.

Referenced by adc_ch_get_config_defaults().

uint32_t adc_seq_config::hwla

Half Word Left Adjust.

Referenced by adc_ch_get_config_defaults().

uint32_t adc_seq_config::internal

Internal Voltage Sources Selection.

Referenced by adc_ch_get_config_defaults().

uint32_t adc_seq_config::muxneg

MUX selection on Negative ADC input channel.

Referenced by adc_ch_get_config_defaults().

uint32_t adc_seq_config::muxpos

MUX selection on Positive ADC input channel.

Referenced by adc_ch_get_config_defaults().

uint32_t adc_seq_config::res

Sequencer resolution.

Referenced by adc_ch_get_config_defaults().

uint32_t adc_seq_config::reserved
uint32_t adc_seq_config::reserved2
uint32_t adc_seq_config::reserved3
uint32_t adc_seq_config::reserved4
uint32_t adc_seq_config::reserved5
uint32_t adc_seq_config::reserved6
uint32_t adc_seq_config::trgsel

Trigger selection.

Referenced by adc_ch_get_config_defaults().

uint32_t adc_seq_config::zoomrange

Zoom shift/unipolar reference source selection.

Referenced by adc_ch_get_config_defaults(), and start_adc().