Atmel Xplained Pro Evaluation Kit ATSAMD20-XPRO ATSAMD20-XPRO Data Sheet

Product codes
ATSAMD20-XPRO
Page of 660
532
Atmel | SMART SAM D20 [DATASHEET]
Atmel-42129K–SAM-D20_datasheet–06/2014
29.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 – WIN0: Window 0
This flag is set according to the Window 0 Interrupt Selection bit group in the 
TRL.WINTSEL0) and will generate an interrupt if INTENCLR/SET.WIN0 is also one.
Writing a zero to this bit has no effect.
Writing a one to this bit clears the Window 0 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: 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
7
6
5
4
3
2
1
0
WIN0
COMP1
COMP0
Access
R
R
R
R/W
R
R
R/W
R/W
Reset
0
0
0
0
0
0
0
0