English
Language : 

7220 Datasheet, PDF (66/303 Pages) Renesas Technology Corp – 8-BIT SINGLE-CHIP MICROCOMPUTER
FUNCTIONAL DESCRIPTION
2.6 Timers
2.6.2 Timer 3 and timer 4 when reset and when executing the STP instruction
Timers 3 and 4 start counting down immediately after reset status is released or stop mode is released,
and CPU starts operating by supplying the internal clock φ at overflow of these timers. Therefore, the
program can start under a stable clock.
(1) When reset
When reset, Timers 3 and 4 are automatically set by hardware as shown in Table 2.6.2, and immediately
start counting down. The counting is continued, then, Timer 4 overflows and the internal clock φ is
supplied (the internal reset is released). The program can start again.
(2) When executing the STP instruction
Immediately after the STP instruction is executed, Timers 3 and 4 are automatically set as shown
in Table 2.6.2 as in the case of reset and placed in the stop mode. When the stop mode is entered,
the processor stops supplying the internal clock φ, and contents of Timers 3 and 4 are retained.
When the stop mode is released by reset input or external interrupt input, the processor simultaneously
supplies f(XIN), and Timers 3 and 4 start counting down.
The counting is continued, then, when timer 4 overflows and the internal clock φ is supplied. The
program can start again.
Table 2.6.2 Contents of timers 3 and 4 when reset or when executing STP instruction
Contents
Timer 3
Timer 4
Value
FF16
0716
Count source
f(XIN)/16
(except when executing the STP instructions)
Timer 3 overflow signal
Note: When executing the STP instruction, f(XIN)/16 is not automatically selected as the timer 3 count
source. Accordingly, set bit 0 of the timer 34 mode register (address 00F516) to “0” before executing
the STP instruction select (f(XIN)/16 is selected as the timer 3 count source).
7220 Group User’s Manual
2-39