The SAR configuration structure.
Data Fields | |
cy_en_hppass_sar_vref_t | vref |
SAR voltage reference source. | |
bool | lowSupply |
Low Supply mode: Should be set false if VDDA >= 2.7V and true if VDDA < 2.7V. | |
bool | offsetCal |
Enable the offset calibration during startup. | |
bool | linearCal |
Enable the linearity calibration during startup. | |
bool | gainCal |
Enable the gain calibration during startup. | |
bool | chanId |
FIFO Channel Number Identifier Enable. | |
bool | aroute |
Enable global AROUTE. | |
uint16_t | dirSampEnMsk |
Static Enables for Direct Samplers. More... | |
uint8_t | muxSampEnMsk |
Static Enables for Muxed Samplers. More... | |
uint16_t | holdCount |
This is the a global max HOLD count applied to all entries. More... | |
cy_en_hppass_sar_samp_gain_t | dirSampGain [CY_HPPASS_SAR_DIR_SAMP_NUM] |
The array of the direct sampler gain settings. More... | |
cy_en_hppass_sar_samp_gain_t | muxSampGain [CY_HPPASS_SAR_MUX_SAMP_NUM] |
The array of the muxed sampler gain settings. More... | |
uint16_t | sampTime [CY_HPPASS_SAR_SAMP_TIME_NUM] |
The array of the sampling timer apertures in clock cycles. More... | |
cy_stc_hppass_sar_chan_t const * | chan [CY_HPPASS_SAR_CHAN_NUM] |
Array of pointers to the channel configuration structures. More... | |
cy_stc_hppass_sar_grp_t const * | grp [CY_HPPASS_SAR_GRP_NUM] |
Array of pointers to the SAR Sequencer Group configuration structures. More... | |
cy_stc_hppass_sar_limit_t const * | limit [CY_HPPASS_SAR_LIMIT_NUM] |
Array of pointers to the limit crossing detection configuration structures. More... | |
cy_en_hppass_sar_mux_t | muxMode [CY_HPPASS_SAR_MUX_NUM] |
Analog routing MUX control mode. | |
cy_stc_hppass_fir_t const * | fir [CY_HPPASS_FIR_NUM] |
Array of pointers to the FIR configuration structures. More... | |
cy_stc_hppass_fifo_t const * | fifo |
Pointer to the FIFO configuration structure. More... | |
uint16_t cy_stc_hppass_sar_t::dirSampEnMsk |
Static Enables for Direct Samplers.
Must be set if in use by application, otherwise it is OFF and must not be selected in any Sequencer Group. A given Sequencer Group is considered invalid if
uint8_t cy_stc_hppass_sar_t::muxSampEnMsk |
Static Enables for Muxed Samplers.
Must be set if in use by application, otherwise it is OFF and must not be selected in any Sequencer Group. Refer to cy_stc_hppass_sar_t::dirSampEnMsk for details.
uint16_t cy_stc_hppass_sar_t::holdCount |
This is the a global max HOLD count applied to all entries.
The resolution of each count is 16 HPPASS high frequency clock counts. For example, if the HPPASS high frequency clock is 160MHz, each count will be 16/160MHz = 100ns. The default value for this field is 30 counts (3us at 160MHz).
cy_en_hppass_sar_samp_gain_t cy_stc_hppass_sar_t::dirSampGain[CY_HPPASS_SAR_DIR_SAMP_NUM] |
The array of the direct sampler gain settings.
For the odd samplers which are used as a pseudo-differential negative the gain must be the same as in the correspondent even positive sampler.
cy_en_hppass_sar_samp_gain_t cy_stc_hppass_sar_t::muxSampGain[CY_HPPASS_SAR_MUX_SAMP_NUM] |
The array of the muxed sampler gain settings.
For the odd samplers which are used as a pseudo-differential negative the gain must be the same as in the correspondent even positive sampler.
uint16_t cy_stc_hppass_sar_t::sampTime[CY_HPPASS_SAR_SAMP_TIME_NUM] |
The array of the sampling timer apertures in clock cycles.
Valid range is 1..1024
cy_stc_hppass_sar_chan_t const* cy_stc_hppass_sar_t::chan[CY_HPPASS_SAR_CHAN_NUM] |
Array of pointers to the channel configuration structures.
May contain NULL pointers for unused channels.
cy_stc_hppass_sar_grp_t const* cy_stc_hppass_sar_t::grp[CY_HPPASS_SAR_GRP_NUM] |
Array of pointers to the SAR Sequencer Group configuration structures.
May contain NULL pointers for unused groups.
cy_stc_hppass_sar_limit_t const* cy_stc_hppass_sar_t::limit[CY_HPPASS_SAR_LIMIT_NUM] |
Array of pointers to the limit crossing detection configuration structures.
May contain NULL pointers for unused ranges.
cy_stc_hppass_fir_t const* cy_stc_hppass_sar_t::fir[CY_HPPASS_FIR_NUM] |
Array of pointers to the FIR configuration structures.
May contain NULL pointers for unused filters.
cy_stc_hppass_fifo_t const* cy_stc_hppass_sar_t::fifo |
Pointer to the FIFO configuration structure.
Can be NULL if FIFO is not used.