NEC 78K0 User Manual page 200

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

Advertisement

8-bit timer Hn
count clock
8-bit timer counter
Hn count value
CMPn0
CMPn1
TMHEn
INTTMHn
Carrier clock
8-bit timer 5n
count clock
TM5n count value
CR5n
TCE5n
INTTM5n
INTTM5Hn
NRZBn
NRZn
Carrier clock
TOHn
<1> When TMHE1 = 0 and TCE51 = 0, 8-bit timer counter H1 operation is stopped.
<2> When TMHE1 = 1 is set, 8-bit timer counter H1 starts a count operation. At that time, the carrier clock is held
at the inactive level.
<3> When the count value of 8-bit timer counter H1 matches the CMP01 register value, the first INTTMH1 signal
is generated, the carrier clock signal is inverted, and the compare register to be compared with 8-bit timer
counter H1 is switched from the CMP01 register to the CMP11 register. 8-bit timer counter H1 is cleared to
00H.
<4> When the count value of 8-bit timer counter H1 matches the CMP11 register value, the INTTMH1 signal is
generated, the carrier clock signal is inverted, and the compare register to be compared with 8-bit timer
counter H1 is switched from the CMP11 register to the CMP01 register. 8-bit timer counter H1 is cleared to
00H. By performing procedures <3> and <4> repeatedly, a carrier clock with duty fixed to other than 50% is
generated.
<5> When the INTTM51 signal is generated, it is synchronized with the count clock of 8-bit timer H1 and output
as the INTTM5H1 signal.
<6> A carrier signal is output at the first rising edge of the carrier clock if NRZ1 is set to 1.
<7> When NRZ1 = 0, the TOH1 output is held at the high level and is not changed to low level while the carrier
clock is high level (from <6> and <7>, the high-level width of the carrier clock waveform is guaranteed).
200
CHAPTER 8 8-BIT TIMERS H0 AND H1
Figure 8-15. Carrier Generator Mode Operation Timing (2/3)
(b) Operation when CMP01 = N, CMP11 = M
00H
N 00H 01H
<3>
<1> <2>
00H 01H
L
00H 01H
<5>
0
1
0
<6>
User's Manual U16227EJ2V0UD
M 00H
N 00H 01H
N
M
<4>
L 00H 01H
L 00H 01H
L
0
1
1
0
<7>
M 00H
N
00H
L
00H 01H
0
1
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kc1

Table of Contents