38.7.6 Interrupt Flag Status and Clear
Name: | INTFLAG |
Offset: | 0x06 |
Reset: | 0x00 |
Property: | – |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
WIN1 | WIN0 | COMP3 | COMP2 | COMP1 | COMP0 | ||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | |||
Reset | 0 | 0 | 0 | 0 | 0 | 0 |
Bits 4, 5 – WINx Window x [x = 1..0]
This flag is set according to the Window x Interrupt Selection bit group in the WINCTRL register (WINCTRL.WINTSELx) and will generate an interrupt if INTENSET.WINx = 1.
Writing a '0' to this bit has no effect.
Writing a '1' to this bit clears the Window x interrupt flag.
Bits 0, 1, 2, 3 – COMPx Comparator x [x = 3..0]
Reading this bit returns the status of the Comparator x interrupt flag. If comparator x is not implemented, COMPx always reads as zero.
This flag is set according to the Interrupt Selection bit group in the Comparator n Control register (COMPCTRLn.INTSEL) and will generate an interrupt if INTENSET.COMPx = 1.
Writing a '0' to this bit has no effect.
Writing a '1' to this bit clears the Comparator x interrupt flag.