Functions | |
__STATIC_INLINE cy_en_hppass_status_t | Cy_HPPASS_SAR_ChannelConfig (uint8_t chanIdx, const cy_stc_hppass_sar_chan_t *chanCfg) |
Initializes the ADC channel. More... | |
__STATIC_INLINE uint32_t | Cy_HPPASS_SAR_Result_GetStatus (void) |
Returns the combined status of all the ADC channels and FIRs results. More... | |
__STATIC_INLINE void | Cy_HPPASS_SAR_Result_ClearStatus (uint32_t mask) |
Clears all the ADC channels and FIRs results status. More... | |
__STATIC_INLINE int16_t | Cy_HPPASS_SAR_Result_ChannelRead (uint8_t chanIdx) |
Returns the ADC channel results. More... | |
__STATIC_INLINE uint32_t | Cy_HPPASS_SAR_Result_ChannelPackedRead (uint8_t pairIdx) |
Returns the specified adjacent even/odd channel results from the channel result packed register. More... | |
__STATIC_INLINE uint32_t | Cy_HPPASS_SAR_Result_GetOverflowStatus (void) |
Returns the ADC groups and FIRs result overflow status. More... | |
__STATIC_INLINE void | Cy_HPPASS_SAR_Result_ClearOverflowStatus (uint32_t mask) |
Clears the ADC groups and FIRs result overflow status. More... | |
__STATIC_INLINE uint32_t | Cy_HPPASS_SAR_Limit_GetStatus (void) |
Returns the combined limit crossing detection status of all the ADC and FIR channels. More... | |
__STATIC_INLINE void | Cy_HPPASS_SAR_Limit_ClearStatus (uint32_t mask) |
Clears the limit crossing detection status for all the ADC and FIR channels. More... | |
__STATIC_INLINE cy_en_hppass_status_t Cy_HPPASS_SAR_ChannelConfig | ( | uint8_t | chanIdx, |
const cy_stc_hppass_sar_chan_t * | chanCfg | ||
) |
Initializes the ADC channel.
chanIdx | The index of the channel. Valid range 0..27. |
chanCfg | Pointer to the channel configuration structure cy_stc_hppass_sar_chan_t. The pointer cannot be NULL. |
__STATIC_INLINE uint32_t Cy_HPPASS_SAR_Result_GetStatus | ( | void | ) |
Returns the combined status of all the ADC channels and FIRs results.
__STATIC_INLINE void Cy_HPPASS_SAR_Result_ClearStatus | ( | uint32_t | mask | ) |
Clears all the ADC channels and FIRs results status.
mask | The channels and FIRs status mask Result Status Masks. |
__STATIC_INLINE int16_t Cy_HPPASS_SAR_Result_ChannelRead | ( | uint8_t | chanIdx | ) |
Returns the ADC channel results.
chanIdx | The index of the channel instance. Valid range 0..27. Channel Indexes except FIR items. |
__STATIC_INLINE uint32_t Cy_HPPASS_SAR_Result_ChannelPackedRead | ( | uint8_t | pairIdx | ) |
Returns the specified adjacent even/odd channel results from the channel result packed register.
pairIdx | The index of the adjacent even/odd channels pair instance. Valid range 0..13. |
__STATIC_INLINE uint32_t Cy_HPPASS_SAR_Result_GetOverflowStatus | ( | void | ) |
Returns the ADC groups and FIRs result overflow status.
__STATIC_INLINE void Cy_HPPASS_SAR_Result_ClearOverflowStatus | ( | uint32_t | mask | ) |
Clears the ADC groups and FIRs result overflow status.
mask | The groups and FIRs result overflow status mask Result Interrupt Masks |
__STATIC_INLINE uint32_t Cy_HPPASS_SAR_Limit_GetStatus | ( | void | ) |
Returns the combined limit crossing detection status of all the ADC and FIR channels.
__STATIC_INLINE void Cy_HPPASS_SAR_Limit_ClearStatus | ( | uint32_t | mask | ) |
Clears the limit crossing detection status for all the ADC and FIR channels.
mask | The limit crossing detection status mask Result Status Masks |