Chapter 10 Watch Timer; Watch Timer Functions; Interval Timer Interval Time - NEC PD78056F User Manual

Pd78058f series; pd78058fy series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

10.1 Watch Timer Functions

The watch timer has the following functions.
• Watch timer
• Interval timer
The watch timer and the interval timer can be used simultaneously.
(1) Watch timer
When the 32.768 kHz subsystem clock is used, a flag (WTIF) is set at 0.5 second or 0.25 second intervals.
When the 4.19 MHz (standard: 4.194304 MHz) main system clock is used, a flag (WTIF) is set at 0.5 second
or 0.25 second intervals.
Caution 0.5-second intervals cannot be generated with the 5.0-MHz main system clock. You should
switch to the 32.768 kHz subsystem clock to generate 0.5-second intervals.
(2) Interval timer
Interrupt requests (INTTM3) are generated at the preset time interval.
Interval Time
4
2
1/f
W
5
2
1/f
W
6
2
1/f
W
7
2
1/f
W
8
2
1/f
W
9
2
1/f
W
f
: Main system clock frequency (f
XX
f
: Main system clock oscillation frequency
X
f
: Subsystem clock oscillation frequency
XT
f
: Watch timer clock frequency (f
W

CHAPTER 10 WATCH TIMER

Table 10-1. Interval Timer Interval Time
When operated at
When operated at
f
= 5.0 MHz
XX
410 s
819 s
1.64 ms
3.28 ms
6.55 ms
13.1 ms
or f
/2)
X
X
7
/2
or f
)
XX
XT
When operated at
f
= 4.19 MHz
f
XX
XT
488 s
977 s
1.95 ms
3.91 ms
7.81 ms
15.6 ms
= 32.768 kHz
488 s
977 s
1.95 ms
3.91 ms
7.81 ms
15.6 ms
239

Advertisement

Table of Contents
loading

Table of Contents