31.5.5 Status
| Name: | STATUS |
| Offset: | 0x07 |
| Reset: | 0x00 |
| Property: | - |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| CMPSTATE | CMPIF | ||||||||
| Access | R | R/W | |||||||
| Reset | 0 | 0 |
Bit 4 – CMPSTATE AC State
This bit shows the current status of the OUT signal from the Comparator. The status bit is delayed by 2–3 CLK_Per cycles compared to the output value.
| Value | Name | Description |
|---|---|---|
| 0x0 | LOW | Comparator output is low |
| 0x1 | HIGH | Comparator output is high |
Bit 0 – CMPIF AC Interrupt Flag
This flag is cleared by writing a ‘1’ to it.
This flag is set when the OUT signal matches the Interrupt Mode (INTMODE) bit field as defined in the Interrupt Control (ACn.INTCTRL) register.
Writing a ‘0’ to this bit has no effect.
Writing a ‘1’ to this bit will clear the AC Interrupt Flag.
