English
Language : 

UPD784938 Datasheet, PDF (356/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 11 TIMER/EVENT COUNTER 2
11.9.4 Operation as PWM output
In PWM output, pulses with the duty ratio determined by the value set in the compare register (CR2n: n = 0, 1) are output
(see Figure 11-46).
This PWM output duty ratio can be varied in the range 1/256 to 255/256 in 1/256 units.
The control register settings are shown in Figure 11-47, the setting procedure in Figure 11-48, and the procedure for
varying the duty in Figure 11-49.
Figure 11-46. Example of Timer/Event Counter 2 PWM Signal Output
FFH or FFFFH
FFH or FFFFH
FFH or FFFFH
TM2
count value
0H
Timer start
TO3
(when active-high)
356
Preliminary User’s Manual U13987EJ1V0UM00