MS51
Dec. 17, 2019
Page
26
of 316
Rev 1.01
M
S51
SE
RIES
TE
CHNICA
L REF
ERE
N
CE MA
NU
A
L
CONFIG2
7
6
5
4
3
2
1
0
CBODEN
CBOV[2:0]
BOIAP
CBORST
-
-
R/W
R/W
R/W
R/W
-
-
Factory default value: 1111 1111b
Bit
Name
Description
7
CBODEN
CONFIG brown-out detect enable
1 = Brown-out detection circuit on.
0 = Brown-out detection circuit off.
5:4
CBOV[1:0]
CONFIG brown-out voltage select
11 = V
BOD
is 2.2V.
10 = V
BOD
is 2.7V.
01 = V
BOD
is 3.7V.
00 = V
BOD
is 4.4V.
3
BOIAP
Brown-out inhibiting IAP
This bit decides whether IAP erasing or programming is inhibited by brown-out status. This bit
is valid only when brown-out detection is enabled.
1 = IAP erasing or programming is inhibited if V
DD
is lower than V
BOD
.
0 = IAP erasing or programming is allowed under any workable V
DD
.
2
CBORST
CONFIG brown-out reset enable
This bit decides whether a brown-out reset is caused by a power drop below V
BOD
.
1 = Brown-out reset Enabled.
0 = Brown-out reset Disabled.
BODCON0
CONFIG2
CBODEN
7
CBOV[2:0]
6
5
4
BOIAP
3
CBORST
2
-
1
-
0
BODEN
7
BOV[2:0]
6
5
4
BOF
3
BORST
2
BORF
1
BOS
0
Figure 6.1-4 CONFIG2 Power-On Reset Reloading