Macros | |
#define | CY_SAR2_STATUS_ABOVE (PASS_SAR_CH_RESULT_ABOVE_HI_MIR_Msk) |
If this bit is true, "out of range" was detected and the value was above the High threshold. More... | |
#define | CY_SAR2_STATUS_RANGE (PASS_SAR_CH_RESULT_RANGE_INTR_MIR_Msk) |
If this bit is true, the range is detected. More... | |
#define | CY_SAR2_STATUS_PULSE (PASS_SAR_CH_RESULT_PULSE_INTR_MIR_Msk) |
If this bit is true, the pulse is detected. More... | |
#define | CY_SAR2_STATUS_VALID (PASS_SAR_CH_RESULT_VALID_MIR_Msk) |
If this bit is true, the result data is valid. More... | |
#define | CY_SAR2_GRP_COMPLETE (PASS_SAR_CH_GRP_STAT_GRP_COMPLETE_Msk) |
Group acquisition completed. More... | |
#define | CY_SAR2_GRP_CANCELLED (PASS_SAR_CH_GRP_STAT_GRP_CANCELLED_Msk) |
Group Cancelled. More... | |
#define | CY_SAR2_GRP_OVERFLOW (PASS_SAR_CH_GRP_STAT_GRP_OVERFLOW_Msk) |
Group Overflow. More... | |
#define | CY_SAR2_CH_RANGE_COMPLETE (PASS_SAR_CH_GRP_STAT_CH_RANGE_COMPLETE_Msk) |
Channel Range completed. More... | |
#define | CY_SAR2_CH_PULSE_COMPLETE (PASS_SAR_CH_GRP_STAT_CH_PULSE_COMPLETE_Msk) |
Channel Pulse completed. More... | |
#define | CY_SAR2_CH_OVERFLOW (PASS_SAR_CH_GRP_STAT_CH_OVERFLOW_Msk) |
Channel Overflow. More... | |
#define | CY_SAR2_GRP_BUSY (PASS_SAR_CH_GRP_STAT_GRP_BUSY_Msk) |
Group acquisition busy. More... | |
#define CY_SAR2_STATUS_ABOVE (PASS_SAR_CH_RESULT_ABOVE_HI_MIR_Msk) |
If this bit is true, "out of range" was detected and the value was above the High threshold.
#define CY_SAR2_STATUS_RANGE (PASS_SAR_CH_RESULT_RANGE_INTR_MIR_Msk) |
If this bit is true, the range is detected.
#define CY_SAR2_STATUS_PULSE (PASS_SAR_CH_RESULT_PULSE_INTR_MIR_Msk) |
If this bit is true, the pulse is detected.
#define CY_SAR2_STATUS_VALID (PASS_SAR_CH_RESULT_VALID_MIR_Msk) |
If this bit is true, the result data is valid.
#define CY_SAR2_GRP_COMPLETE (PASS_SAR_CH_GRP_STAT_GRP_COMPLETE_Msk) |
Group acquisition completed.
This bit can be set for the last channel of a group if the group scan is done.
#define CY_SAR2_GRP_CANCELLED (PASS_SAR_CH_GRP_STAT_GRP_CANCELLED_Msk) |
Group Cancelled.
This bit can be set for the last channel of a group if the group scan was preempted and cancelled.
#define CY_SAR2_GRP_OVERFLOW (PASS_SAR_CH_GRP_STAT_GRP_OVERFLOW_Msk) |
Group Overflow.
This bit can be set for the last channel of a group if the group scan is done and the Done interrupt is already (still) pending.
#define CY_SAR2_CH_RANGE_COMPLETE (PASS_SAR_CH_GRP_STAT_CH_RANGE_COMPLETE_Msk) |
Channel Range completed.
This bit can be set for each channel if the conversion result (after averaging) of that channel met the condition specified by the range detection mode settings of the channel.
#define CY_SAR2_CH_PULSE_COMPLETE (PASS_SAR_CH_GRP_STAT_CH_PULSE_COMPLETE_Msk) |
Channel Pulse completed.
This bit can be set for each channel if the positive pulse counter reaches zero.
#define CY_SAR2_CH_OVERFLOW (PASS_SAR_CH_GRP_STAT_CH_OVERFLOW_Msk) |
Channel Overflow.
This bit can be set for each channel if a new Pulse or Range interrupt is detected while the interrupt is still pending or when HW did not acknowledge data pickup.
#define CY_SAR2_GRP_BUSY (PASS_SAR_CH_GRP_STAT_GRP_BUSY_Msk) |
Group acquisition busy.