beautypg.com

NEC PD754144 User Manual

Page 131

background image

CHAPTER 6 PERIPHERAL HARDWARE FUNCTION

131

User’s Manual U10676EJ3V0UM

Figure 6-28. Format of Timer Counter Mode Register (Channel 2) (2/2)

TM23

Clears counter and IRQT2 flag when "1" is written. Starts count operation
if bit 2 is set to "1".

Timer start command bit

Operation mode

TM22

0

1

Stops (count value retained)

Count operation

Count operation

Operation mode select bit

TM21

0

0

8-bit timer counter mode

PWM pulse generator mode

Mode

TM20

0

1

1

1

16-bit timer counter mode

Carrier generator mode

0

1

Caution After a reset, all bits of TM2 become "0", therefore when operating the timer it is necessary to

set the count pulse value first. Moreover, when any setting prohibited value is set, the count pulse

set becomes 0 and TM0 does not operate as a timer.

This manual is related to the following products: