h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 302

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 9 8-Bit PWM Timers [H8S/2138 Group]
9.2.5
PCSR is an 8-bit readable/writable register that selects the PWM timer input clock.
PCSR is initialized to H'00 by a reset, and in hardware standby mode.
Bits 7 to 3—Reserved: These bits cannot be modified and are always read as 0.
Bits 2 and 1—PWM Clock Select (PWCKB, PWCKA): Together with bits PWCKE and
PWCKS in PWSL, these bits select the internal clock input to TCNT in the PWM timer. For
details, see section 9.2.1, PWM Register Select (PWSL).
Bit 0—Reserved: Do not set this bit to 1.
9.2.6
P1DDR is an 8-bit write-only register that specifies the input/output direction and PWM output for
each pin of port 1 on a bit-by-bit basis.
Port 1 pins are multiplexed with pins PW0 to PW7. The bit corresponding to a pin to be used for
PWM output should be set to 1.
For details on P1DDR, see section 8.2, Port 1.
Rev. 4.00 Jun 06, 2006 page 248 of 1004
REJ09B0301-0400
Bit
Initial value
Read/Write
Bit
Initial value
Read/Write
Peripheral Clock Select Register (PCSR)
Port 1 Data Direction Register (P1DDR)
P17DDR
W
7
0
7
0
P16DDR
W
6
0
6
0
P15DDR
W
5
0
5
0
P14DDR
W
4
0
4
0
P13DDR
W
3
0
3
0
P12DDR
PWCKB
R/W
W
2
0
2
0
P11DDR
PWCKA
R/W
W
1
0
1
0
P10DDR
W
0
0
0
0

Related parts for h8s-2138