Atmel Xplained Pro Evaluation Kit for the ATSAMD21J18A Microcontroller ATSAMD21-XPRO ATSAMD21-XPRO Fiche De Données

Codes de produits
ATSAMD21-XPRO
Page de 1018
891
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181C–SAM-D21_Datasheet–07/2014
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 
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
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