Interrupt Control

Name:
INTCTRL
Offset:
0x06
Reset:
0x00
Access:
-
Bit76543210
INTMODE[1:0]CMP
AccessR/WR/WR/W
Reset000

Bits 5:4 – INTMODE[1:0]: Interrupt Mode

Interrupt Mode

Writing to this bit field selects which edge(s) of the AC output triggers an interrupt request.

Table 1. Interrupt Generation with Single Comparator
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

Bit 0 – CMP: AC Interrupt Enable

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.