
NUC126
Aug. 08, 2018
Page
258
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
Bits
Description
00 = Rising edge or falling edge.
01 = Rising edge.
10 = Falling edge.
11 = Reserved.
[7:6]
POSSEL
Comparator Positive Input Selection
00 = Input from ACMP1_P0.
01 = Input from ACMP1_P1.
10 = Input from ACMP1_P2.
11 = Input from ACMP1_P3.
[5:4]
NEGSEL
Comparator Negative Input Selection
00 = ACMP1_N pin.
01 = Internal comparator reference voltage (CRV).
10 = Band-gap voltage.
11 = Ground.
[3]
ACMPOINV
Comparator Output Inverse Control
0 = Comparator 1 output inverse Disabled.
1 = Comparator 1 output inverse Enabled.
[2]
HYSEN
Comparator Hysteresis Enable Bit
0 = Comparator 1 hysteresis Disabled.
1 = Comparator 1 hysteresis Enabled.
[1]
ACMPIE
Comparator Interrupt Enable Bit
0 = Comparator 1 interrupt Disabled.
1 = Comparator 1 interrupt Enabled. If WKEN (ACMP_CTL1[16]) is set to 1, the wake-up
interrupt function will be enabled as well.
[0]
ACMPEN
Comparator Enable Bit
0 = Comparator 1 Disabled.
1 = Comparator 1 Enabled.