31.5.5 Status

Name: STATUS
Offset: 0x07
Reset: 0x00
Property: -

Bit 76543210 
    CMPSTATE   CMPIF 
Access RR/W 
Reset 00 

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.

ValueNameDescription
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.