Datasheet

34.8.6 Interrupt Flag Status and Clear
Name:  INTFLAG
Offset:  0x06
Reset:  0x00
Property: 
Bit 7 6 5 4 3 2 1 0
WINx WINx COMPx COMPx COMPx COMPx
Access
R/W R/W R/W R/W R/W R/W
Reset 0 0 0 0 0 0
Bits 5,4 – WINx Window x
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 INTENCLR/SET.WINx is also one.
Writing a '0' to this bit has no effect.
Writing a '1' to this bit clears the Window x interrupt flag.
Bits 3,2,1,0 – COMPx Comparator x
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 x Control register
(COMPCTRLx.INTSEL) and will generate an interrupt if INTENCLR/SET.COMPx is also one.
Writing a '0' to this bit has no effect.
Writing a '1' to this bit clears the Comparator x interrupt flag.
SAM D21 Family
AC – Analog Comparators
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001882D-page 951