![NEC ?PD703302 User Manual Download Page 329](http://html.mh-extra.com/html/nec/pd703302/pd703302_user-manual_249245329.webp)
CHAPTER 9 8-BIT TIMER H
User’s Manual U16896EJ2V0UD
329
9.4.3 Carrier generator mode operation
The carrier clock generated by 8-bit timer Hn is output using the cycle set with 8-bit timer/event counter 5n.
In the carrier generator mode, 8-bit timer/event counter 5n is used to control the extent to which the carrier pulse of
8-bit timer Hn is output, and the carrier pulse is output from the TOHn output.
Remarks 1.
For the alternate-function pin (TOHn) settings, refer to
Table 4-12 Settings When Port Pins Are
Used for Alternate Functions
.
2.
For INTTMHn interrupt enable, refer to
CHAPTER 17 INTERRUPT/EXCEPTION PROCESSING
FUNCTION
.
(1) Carrier generation
In the carrier generator mode, the CMPn0 register generates a waveform with the low-level width of the carrier
pulse and the CMPn1 register generates a waveform with the high-level width of the carrier pulse.
During 8-bit timer Hn operation, the CMPn1 register can be rewritten, but rewriting of the CMPn0 register is
prohibited.
(2) Carrier output control
Carrier output control is performed with the interrupt request signal (INTTM5n) of 8-bit timer/event counter 5n
and the TMCYCn.NRZBn and TMCYCn.RMCn bits. The output relationships are as follows.
RMCn Bit
NRZBn Bit
Output
0 0
Low-level
output
0 1
High-level
output
1 0
Low-level
output
1
1
Carrier pulse output
Remark
n = 0, 1