Microchip® Advanced Software Framework

adc_pin_scan_config Struct Reference

Pin scan configuration structure.

Pin scan configuration structure. Part of the adc_config struct and will be initialized by adc_get_config_defaults.

#include <adc_feature.h>

Data Fields

uint8_t inputs_to_scan
 Number of input pins to scan in pin scan mode. More...
 
uint8_t offset_start_scan
 Offset (relative to selected positive input) of the first input pin to be used in pin scan mode. More...
 

uint8_t adc_pin_scan_config::inputs_to_scan

Number of input pins to scan in pin scan mode.

A value below two will disable pin scan mode.

Referenced by _adc_set_config(), and adc_get_config_defaults().

uint8_t adc_pin_scan_config::offset_start_scan

Offset (relative to selected positive input) of the first input pin to be used in pin scan mode.

Referenced by _adc_set_config(), and adc_get_config_defaults().