NEC 78K0S/KB1+ User Manual page 140

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0S/KB1+:
Table of Contents

Advertisement

(2) Timing chart
The timing of the interval timer/square-wave output operation is shown below.
Figure 8-7. Timing of Interval Timer/Square-Wave Output Operation (1/2)
Count clock
Count start
00H
8-bit timer counter H1
CMP01
TMHE1
INTTMH1
TOH1
<1>
<1> The count operation is enabled by setting the TMHE1 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 H1 and the CMP01 register match, the value of 8-bit timer counter H1
is cleared, the TOH1 output level is inverted, and the INTTMH1 signal is output.
<3> The INTTMH1 signal and TOH1 output become inactive by clearing the TMHE1 bit to 0 during timer H1
operation. If these are inactive from the first, the level is retained.
Remark 01H ≤ N ≤ FEH
140
CHAPTER 8 8-BIT TIMER H1
(a) Basic operation (01H ≤ CMP01 ≤ FEH)
01H
N
N
<2>
Level inversion,
match interrupt occurrence,
8-bit timer counter H1 clear
User's Manual U17446EJ3V1UD
00H
01H
Clear
Interval time
match interrupt occurrence,
8-bit timer counter H1 clear
N
00H
01H 00H
Clear
<3>
<2>
Level inversion,

Advertisement

Table of Contents
loading

Table of Contents