Data Sheet

906
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181G–SAM-D21_Datasheet–09/2015
33.9.9 Status C
STATUSC is a copy of STATUSA (see STATUSA register), with the additional feature of automatically starting single-
shot comparisons. A read of STATUSC will start a comparison on all comparators currently configured for single-shot
operation. The read will stall the bus until all enabled comparators are ready. If a comparator is already busy with a
comparison, the read will stall until the current comparison is compete, and a new comparison will not be started.
Name: STATUSC
Offset: 0x0A
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. If the window 0 function is not
implemented, WSTATE0 always reads as zero.
Table 33-4. 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. If comparator x is not implemented, STATEx
always reads as zero. STATEx is only valid 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