Renesas M16C/62P Series Hardware Manual page 62

6-bit single-chip microcomputer
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
Low Voltage Detection Interrupt Register
b7 b6 b5 b4 b3 b2 b1 b0
NOTES :
1.
Write to this register after setting the PRC3 bit in the PRCR register to "1" (w rite enable).
2.
Useful w hen the VC27 bit in the VCR2 register is set to "1" (low voltage detection circuit enabled). If the VC27 bit is
set to "0" (low voltage detection circuit disabled), the D42 bit is set to "0" (Not detect).
This bit is set to "0" by w riting a "0" in a program. (Writing a "1" has no effect.)
3.
4.
If the low voltage detection interrupt needs to be used to get out of stop mode again after once used for that
purpose, reset the D41 bit by w riting a "0" and then a "1".
5.
The D40 bit is effective w hen the VC27 bit = 1. To set the D40 bit to "1", set bits in the follow ing order.
(a) Set the VC27 bit to "1".
(b) Wait for td(E-A) until the detection circuit is actuated.
(c) Wait for the sampling time. (See Table 6.2 Sam pling Period.)
(d) Set the D40 bit to "1".
Figure 6.3
D4INT Register
Rev.2.41
Jan 10, 2006
REJ09B0185-0241
http://www.xinpian.net
(1)
Symbol
Address
001Fh
D4INT
Bit Symbol
Bit Name
Low Voltage Detection Interrupt
D40
(5)
Enable Bit
STOP Mode Deactivation Control
(4)
Bit
D41
Voltage Change Detection Flag
D42
WDT Overflow Detect Flag
D43
Sampling Clock Select Bit
DF0
DF1
Nothing is assigned. When w rite, set to "0".
(b7-b6)
When read, their contents are "0".
Page 47 of 390
提供单片机解密、IC解密、芯片解密业务
After Reset
00h
Function
0 : Disable
1 : Enable
0 : Disable (do not use the Low voltage
detection interrupt to get out of stop
mode)
1 : Enable (use the low voltage detection
interrupt to get out of stop mode)
(2)
0 : Not detected
1 : Vdet4 passing detection
0 : Not detected
1 : Detected
b5 b4
0 0 : CPU clock divided by 8
0 1 : CPU clock divided by 16
1 0 : CPU clock divided by 32
1 1 : CPU clock divided by 64
010-62245566 13810019655
6. Voltage Detection Circuit
RW
RW
RW
(3)
RW
RW
(3)
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pM16c/62pt

Table of Contents