NEC 78K0S/KA1+ Preliminary User's Manual page 139

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

Advertisement

www.DataSheet4U.com
8-bit timer counter H1
www.DataSheet4U.com
(TOLEV1 = 0)
<1> The count operation is enabled by setting TMHE1 = 1. Start 8-bit timer counter H1 by masking one count
<2> The CMP11 register value can be changed during timer counter operation. This operation is asynchronous
<3> When the values of 8-bit timer counter H1 and the CMP01 register match, the value of 8-bit timer counter H1
<4> If the CMP11 register value is changed, the value is latched and not transferred to the register. When the
<5> When the values of 8-bit timer counter H1 and the CMP11 register after the change match, the TOH1 output
<6> Clearing the TMHE1 bit to 0 during timer H1 operation makes the INTTMH1 signal and TOH1 output inactive.
Figure 8-9. Operation Timing in PWM Output Mode (4/4)
(e) Operation by changing CMP11 (CMP11 = 01H → 03H, CMP01 = A5H)
Count clock
00H 01H 02H
CMP01
01H
CMP11
TMHE1
INTTMH1
TOH1
<1>
clock to count up. At this time, the TOH1 output remains inactive (when TOLEV1 = 0).
to the count clock.
is cleared, the TOH1 output becomes active, and the INTTMH1 signal is output.
values of 8-bit timer counter H1 and the CMP11 register before the change match, the value is transferred to
the CMP11 register and the CMP11 register value is changed (<2>').
However, three count clocks or more are required from when the CMP11 register value is changed to when
the value is transferred to the register. If a match signal is generated within three count clocks, the changed
value cannot be transferred to the register.
becomes inactive. 8-bit timer counter H1 is not cleared and the INTTMH1 signal is not generated.
CHAPTER 8 8-BIT TIMER H1
A5H 00H 01H 02H 03H
A5H
01H (03H)
<2>
<2>'
<3>
<4>
Preliminary User's Manual U16898EJ1V0UD
A5H 00H 01H 02H 03H
03H
<5>
A5H 00H
<6>
139

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd78f9221Mpd78f9222

Table of Contents