
NUC126
Aug. 08, 2018
Page
101
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
[18]
VDETIEN
Voltage Detector Interrupt Enable Bit
0 = VDET interrupt Disabled.
1 = VDET interrupt Enabled.
[17]
VDETPINSEL
Voltage Detector External Input Voltage Pin Selection
0 = The input voltage is from VDET_P0 (PB.0).
1 = The input voltage is from VDET_P1 (PB.1).
Note1:
If VDET_P0 is selected, multi-function pin must be selected correctly in PB0MFP
(SYS_GPB_MFPL[3:0]).
Note2:
If VDET_P1 is selected, multi-function pin must be selected correctly in PB1MFP
(SYS_GPB_MFPL[7:4]).
[16]
VDETEN
Voltage Detector Enable Bit
0 = VDET detect external input voltage function Disabled.
1 = VDET detect external input voltage function Enabled.
Note1:
This function is still active in whole chip power-down mode.
Note2:
This function need use LIRC or LXT as VDET clock source, which is selected in
VDETCKSEL (CLK_BODCLK[0]).
Note2:
The input pin for VDET detect voltage is selectabe by VDETPINSEL
(SYS_BODCTL[17]).
[15]
Reserved
Reserved.
[14:12]
LVRDGSEL
LVR Output De-glitch Time Select (Write Protect)
000 = Without de-glitch function.
001 = 4 system clock (HCLK).
010 = 8 system clock (HCLK).
011 = 16 system clock (HCLK).
100 = 32 system clock (HCLK).
101 = 64 system clock (HCLK).
110 = 128 system clock (HCLK).
111 = 256 system clock (HCLK).
Note:
These bits are write protected. Refer to the SYS_REGLCTL register.
[11]
Reserved
Reserved.
[10:8]
BODDGSEL
Brown-out Detector Output De-glitch Time Select (Write Protect)
000 = BOD output is sampled by RC10K clock.
001 = 4 system clock (HCLK).
010 = 8 system clock (HCLK).
011 = 16 system clock (HCLK).
100 = 32 system clock (HCLK).
101 = 64 system clock (HCLK).
110 = 128 system clock (HCLK).
111 = 256 system clock (HCLK).
Note:
These bits are write protected. Refer to the SYS_REGLCTL register.