High threshold comparator can be used to detect over-value condition.
When comparator data > = higher threshold register, a high threshold event is generated.
Higher threshold comparator events except for COMPHZx can be configured to trigger following events: CPU interrupt, CLA task, PWM trip.
This device has three high threshold comparators:
Higher Threshold 1
(HLT1) Comparator:
When
comparator data > = (SDFLTxCMPH1.HLT), HLT1 comparator
generates COMPH1 event.
The COMPH1
event is connected to both CEVT1 and CEVT2.
Higher Threshold 2
(HLT2) Comparator:
When
comparator data > = (SDFLTxCMPH2.HLT), HLT2 comparator
generates COMPH2 event.
The COMPH2
event is connected to both CEVT1 and CEVT2.
Higher Threshold
(HTLZ) Comparator:
When
comparator data > = (SDFLT1CMPHZ.CMPHZ), it can generate
a Higher Threshold (B) event (COMPHZx) and sets the
corresponding SDSTATUS.HZx flag. But, this event cannot be
configured to generate SDFM interrupt (SDx_ERR). The COMPHZ signals
from HTLZ comparator are connected to CLB
XBAR.