NEC 78K0 Series User Manual page 276

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

Advertisement

Count clock
8-bit timer counter Hn
00H 01H
CMP0n
CMP1n
TMHEn
INTTMHn
TOHn
(TOLEVn = 0)
<1>
TOHn
(TOLEVn = 1)
<1> The count operation is enabled by setting the TMHEn bit to 1. Start the 8-bit timer counter Hn by masking
one count clock to count up. At this time, TOHn output remains the default.
<2> When the values of the 8-bit timer counter Hn and the CMP0n register match, the TOHn output level is
inverted, the value of the 8-bit timer counter Hn is cleared, and the INTTMHn signal is output.
<3> When the values of the 8-bit timer counter Hn and the CMP1n register match, the TOHn output level is
inverted. At this time, the 8-bit timer counter value is not cleared and the INTTMHn signal is not output.
<4> Clearing the TMHEn bit to 0 during timer Hn operation sets the INTTMHn signal and TOHn output to the
default.
Remark n = 0, 1
276
CHAPTER 9 8-BIT TIMERS H0 AND H1
Figure 9-12. Operation Timing in PWM Output Mode (1/4)
(a) Basic operation
A5H 00H 01H 02H
<2>
Preliminary User's Manual U17260EJ3V1UD
A5H 00H
01H 02H
A5H
01H
<3>
A5H 00H
<4>

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents