Functions | |
| __STATIC_INLINE uint8_t | Cy_AutAnalog_SAR_FIRgetLimitStatus (uint8_t sarIdx) |
| Provides the range detect status for the ADC FIR filter output. More... | |
| __STATIC_INLINE void | Cy_AutAnalog_SAR_FIRclearLimitStatus (uint8_t sarIdx, uint8_t firMask) |
| Clears the range detect status for the ADC FIR filters. More... | |
| __STATIC_INLINE uint8_t | Cy_AutAnalog_SAR_FIRgetResultStatus (uint8_t sarIdx) |
| Provides the result updated status for the FIR filter output. More... | |
| __STATIC_INLINE void | Cy_AutAnalog_SAR_FIRclearResultStatus (uint8_t sarIdx, uint8_t firMask) |
| Clears the result update status for the ADC FIR filter output. More... | |
| __STATIC_INLINE int32_t | Cy_AutAnalog_SAR_FIRreadResult (uint8_t sarIdx, uint8_t firIdx) |
| Provides an FIR filter result. More... | |
| cy_en_autanalog_status_t | Cy_AutAnalog_SAR_FIRloadCoeff (uint8_t sarIdx, uint8_t firIdx, uint8_t firCoeffNum, const int16_t *firCoeffArr) |
| Loads the ADC FIR filter coefficients. More... | |
| __STATIC_INLINE uint8_t Cy_AutAnalog_SAR_FIRgetLimitStatus | ( | uint8_t | sarIdx | ) |
Provides the range detect status for the ADC FIR filter output.
The ADC sets this bit for each FIR filter when the filtering result meets the condition specified by the cy_stc_autanalog_sar_fir_cfg_t::firLimit and configured in cy_stc_autanalog_sar_sta_t::limitCond.
| sarIdx | The index of the ADC subsystem within the Autonomous Analog, see cy_stc_autanalog_cfg_t::sar. |
| __STATIC_INLINE void Cy_AutAnalog_SAR_FIRclearLimitStatus | ( | uint8_t | sarIdx, |
| uint8_t | firMask | ||
| ) |
Clears the range detect status for the ADC FIR filters.
See Cy_AutAnalog_SAR_FIRgetLimitStatus
| sarIdx | The index of the ADC subsystem within the Autonomous Analog, see cy_stc_autanalog_cfg_t::sar. |
| firMask | The combined mask for the FIR filters that require a reset of their range detect status. |
| __STATIC_INLINE uint8_t Cy_AutAnalog_SAR_FIRgetResultStatus | ( | uint8_t | sarIdx | ) |
Provides the result updated status for the FIR filter output.
The ADC sets this bit for each FIR filter when the filter result is updated.
| sarIdx | The index of the ADC subsystem within the Autonomous Analog, see cy_stc_autanalog_cfg_t::sar. |
| __STATIC_INLINE void Cy_AutAnalog_SAR_FIRclearResultStatus | ( | uint8_t | sarIdx, |
| uint8_t | firMask | ||
| ) |
Clears the result update status for the ADC FIR filter output.
See Cy_AutAnalog_SAR_FIRgetResultStatus
| sarIdx | The index of the ADC subsystem within the Autonomous Analog, see cy_stc_autanalog_cfg_t::sar. |
| firMask | The combined mask for the FIR filters that require a reset of their result update status. |
| __STATIC_INLINE int32_t Cy_AutAnalog_SAR_FIRreadResult | ( | uint8_t | sarIdx, |
| uint8_t | firIdx | ||
| ) |
Provides an FIR filter result.
| sarIdx | The index of the ADC subsystem within the Autonomous Analog, see cy_stc_autanalog_cfg_t::sar. |
| firIdx | The index of the FIR filter within the ADC, see cy_stc_autanalog_sar_t::firNum. |
| cy_en_autanalog_status_t Cy_AutAnalog_SAR_FIRloadCoeff | ( | uint8_t | sarIdx, |
| uint8_t | firIdx, | ||
| uint8_t | firCoeffNum, | ||
| const int16_t * | firCoeffArr | ||
| ) |
Loads the ADC FIR filter coefficients.
| sarIdx | The index of the ADC subsystem within the Autonomous Analog, see cy_stc_autanalog_cfg_t::sar. |
| firIdx | The index of the FIR filter within the ADC, see cy_stc_autanalog_sar_t::firNum. |
| firCoeffNum | The number of the FIR filter coefficients in the array. |
| firCoeffArr | The pointer to the array of the FIR filter coefficients. |