UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 408

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
13.2.2 PWM Prescaler Register (PWPR)
13.2.3 PWM Modulo Registers (PWM0, PWM1)
Reads/writes by a 16-bit manipulation instruction only are possible for data setting.
no meaning, and PWM output is not affected whether 1 or 0 is written to these bits.
output is enabled.
368
The PWPR is an 8-bit register that selects the PWM output circuit operating clock (f
The PWPR can be read or written to with an 8-bit manipulation instruction. Its format is shown in Figure 13-3.
When RESET is input, PWPR is cleared to 00H, and f
The PWM modulo register 16-bit register (PWMn: n = 0, 1) is a 16-bit register that determines the PWM pulse width.
The contents of bits 4 to 15 of the PWMn determines the 12-bit PWM pulse width (12-bit resolution). Bits 3 to 0 have
When RESET is input, the PWMn content are undefined, and therefore data must be set by the program before PWM
Caution A value between 0000H and 00FFH should not be set in the PWM modulo registers (PWMn: n = 0, 1).
PWPR
A value between 0100H and FFFFH should be set in the PWMn registers. Outputtable PWM signal duty
values are 17/4096 to 4096/4096.
7
0
PWP12
6
PWP11
5
Figure 13-3 PWM Prescaler Register (PWPR) Format
PWP10
4
CHAPTER 13 PWM OUTPUT UNIT
3
0
PWP02
2
PWPn2
Other than the above
0
0
0
0
1
PWP01
1
CLK
PWPn1
is selected as f
PWP00
0
0
1
1
0
0
PWPn0
0
1
0
1
0
0FF71H
Address
PWMn Operating
f
f
f
f
Setting prohibited
CLK
CLK
CLK
CLK
PWMC
Clock (f
/2
/3
/4
On Reset
for both channels.
00H
PWMC
)
PWMC
PWMn Repetition Frequency
R/W
R/W
f
f
f
f
).
CLK
CLK
CLK
CLK
/256 (48.8 kHz)
/512 (24.4 kHz)
/768 (16.3 kHz)
/1028 (12.2 kHz)
(f
CLK
= 12.5 MHz)
(n = 0, 1)

Related parts for UPD784026