UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 238

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
8.7.3 PWM Output
(1) Basic operation of PWM output
198
In this mode, a PWM signal with the period in which timer register 0 (TM0) reaches a full count used as one cycle is output.
The timer output (TO0) pulse width is determined by the value of compare register (CR00), and the timer output (TO1) pulse
width is determined by the value of compare register (CR01). When this function is used, the CLR01 bit of capture/compare
control register 0 (CRC0) must be set to 0.
The pulse cycle and pulse width are as shown below.
• PWM cycle = 65536
• PWM pulse width = CR0n
• Duty =
* 0 cannot be assigned to the CR0n.
Remark n = 0, 1
Remark ALV0 = 0
Timer Count
PWM pulse width
Interrupt
PWM cycle
TO0
0H
Count Start
x/f
XX
=
x/f
CR00
XX
CR0n
65536
*; x = 8, 16, 32, 64, 128, 256, 512, 1024, 2048
Figure 8-17 PWM Pulse Output
CHAPTER 8 TIMER/COUNTER 0
FFFFH
Pulse
Width
Pulse Cycle
CR00
FFFFH
Pulse Width
Pulse Cycle
CR00
FFFFH

Related parts for UPD784026