English
Language : 

M32C8A Datasheet, PDF (56/372 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M32C/80 Series
M32C/8A Group
6. Power Supply Voltage Detection Function
Vdet4 Detection Interrupt Register(1)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
D4INT
Address
002Fh
After Reset
XX00 0000b
Bit Symbol
Bit Name
Function
RW
D40
Vdet4 detection interrupt
enable bit(2)
0: Vdet4 detection interrupt disabled
1: Vdet4 detection interrupt enabled
RW
0: Vdet4 detection interrupt is not used to exit
D41
Wait mode/Stop mode exit
control bit(3)
wait/stop mode
1: Vdet4 detection interrupt is used to exit
RW
wait/stop mode
D42
Voltage change detect flag(4, 5)
0: Not detected
1: Voltage crosses Vdet4
RW
D43
WDT underflow detect flag(5)
0: Not detected
1: Detected
RW
DF0
b5 b4
RW
0 0: CPU clock divided-by-8
Sampling clock select bits
0 1: CPU clock divided-by-16
1 0: CPU clock divided-by-32
DF1
1 1: CPU clock divided-by-64
RW
−
(b7-b6)
Unimplemented.
Read as undefined value.
−
NOTES:
1. Set the D4INT register after the PRC3 bit in the PRCR register is set to 1 (write enable).
2. Use the following procedure to set the D40 bit to 1:
(1) Set the VC27 bit in the VCR2 register to 1
(2) Wait for td(E-A) before the voltage detection circuit starts operating
(3) Wait for required sampling time (See Table "Sampling Period")
(4) Set the D40 bit to 1
3. If the Vdet4 detection interrupt has been used to exit wait mode or stop mode, set the D41 bit to 0 and then set it to 1 to use the
Vdet4 detection interrupt again to exit these modes.
4. The D42 bit is enabled when the VC27 bit is set to 1 (Vdet4 detection function used ). The D42 bit becomes 0 when the VC27 bit
is set to 0 (Vdet4 detection function not used).
5. The D43 bit can be set to 0 by program. Writing a 0 has no effect.
Figure 6.3 D4INT Register
Rev.1.00 Jul 15, 2007 Page 39 of 352
REJ09B0385-0100