Voltage Down Detection Interrupt - Renesas M16C/26A Series Hardware Manual

16-bit single-chip microcomputer m16c family / m16c/tiny series
Hide thumbs Also See for M16C/26A Series:
Table of Contents

Advertisement

M
1
6
C
2 /
6
A
G
o r
u
p
(
M
1
6

5.5.1 Voltage Down Detection Interrupt

If the D40 bit in the D4INT register is set to "1" (voltage down detection interrupt enabled), the voltage
down detection interrupt request is generated when the voltage applied to the VCC pin crosses the
Vdet4 voltage level. The voltage down detection interrupt shares the same interrupt vector with the
watchdog timer interrupt and oscillation stop, re-oscillation detection interrupt.
Set the D41 bit in the D4INT register to "1" (enabled) to use the voltage down detection interrupt to exit
stop mode.
The D42 bit in the D4INT register is set to "1" as soon as the voltage applied to the VCC pin reaches
Vdet4 due to the voltage rise and voltage drop. When the D42 bit changes "0" to "1", the voltage down
detection interrupt request is generated. Set the D42 bit to "0" by program. However, when the D41
bit is set to "1" and the microcomputer is in stop mode, the voltage down detection interrupt request is
generated regardless of the D42 bit state if the voltage applied to the VCC pin is detected to be above
Vdet4. The microcomputer then exits stop mode.
Table 5.5.1.1 shows how the voltage down detection interrupt request is generated.
The DF1 to DF0 bits in the D4INT register determine the sampling period that detects the voltage
applied to the VCC pin reaches Vdet4. Table 5.5.1.2 shows the sampling periods.
Table 5.5.1.1 Voltage Down Detection Interrupt Request Generation Conditions
Operation Mode
VC27 Bit
Normal
Operation
Mode
(1)
Wait Mode
(2)
Stop Mode
(2)
NOTES:
1. The status except the wait mode and stop mode is handled as the normal mode.(Refer to 7. Clock generating circuit)
2. Refer to 5.5.2 Limitations on stop mode, 5.5.3 Limitations on wait mode.
3. An interrupt request for voltage reduction is generated a sampling time after the value of the VC13 bit has changed.
See the Figure 5.5.1.2 Voltage Down Detection Interrupt Generation Circuit Operation Example for details.
Table 5.5.1.2 Sampling Periods
CPU
Clock
DF1 to DF0=00
(MHz)
(CPU clock divided by 8)
16
R
e
. v
2
0 .
0
F
e
b
1 .
, 5
2
0
0
7
R
E
J
0
9
B
0
2
0
2
0 -
2
0
0
C
2 /
6
, A
M
1
6
C
2 /
6
, B
M
1
D40 Bit
1
1
DF1 to DF0=01
(CPU clock divided by 16)
3.0
page 32
f o
3
2
9
6
C
2 /
6
) T
D41 Bit
D42 Bit
0 to 1
0 to 1
1
Sampling Period (µs)
DF1 to DF0=10
(CPU clock divided by 32)
6.0
CM02 Bit
VC13 Bit
0 to 1
(3)
1 to 0
(3)
0 to 1
(3)
0
1 to 0
(3)
1
0 to 1
0
0 to 1
– : "0"or "1"
DF1 to DF0=11
(CPU clock divided by 64)
12.0
5. Reset
24.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/26aM16c/26bM16c/26t

Table of Contents