h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 290

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 9 8-Bit PWM Timer (PWM)
Table 9.3
Internal Clock
Frequency
9.3.2
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
Each PWDPR selects the PWM output phase.
Bit
7
6
5
4
3
2
1
0
Rev. 3.00 Mar 21, 2006 page 236 of 788
REJ09B0300-0300
/2
/4
/8
/16
PWDPRA
Bit Name
OS7
OS6
OS5
OS4
OS3
OS2
OS1
OS0
PWM Data Registers (PWDR0 to PWDR15)
PWM Data Polarity Registers A and B (PWDPRA, PWDPRB)
Resolution, PWM Conversion Period and Carrier Frequency when = 10 MHz
Initial Value
0
0
0
0
0
0
0
0
Resolution
100 ns
200 ns
400 ns
800 ns
1600 ns
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
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
1: PWM inverted output (PWDR value corresponds to
width of output)
low width of output)
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

Related parts for h8s-2161b