English
Language : 

M16C62P_06 Datasheet, PDF (62/421 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
M16C/62P Group (M16C/62P, M16C/62PT)
6. Voltage Detection Circuit
Low Voltage Detection Interrupt Register (1)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
D4INT
Address
001Fh
Bit Symbol
Bit Name
Low Voltage Detection Interrupt
D40
Enable Bit (5)
STOP Mode Deactivation Control
Bit (4)
D41
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)
Voltage Change Detection Flag (2) 0 : Not detected
D42
1 : Vdet4 passing detection
WDT Overflow Detect Flag
D43
0 : Not detected
1 : Detected
Sampling Clock Select Bit
DF0
DF1
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
RW
RW
RW
RW (3)
RW (3)
RW
RW
—
Nothing is assigned. When w rite, set to “0”.
(b7-b6) When read, their contents are “0”.
—
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).
3. This bit is set to “0” by w riting a “0” in a program. (Writing a “1” has no effect.)
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 Page 47 of 390
REJ09B0185-0241