Chapter 7 timer/counter units – NEC PD78214 User Manual

Page 152

Advertising
background image

123

Chapter 7 Timer/Counter Units

7

Fig. 7-14 Example of PWM Output Using TM0

Remark ALV0 = 0, ALV1 = 0

Fig. 7-15 PWM Output When CR00 = FFFFH

Remark ALV0 = 0

FFFFH

INTO00

FFFFH

FFFFH

FFFFH

FFFFH

TO0

TM0
count value

Count clock period T

OVF flag

Duty factor =

× 100 = 99.998(%)

0

1

2

0

1

2

0

Pulse width

Pulse period = 65536T

65535
65536

T

FFFFH

FFFFH

CR00

FFFFH

CR00

CR00

CR01

CR01

TM0
count value

0H

INTC00

INTC01

TO0

TO1

Advertising
This manual is related to the following products: