These bits are not synchronized.
Value
Description
0
The output of MUXPOS connects to the positive input, and the output of MUXNEG connects
to the negative input.
1
The output of MUXNEG connects to the positive input, and the output of MUXPOS connects
to the negative input.
Bits 14:12 – MUXPOS[2:0]: Positive Input Mux Selection
These bits select which input will be connected to the positive input of comparator n.
COMPCTRLn.MUXPOS can be written only while COMPCTRLn.ENABLE is zero.
These bits are not synchronized.
Value
Name
Description
0x0
PIN0
I/O pin 0
0x1
PIN1
I/O pin 1
0x2
PIN2
I/O pin 2
0x3
PIN3
I/O pin 3
0x4
VSCALE
VDD scaler
0x5–0x7
-
Reserved
Bits 10:8 – MUXNEG[2:0]: Negative Input Mux Selection
These bits select which input will be connected to the negative input of comparator n.
COMPCTRLn.MUXNEG can only be written while COMPCTRLn.ENABLE is zero.
These bits are not synchronized.
Value
Name
Description
0x0
PIN0
I/O pin 0
0x1
PIN1
I/O pin 1
0x2
PIN2
I/O pin 2
0x3
PIN3
I/O pin 3
0x4
GND
Ground
0x5
VSCALE
VDD scaler
0x6
BANDGAP
Internal bandgap voltage
0x7
-
Reserved
Bit 6 – RUNSTDBY: Run in Standby
This bit controls the behavior of the comparator during standby sleep mode.
This bit is not synchronized
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
1057