NEC V850ES/KE1+ User Manual page 335

32-bit single-chip microcontrollers
Table of Contents

Advertisement

Operation based on CMPn1 register transitions
8-bit timer Hn count clock
8-bit timer counter
Hn count value
<R>
Carrier clock
<1> When the TMHEn bit is set to 1, counting starts. The carrier clock remains the default level at this time.
<2> When the count value of the 8-bit timer counter Hn matches the value of the CMPn0 register, the INTTMHn
<R>
signal is output, the carrier signal is inverted, and the 8-bit timer counter is cleared to 00H. At the same time,
the compare register whose value is to be compared with that of the 8-bit timer counter Hn is changed from
the CMPn0 register to the CMPn1 register.
<3> The CMPn1 register is asynchronous to the count clock, and its value can be changed while the 8-bit timer Hn
<R>
is operating. The new value (L) to which the value of the register is to be changed is latched. When the count
value of the 8-bit timer counter Hn matches the value (M) of the CMPn1 register before the change, the
CMPn1 register is changed (<3>').
However, it takes three count clocks or more since the value of the CMPn1 register has been changed until
the value is transferred to the register. Even if a match signal is generated before the duration of three count
clocks elapses, the new value is not transferred to the register.
<4> When the count value of 8-bit timer counter Hn and the value (M) of the CMPn1 register match, the INTTMHn
signal is output, the carrier signal is inverted, and 8-bit timer counter Hn is cleared to 00H. At the same time,
<R>
the compare register whose value is to be compared with that of the 8-bit timer counter Hn is changed from
the CMPn1 register to the CMPn0 register.
<5> The timing at which the count value of 8-bit timer counter Hn and the value of the CMPn1 register match
again is the changed value (L).
Remark n = 0, 1
Figure 9-8. Carrier Generator Mode (3/3)
00H 01H
CMPn0
M
CMPn1
TMHEn
INTTMHn
<1>
CHAPTER 9 8-BIT TIMER H
N
00H 01H
<3>
M (L)
<2>
User's Manual U16896EJ2V0UD
M
00H
N
00H
01H
N
<3>'
L
<4>
L
00H
<5>
335

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents