Data Sheet

903
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181G–SAM-D21_Datasheet–09/2015
33.9.6 Interrupt Flag Status and Clear
Name: INTFLAG
Offset: 0x06
Reset: 0x00
Property: -
z Bits 7:5 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always write these bits to
zero when this register is written. These bits will always return zero when read.
z Bit 4 – WIN: Window x
This flag is set according to the Window x Interrupt Selection bit group in the WINCTRL register (WINC-
TRL.WINTSELx) and will generate an interrupt if INTENCLR/SET.WINx is also one.
Writing a zero to this bit has no effect.
Writing a one to this bit clears the Window x interrupt flag.
z Bits 3:2 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always write these bits to
zero when this register is written. These bits will always return zero when read.
z Bits 1:0 – COMPx [x=1..0]: 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 (COMPC-
TRLx.INTSEL) and will generate an interrupt if INTENCLR/SET.COMPx is also one.
Writing a zero to this bit has no effect.
Writing a one to this bit clears the Comparator x interrupt flag.
Bit 76543210
WIN0 COMP1 COMP0
Access R R R R/W R R R/W R/W
Reset00000000