30.5.5 Interrupt Control

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

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

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

This bit field controls which edge(s) of the AC output triggers an interrupt request.

Interrupt Generation in Normal Mode

ValueNameDescription
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

This bit controls whether the AC interrupt is enabled.

When enabled, the interrupt will be triggered when the CMP bit in the ACn.INTFLAGS register is set.

ValueDescription
0 The AC interrupt is disabled
1 The AC interrupt is enabled