![NEC ?PD703302 User Manual Download Page 334](http://html.mh-extra.com/html/nec/pd703302/pd703302_user-manual_249245334.webp)
CHAPTER 9 8-BIT TIMER H
User’s Manual U16896EJ2V0UD
334
Figure 9-8. Carrier Generator Mode (2/3)
Operation when CMPn0 register = N, CMPn1 register = M is set
N
CMPn0
CMPn1
TMHEn
INTTMHn
Carrier clock
TM5n count value
00H
N
00H 01H
M
00H
N
00H 01H
M
00H
00H
N
M
TCE5n
TOHn
0
0
1
1
0
0
1
1
0
0
INTTM5n
NRZBn
NRZn
Carrier clock
00H 01H
K
00H 01H
L
00H 01H
M 00H 01H
00H 01H
N
INTTM5Hn
K
L
M
N
NRZBn
<1> <2>
<3>
<4>
<5>
<6>
<7>
8-bit timer 5n count clock
8-bit timer Hn count clock
8-bit timer counter
Hn count value
<1> When the TMHEn bit = 0 and the TCE5n bit = 0, the operation of 8-bit timer Hn is stopped.
<2> When the TMHEn bit is set to 1, 8-bit timer Hn starts counting. The carrier clock remains the default level at
this time.
<3> When the count value of 8-bit timer counter Hn and the set value of the CMPn0 register match, the first
INTTMHn signal is generated, the carrier clock signal is inverted, and the register that is compared with 8-bit
timer counter Hn changes from the CMPn0 register to the CMPn1 register. 8-bit timer counter Hn is cleared
to 00H.
<4> When the count value of 8-bit timer counter Hn and the set value of the CMPn1 register match, the INTTMHn
signal is generated, the carrier clock signal is inverted, and the register that is compared with 8-bit timer
counter Hn changes from the CMPn1 register to the CMPn0 register. 8-bit timer counter Hn is cleared to 00H.
A carrier clock with a fixed duty (other than 50%) is generated through the repetition of steps <3> and <4>.
<5> The INTTM5n signal is synchronized with 8-bit timer Hn and output as the INTTM5Hn signal.
<6> The carrier is output from the rising edge of the first carrier clock by setting the NRZn bit to 1.
<7> By clearing the NRZn bit to 0, the TOHn output is also maintained high level while the carrier clock is high
level, and does not change to low level (the high level width of the carrier waveform is guaranteed through
steps <6> and <7>).
Remark
n = 0, 1
<R>
<R>