English
Language : 

HD64F2145 Datasheet, PDF (262/829 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
Table 9.3 Resolution, PWM Conversion Period and Carrier Frequency when ø = 10 MHz
Internal Clock
Frequency
ø
ø/2
ø/4
ø/8
ø/16
Resolution
100 ns
200 ns
400 ns
800 ns
1600 ns
PWM Conversion
Period
25.6 µs
51.2 µs
102.4 µs
204.8 µs
409.6 µs
Carrier Frequency
625 kHz
312.5 kHz
156.3 kHz
78.1 kHz
39.1 kHz
9.3.2 PWM Data Registers (PWDR0 to PWDR15)
PWDR are 8-bit readable/writable registers. The PWM has sixteen PWM data registers. Each
PWDR specifies the duty cycle of the basic pulse to be output, and the number of additional
pulses. The value set in PWDR corresponds to a 0 or 1 ratio in the conversion period. The upper
four bits specify the duty cycle of the basic pulse as 0/16 to 15/16 with a resolution of 1/16. The
lower four bits specify how many extra pulses are to be added within the conversion period
comprising 16 basic pulses. Thus, a specification of 0/256 to 255/256 is possible for 0/1 ratios
within the conversion period. For 256/256 (100%) output, port output should be used. PWDR0 to
PWDR15 are initialized to H’00.
9.3.3 PWM Data Polarity Registers A and B (PWDPRA, PWDPRB)
Each PWDPR selects the PWM output phase.
• PWDPRA
Bit Bit Name
7 OS7
6 OS6
5 OS5
4 OS4
3 OS3
2 OS2
1 OS1
0 OS0
Initial Value R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
Description
Output Select 7 to 0
These bits select the PWM output phase. Bits OS7 to
OS0 correspond to outputs PW7 to PW0.
0: PWM direct output (PWDR value corresponds to high
width of output)
1: PWM inverted output (PWDR value corresponds to
low width of output)
Rev. 2.0, 08/02, page 222 of 788