NEC 78K0 User Manual page 240

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

(2) Timing chart
The timing of the interval timer/square-wave output operation is shown below.
Figure 9-10. Timing of Interval Timer/Square-Wave Output Operation (1/2)
Count clock
Count start
00H
8-bit timer counter Hn
CMP0n
TMHEn
INTTMHn
TOHn
<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 clearing 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 = 01H to FEH
240
CHAPTER 9 8-BIT TIMERS H0 AND H1
(a) Basic operation
01H
N
N
<2>
Level inversion,
match interrupt occurrence,
8-bit timer counter Hn clear
User's Manual U15947EJ2V0UD
00H
01H
Clear
Interval time
*
match interrupt occurrence,
8-bit timer counter Hn clear
N
00H
01H 00H
Clear
<3>
<2>
Level inversion,

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents