UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 257

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
8.8.4
output (see Figure 8-41).
the duty in Figure 8-44.
In PWM output, pulses with the duty ratio determined by the value assigned to the compare register (CR0n: n = 0, 1) are
This PWM output duty ratio can be varied in the range 1/65536 to 65535/65536 in 1/65536 units.
Since timer register 0 (TM0) has two compare registers, two different PWM signals can be output.
The control register settings are shown in Figure 8-42, the setting procedure in Figure 8-43, and the procedure for varying
Operation as PWM Output
TO0
(When Active-Low)
TM0
Count Value
Figure 8-40 Interrupt Request Processing that Calculates Pulse Width
0H
Figure 8-41 Example of Timer/Counter 0 PWM Signal Output
Timer Start
CR00
CHAPTER 8 TIMER/COUNTER 0
Store capture value in memory
Calculate pulse width
INTP3 interrupt
Y
n
X
= CR02 – X
n+1
FFFFH
RETI
CR02
CR00
n
FFFFH
CR00
FFFFH
217

Related parts for UPD784026