
NUC126
Aug. 08, 2018
Page
256
of 943
Rev 1.03
NUC12
6 S
E
RI
E
S
T
E
CH
NI
CA
L R
E
F
E
RE
NCE
MA
NUA
L
00 = Rising edge or falling edge.
01 = Rising edge.
10 = Falling edge.
11 = Reserved.
[7:6]
POSSEL
Comparator Positive Input Selection
00 = Input from ACMP0_P0.
01 = Input from ACMP0_P1.
10 = Input from ACMP0_P2.
11 = Input from ACMP0_P3.
[5:4]
NEGSEL
Comparator Negative Input Selection
00 = ACMP0_N pin.
01 = Internal comparator reference voltage (CRV).
10 = Band-gap voltage.
11 = Reserved.
[3]
ACMPOINV
Comparator Output Inverse
0 = Comparator 0 output inverse Disabled.
1 = Comparator 0 output inverse Enabled.
[2]
HYSEN
Comparator Hysteresis Enable Bit
0 = Comparator 0 hysteresis Disabled.
1 = Comparator 0 hysteresis Enabled.
[1]
ACMPIE
Comparator Interrupt Enable Bit
0 = Comparator 0 interrupt Disabled.
1 = Comparator 0 interrupt Enabled. If WKEN (ACMP_CTL0[16]) is set to 1, the wake-up
interrupt function will be enabled as well.
[0]
ACMPEN
Comparator Enable Bit
0 = Comparator 0 Disabled.
1 = Comparator 0 Enabled.