Interrupt Control
Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
INTMODE[1:0] | CMP | ||||||
Access | R/W | R/W | R/W | ||||
Reset | 0 | 0 | 0 |
Interrupt Mode
Writing to this bit field selects which edge(s) of the AC output or when entering a window state triggers an interrupt request.
Value | Name | Description |
---|---|---|
0x0 |
ABOVE | Enables Window mode above interrupt |
0x1 |
INSIDE | Enables Window mode inside interrupt |
0x2 |
BELOW | Enables Window mode below interrupt |
0x3 |
OUTSIDE | Enables Window mode outside interrupt |
Value | Name | Description |
---|---|---|
0x0 |
BOTHEDGE | Positive and negative inputs crosses |
0x1 |
- | Reserved |
0x2 |
NEGEDGE | Positive input goes below negative input |
0x3 |
POSEDGE | Positive input goes above negative input |
AC Interrupt Enable
This bit enables the AC interrupt. The enabled interrupt will be triggered when the CMPIF bit in the ACn.STATUS register is set.