NEC V850ES/KE1+ User Manual page 328

32-bit single-chip microcontrollers
Table of Contents

Advertisement

<R>
Operation based on CMPn1 register transitions (CMPn1 register = 02H → 03H, CMPn0 register = A5H)
Count clock
8-bit timer
00H 01H 02H
counter Hn
count value
CMPn0
CMPn1
TMHEn
INTTMHn
TOHn
(TOLEVn = 0)
<1>
<1> When the TMHEn bit is set to 1, counting starts. At this time, the TOHn output remains the default level.
<2> The set value of the CMPn1 register can be changed during count operation.
asynchronous to the count clock.
<3> When the count value of 8-bit timer counter Hn and the set value of the CMPn0 register match, 8-bit timer
counter Hn is cleared, the TOHn output level is inverted, and the INTTMHn signal is generated.
<4> Even if the value of the CMPn1 register is changed, that value is latched and not transferred to the
register. When the count value of 8-bit timer counter Hn and the set value of the CMPn1 register prior to
the change match, the changed value is transferred to the CMPn1 register and the value of the CMPn1
register is changed (<2>').
However, three or more count clocks are required from the time the value of the CMPn1 register is
changed until it is transferred to the register. Even if a match signal is generated within three count
clocks, the changed value cannot be transferred to the register.
<5> When the count value of 8-bit timer counter Hn matches the changed set value of the CMPn1 register,
the TOHn output level is inverted. 8-bit timer counter Hn is not cleared and the INTTMHn signal is not
generated.
<6> When the TMHEn bit is cleared to 0 during 8-bit timer Hn operation, the INTTMHn signal and TOHn
output are set to the default level.
328
CHAPTER 9 8-BIT TIMER H
Figure 9-5. Operation Timing in PWM Output Mode (4/4)
80H
A5H 00H 01H 02H 03H
02H
02H (03H)
<2>
<3>
User's Manual U16896EJ2V0UD
A5H 00H 01H 02H 03H
A5H
03H
<2>'
<4>
A5H 00H
<6>
<5>
This operation is

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents