h8s-2111b Renesas Electronics Corporation., h8s-2111b Datasheet - Page 186

no-image

h8s-2111b

Manufacturer Part Number
h8s-2111b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
8.3.4
PWOERA switches between PWM output and port output.
[Legend]
x:
Note:
To perform PWM 256/256 output when DDR = 1 and OE = 0, the corresponding pin should be set
to port output.
DR data is output when the corresponding pin is used as port output. A value corresponding to
PWM 256/256 output is determined by the OS bit, so the value should have been set to DR
beforehand.
8.3.5
PCSR selects the PWM input clock.
Note:
Rev. 1.00, 05/04, page 152 of 544
Bit
7
6
5
4
3
2
1
0
Bit
7 to 4
3
2
1
0
Don't care
n = 7 to 0
The program development tool (emulator) does not support this function.
Bit Name
PWCKC*
PWCKB
PWCKA
PWM Output Enable Register A (PWOERA)
Peripheral Clock Select Register (PCSR)
Bit
Name
OE7
OE6
OE5
OE4
OE3
OE2
OE1
OE0
Initial
Value
0
0
0
0
0
0
0
0
Initial
Value
All 0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Description
Output Enable 7 to 0
These bits, together with P1DDR, specify the P1n/PWn
pin state. Bits OE7 to OE0 correspond to outputs PW7
to PW0.
P1nDDR
0
1
1
Description
Reserved
These bits cannot be modified.
PWM Clock Select C, B, A
Together with bits PWCKE and PWCKS in PWSL,
these bits select the internal clock input to the clock
counter in the PWM. For details, see table 8.2.
Reserved
These bits cannot be modified.
OEn:
x:
0:
1:
Pin state
Port input
Port output or PWM 256/256 output
PWM output (0 to 255/256 output)

Related parts for h8s-2111b