
NUC126
Aug. 08, 2018
Page
100
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
Brown-out Detector Control Register (SYS_BODCTL)
Partial of the SYS_BODCTL control registers values are initiated by the flash configuration and partial
bits are write-protected bit.
Register
Offset
R/W
Description
Reset Value
SYS_BODCTL
0x18
R/W
Brown-out Detector Control Register
0x0000_038X
31
30
29
28
27
26
25
24
Reserved
VDETDGSEL
VDETDOUT
23
22
21
20
19
18
17
16
VDETBGSEL
VDETDTSEL
VDETIF
VDETIEN
VDETPINSEL
VDETEN
15
14
13
12
11
10
9
8
Reserved
LVRDGSEL
Reserved
BODDGSEL
7
6
5
4
3
2
1
0
LVREN
BODOUT
BODLPM
BODIF
BODRSTEN
BODVL
BODEN
Bits
Description
[31:28]
Reserved
Reserved.
[27:25]
VDETDGSEL
Voltage Detector Output De-glitch Time Select (Write Protect)
000 = VDET output is sampled by VDET clock.
001 = 16 system clock (HCLK).
010 = 32 system clock (HCLK).
011 = 64 system clock (HCLK).
100 = 128 system clock (HCLK).
101 = 256 system clock (HCLK).
110 = 512 system clock (HCLK).
111 = 1024 system clock (HCLK).
Note:
These bits are write protected. Refer to the SYS_REGLCTL register.
[24]
VDETOUT
Voltage Detector Output Status
0 = VDET output status is 0.
It means the detected voltage is higher than Bandgap or VDETEN is 0.
1 = VDET output status is 1.
It means the detected voltage is lower than Bandgap. If the VDETEN is 0, VDET function
disabled, this bit always responds 0.
[23:20]
Reserved
Reserved.
[19]
VDETIF
Voltage Detector Interrupt Flag
0 = VDET does not detect any voltage draft at external pin down through or up through the
voltage of Bandgap.
1 = When VDET detects the external pin is dropped down through the voltage of Bandgap
or the external pin is raised up through the voltage of Bandgap, this bit is set to 1 and the
brown-out interrupt is requested if brown-out interrupt is enabled.
Note:
This bit can be cleared by software writing ‘1’.