
ML51/ML54/ML56
Sep. 01, 2020
Page
308
of 719
Rev 2.00
ML
51
/ML
54
/ML
5
6 S
E
RI
E
S
TECHNI
CA
L
RE
F
E
R
E
NC
E
M
A
NU
A
L
ML51/M
L54
/M
L56
Series
Tec
hnical Reference
Manual
BODCON0
– Brown-out Detection Control 0 (TA Protected)
Register
SFR Address
Reset Value
BODCON0
A3H, Page 0, TA protected
POR,CCCC XC0X b
BOD, UUUU XU1X b
Others,UUUU XUUX b
7
6
5
4
3
2
1
0
BODEN
[1]
BOV[2:0]
[1]
BOF
[2]
BORST
[1]
BORF
BOS
R/W
R/W
R/W
R/W
R/W
R
Bit
Name
Description
[7]
BODEN
Brown-Out Detection Enable
0 = Brown-out detection circuit ON.
1 = Brown-out detection circuit OFF.
Note that BOD output is not available until 2~3 LIRC clocks after enabling.
[6:4]
BOV[2:0]
CONFIG Brown-Out Voltage Select
111 = VBOD is 1.8V.
110 = VBOD is 1.8V.
101 = VBOD is 2.0V.
100 = VBOD is 2.4V.
011 = VBOD is 2.7V.
010 = VBOD is 3.0V.
001 = VBOD is 3.7V.
000 = VBOD is 4.4V.
[3]
BOF
Brown-Out Interrupt Flag
This flag will be set as logic 1 via hardware after a V
DD
dropping below or rising above VBOD
event occurs. If both EBOD (I.E.5) and EA (I.E.7) are set, a brown-out interrupt requirement will
be generated. This bit should be cleared via software.
[2]
BORST
Brown-Out Reset Enable
This bit decides whether a brown-out reset is caused by a power drop below VBOD.
0 = Brown-out reset when V
DD
drops below VBOD Disabled.
1 = Brown-out reset when V
DD
drops below VBOD Enabled.
[1]
BORF
Brown-Out Reset Flag
When the MCU is reset by brown-out event, this bit will be set via hardware. This flag is
recommended to be cleared via software.
[0]
BOS
Brown-Out Status
This bit indicates the V
DD
voltage level comparing with VBOD while BOD circuit is enabled. It
keeps 0 if BOD is not enabled.
0 = V
DD
voltage level is higher than VBOD or BOD is disabled.
1 = V
DD
voltage level is lower than VBOD.
Note that this bit is read-only.