Automatic Gain Control [AGC] configuration structure, which can be used to quickly configure the AGC.
Data Fields | |
const cy_stc_dsadc_gain_level_config_t * | gainLevels |
Gain Level configuration options. More... | |
uint16_t | lowerFilterCount |
Number of low threshold filter counter. More... | |
uint16_t | upperFilterCount |
Number of high threshold filter counter. More... | |
cy_en_dsadc_agc_fast_decimator_scaler_t | decimationScaler |
Select fast decimator scaler. More... | |
cy_en_dsadc_agc_threshold_filter_mode_t | lowerFilterMode |
Set low threshold filter mode. More... | |
cy_en_dsadc_agc_threshold_filter_mode_t | upperFilterMode |
Set high threshold filter mode. More... | |
cy_en_dsadc_agc_aaf_blank_mode_t | aafBlankMode |
Set the Anti-Alias Filter (AAF) blanking mode when the AGC changes gain level settings in the ACHAN. | |
uint8_t | minGainLevel |
Set the minimum gain level that will be used by the AGC. More... | |
uint8_t | initialGainLevel |
Set the initial gain level that will be used by the AGC. More... | |
uint8_t | maxGainLevel |
Set the maximum gain level that will be used by the AGC. More... | |
uint8_t | decimationRatio |
Set the Decimation Ratio for the AGC fast decimator. More... | |
uint8_t | decimatorBlankCount |
Set the number of modulator clocks to blank the decimator when the gain level is changed by the AGC. | |
uint8_t | lowerThreshold |
Set the lower threshold for the AGC, which determines when the AGC gain level is changed downward. | |
uint8_t | upperThreshold |
Set the upper threshold for the AGC, which determines when the AGC gain level is changed upward. | |
uint8_t | aafBlankCount |
Set the Anti-Alias Filter (AAF) blanking clock count when the AGC changes gain level settings in the ACHAN. | |
uint8_t | gainScalerBlankCount |
Set the number of modulator clock to delay the gain scaler change when the gain level is changed by the AGC. | |
uint8_t | numGainLevels |
Number of gain levels to configure from 'gainLevelsPtr'. More... | |
const cy_stc_dsadc_gain_level_config_t* cy_stc_dsadc_agc_config_t::gainLevels |
Gain Level configuration options.
The AGC can have up to 10 different gain levels, which override settings in the DCHAN which uses the AGC.
uint16_t cy_stc_dsadc_agc_config_t::lowerFilterCount |
Number of low threshold filter counter.
uint16_t cy_stc_dsadc_agc_config_t::upperFilterCount |
Number of high threshold filter counter.
cy_en_dsadc_agc_fast_decimator_scaler_t cy_stc_dsadc_agc_config_t::decimationScaler |
Select fast decimator scaler.
cy_en_dsadc_agc_threshold_filter_mode_t cy_stc_dsadc_agc_config_t::lowerFilterMode |
Set low threshold filter mode.
cy_en_dsadc_agc_threshold_filter_mode_t cy_stc_dsadc_agc_config_t::upperFilterMode |
Set high threshold filter mode.
uint8_t cy_stc_dsadc_agc_config_t::minGainLevel |
Set the minimum gain level that will be used by the AGC.
uint8_t cy_stc_dsadc_agc_config_t::initialGainLevel |
Set the initial gain level that will be used by the AGC.
uint8_t cy_stc_dsadc_agc_config_t::maxGainLevel |
Set the maximum gain level that will be used by the AGC.
uint8_t cy_stc_dsadc_agc_config_t::decimationRatio |
Set the Decimation Ratio for the AGC fast decimator.
uint8_t cy_stc_dsadc_agc_config_t::numGainLevels |
Number of gain levels to configure from 'gainLevelsPtr'.
The first gain level configured will be PACSS AGC Gain Level 0 up to 'numGainLevels'. This must be between 1 and 10. Set this to '0' to disable configuring the gain levels.