CHAPTER 8 8-BIT TIMERS H0 AND H1
Preliminary User’s Manual U16315EJ1V0UD
187
(2) Timing chart
The timing in interval timer mode is shown below.
Figure 8-7. Timing of Interval Timer Operation (1/2)
(a) Basic operation
00H
Count clock
Count start
8-bit timer counter Hn
CMP0n
TMHEn
INTTMHn
TOHn
01H
N
Clear
Interval time
Clear
N
00H
01H
N
00H
01H 00H
<2>
Level inversion,
match interrupt occurrence,
8-bit timer counter Hn clear
<2>
Level inversion,
match interrupt occurrence,
8-bit timer counter Hn clear
<3>
<1>
<1>
The count operation is enabled by setting the TMHEn bit to 1. The count clock starts counting no more than
1 clock after the operation is enabled.
<2>
When the values of 8-bit timer counter Hn and the CMP0n register match, the value of 8-bit timer counter Hn
is cleared, the TOHn output level is inverted, and the INTTMHn signal is output.
<3>
The INTTMHn signal and TOHn output become inactive by setting the TMHEn bit to 0 during timer Hn
operation. If these are inactive from the first, the level is retained.
Remark
n = 0, 1
N = 00H to FFH