30.5.5 Interrupt Control

Name: INTCTRL
Offset: 0x06
Reset: 0x00
Property: -

Bit 76543210 
   INTMODE[1:0]   CMP 
Access R/WR/WR/W 
Reset 000 

Bits 5:4 – INTMODE[1: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.

Table 30-3. Interrupt Generation in Window Mode
ValueNameDescription
0x0ABOVEEnables Window mode above interrupt
0x1INSIDEEnables Window mode inside interrupt
0x2BELOWEnables Window mode below interrupt
0x3OUTSIDEEnables Window mode outside interrupt
Table 30-4. Interrupt Generation with Single Comparator
ValueNameDescription
0x0BOTHEDGEPositive and negative inputs crosses
0x1-Reserved
0x2NEGEDGEPositive input goes below negative input
0x3POSEDGEPositive input goes above negative input

Bit 0 – CMP 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.