Data Sheet
904
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181G–SAM-D21_Datasheet–09/2015
33.9.7 Status A
Name: STATUSA
Offset: 0x08
Reset: 0x00
Property: -
z Bits 7:6 – 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 5:4 – WSTATE0[1:0]: Window 0 Current State
These bits show the current state of the signal if the window 0 mode is enabled, according to Table 33-3. If the win-
dow 0 function is not implemented, WSTATE0 always reads as zero.
Table 33-3. Window 0 Current State
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 – STATEx [x=1..0]: Comparator x Current State
This bit shows the current state of the output signal from COMPx. STATEx is valid only when STATUSB.READYx
is one.
Bit 76543210
WSTATE0[1:0] STATE1 STATE0
AccessRRRRRRRR
Reset00000000
WSTATE0[1:0] Name Description
0x0 ABOVE Signal is above window
0x1 INSIDE Signal is inside window
0x2 BELOW Signal is below window
0x3 Reserved