241
CHAPTER 10 WATCH TIMER
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.
Table 10-1. Interval Timer Interval Time
When operated at
When operated at
When operated at
f
XX
= 5.0 MHz
f
XX
= 4.19 MHz
f
XT
= 32.768 kHz
2
4
×
1/f
W
410
µ
s
488
µ
s
488
µ
s
2
5
×
1/f
W
819
µ
s
977
µ
s
977
µ
s
2
6
×
1/f
W
1.64 ms
1.95 ms
1.95 ms
2
7
×
1/f
W
3.28 ms
3.91 ms
3.91 ms
2
8
×
1/f
W
6.55 ms
7.81 ms
7.81 ms
2
9
×
1/f
W
13.1 ms
15.6 ms
15.6 ms
Remark
f
XX
: Main system clock frequency (f
X
or f
X
/2)
f
X
: Main system clock oscillation frequency
f
XT
: Subsystem clock oscillation frequency
f
W
: Watch timer clock frequency (f
XX
/2
7
or f
XT
)
Interval Time
Summary of Contents for PD78052
Page 2: ...2 MEMO ...
Page 8: ...8 MEMO ...
Page 16: ...16 MEMO ...
Page 36: ...36 MEMO ...
Page 158: ...158 MEMO ...
Page 174: ...174 MEMO ...
Page 240: ...240 MEMO ...
Page 260: ...260 MEMO ...
Page 340: ...340 MEMO ...
Page 392: ...392 MEMO ...
Page 438: ...438 MEMO ...
Page 482: ...482 CHAPTER 20 REAL TIME OUTPUT PORT MEMO ...
Page 510: ...510 MEMO ...
Page 524: ...524 MEMO ...
Page 560: ...560 MEMO ...
Page 576: ...576 MEMO ...
Page 598: ...598 MEMO ...
Page 602: ...602 MEMO ...