34.5.2 Interrupt Control
Name: | INTCTRL |
Offset: | 0x02 |
Reset: | 0x00 |
Property: | - |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
INTMODE[1:0] | |||||||||
Access | R/W | R/W | |||||||
Reset | 0 | 0 |
Bits 1:0 – INTMODE[1:0] Interrupt Mode
Writing to these bits selects which edge(s) of the ZCD OUT signal will trigger the ZCD interrupt request.
Value | Name | Description |
---|---|---|
0x0 | NONE | No interrupt |
0x1 | RISING | Interrupt on rising OUT signal |
0x2 | FALLING | Interrupt on falling OUT signal |
0x3 | BOTH | Interrupt on both rising and falling OUT signal |