Microchip® Advanced Software Framework

sdadc_correction_config Struct Reference

SDADC correction configuration structure.

Offset, gain, and shift correction configuration structure. Part of the sdadc_config struct will be initialized by sdadc_get_config_defaults.

#include <sdadc.h>

Data Fields

uint16_t gain_correction
 Gain correction. More...
 
int32_t offset_correction
 Offset correction. More...
 
uint8_t shift_correction
 Shift correction. More...
 

uint16_t sdadc_correction_config::gain_correction

Gain correction.

Referenced by _sdadc_set_config(), and sdadc_get_config_defaults().

int32_t sdadc_correction_config::offset_correction

Offset correction.

Referenced by _sdadc_set_config(), and sdadc_get_config_defaults().

uint8_t sdadc_correction_config::shift_correction

Shift correction.

Referenced by _sdadc_set_config(), and sdadc_get_config_defaults().