Datasheet

Table Of Contents
5. Reset
page 30
923fo7002,51.beF00.2.veR
0020-2020B90JER
)T62/C61M,B62/C61M,A62/C61M(puorGA62/C61M
Figure 5.5.2. VCR1 Register, VCR2 Register, and D4INT Register
VC13
V
o
l
t
a
g
e
d
e
t
e
c
t
i
o
n
r
e
g
i
s
t
e
r
1
S
y
m
b
o
lA
d
d
r
e
s
sA
f
t
e
r
r
e
s
e
t
(
2)
V
C
R
10
0
1
9
1
6
0
0
0
0
1
0
0
0
2
V
o
l
t
a
g
e
d
o
w
n
m
o
n
i
t
o
r
f
l
a
g
(1)
Bit name F unction
B
i
t
s
y
m
b
o
l
RW
b7 b6 b
5b
4b
3b
2b
1b
0
0:V
CC
< Vdet4
1:V
CC
Vdet4
RO
0000 000
RW
RW
R
e
s
e
r
v
e
d
b
i
t
R
e
s
e
r
v
e
d
b
i
t
M
u
s
t
se
t
t
o
0
M
u
s
t
s
e
t
t
o
0
V
o
l
t
a
g
e
d
e
t
e
c
t
i
o
n
r
e
g
i
s
t
e
r
2
(1)
S
y
m
b
o
lA
d
d
r
e
s
sA
f
t
e
r
r
e
s
e
t
(5)
V
C
R
20
0
1
A
1
6
0
0
1
6
B
i
t
n
a
m
e
B
i
t
s
y
m
b
o
l
b7 b6 b
5b
4b
3b
2b
1b
0
V
C
2
6
VC27
RW
RW
RW
RW
00000
F
u
n
c
t
i
o
n
Reserved bit Must set to 0
Reset level monitor bit
(2, 3, 6)
0
:
D
i
s
a
b
l
e
r
e
s
e
t
l
e
v
e
l
d
e
t
e
c
t
i
o
n
c
i
r
c
u
i
t
1
:
E
n
a
b
l
e
r
e
s
e
t
l
e
v
e
l
d
e
t
e
c
t
i
o
n
c
i
r
c
u
i
t
Voltage down monitor
bit (4, 6)
0: Disable voltage down
detection circuit
1: Enable voltage down
detection circuit
(
b
2
-
b
0
)
(
b
7
-
b
4
)
(
b
5
-
b
0
)
0
NOTES:
1. The VC13 bit is useful when the VC27 bit in the VCR2 register is set to "1" (voltage down detection circuit
enable). The VC13 bit is always "1" (VCC Vdet4) when the VC27 bit in the VCR2 register is set to "0"
(voltage down detection circuit disable).
2. This register does not change at software reset, watchdog timer reset and oscillation stop detection reset.
NOTES:
1. Write to this register after setting the PRC3 bit in the PRCR register to 1 (write enable).
2. When not in stop mode, to use hardware reset 2, set the VC26 bit to 1 (reset level detection circuit enable).
3. VC26 bit is disabled in stop mode. (The microcomputer is not reset even if the voltage input to Vcc pin
becomes lower than Vdet3.)
4. When the VC13 bit in the VCR1 register and D42 bit in the D4INT register are used or the D40 bit is set to
1 (voltage down detection interrupt enable), set the VC27 bit to 1 (voltage down detection circuit enable).
5. This register does not change at software reset, watchdog timer reset and oscillation stop detection reset.
6. The detection circuit does not start operation until td(E-A) elapses after the VC26 bit, or VC27 bit are set to
1.
D
4
0
V
o
l
t
a
g
e
d
o
w
n
d
e
t
e
c
t
i
o
n
i
n
t
e
r
r
u
p
t
r
e
g
i
s
t
e
r
(1)
S
y
m
b
o
lA
d
d
r
e
s
sA
f
t
e
r
r
e
s
e
t
D
4
I
N
T0
0
1
F
1
6
0
0
1
6
interrupt enable bit (5)
Bit name
B
i
t
s
y
m
b
o
l
b
7
b
6
b
5
b
4
b
3
b
2
b
1
b
0
0 :
Disable
1 :
Enable
D
4
1
STOP mode deactivation
control bit
(4)
0
:
D
i
s
a
b
l
e
(
d
o
n
o
t
u
s
e
t
h
e
v
o
l
t
a
g
e
d
o
w
n
d
e
t
e
c
t
i
o
n
i
n
t
e
r
r
u
p
t
t
o
g
e
t
o
u
t
o
f
s
t
o
p
m
o
d
e
)
1
:
E
n
a
b
l
e
(
u
s
e
t
h
e
v
o
l
t
a
g
e
d
o
w
n
d
e
t
e
c
t
i
o
n
i
n
t
e
r
r
u
p
t
t
o
g
e
t
o
u
t
o
f
s
t
o
p
m
o
d
e
)
D
4
2
Voltage change detection flag
(2)
0: Not detected
1: Vdet4 passing detection
D43
WDT overflow detect flag
0
:
N
o
t
d
e
t
e
c
t
e
d
1
:
D
e
t
e
c
t
e
d
DF0
Sampling clock select bit
0
0
:
C
P
U
c
l
o
c
k
d
i
v
i
d
e
d
b
y
8
0
1
:
C
P
U
c
l
o
c
k
d
i
v
i
d
e
d
b
y
1
6
1
0
:
C
P
U
c
l
o
c
k
d
i
v
i
d
e
d
b
y
3
2
1
1
:
C
P
U
c
l
o
c
k
d
i
v
i
d
e
d
b
y
6
4
D
F
1
b
5
b
4
RW
RW
RW
RW
RW
R
W
R
W
(b7-b6)
Function
Nothing is assigned. When write, set to 0. When read, its
content is 0.
NOTES:
1. Write to this register after setting the PRC3 bit in the PRCR register to 1 (write enable).
2. Useful when the VC27 bit in the VCR2 register is set to 1 (voltage down detection circuit enabled). If the
VC27 bit is set to 0 (voltage down detection circuit disable), the D42 bit is set to 0 (Not detect).
3. This bit is set to 0 by writing a 0 in a program. (Writing a 1 has no effect.)
4. If the voltage down detection interrupt needs to be used to get out of stop mode again after once used for
that purpose, reset the D41 bit by writing a 0 and then a 1.
5. The D40 bit is effective when the VC27 bit in the VCR2 register is set to 1. To set the D40 bit to 1, follow
the procedure described below.
(1) Set the VC27 bit to 1.
(2) Wait for td(E-A) until the detection circuit is actuated.
(3) Wait for the sampling time (refer to Table 5.5.1.2 Sampling Clock Periods).
(4) Set the D40 bit to 1.
(3)
(3)