Pwm Output Enable Register A (Pwoera); Peripheral Clock Select Register (Pcsr) - Renesas H8S/2111B Hardware Manual

Bit single-chip microcomputer h8s family / h8s/2100 series
Table of Contents

Advertisement

8.3.4

PWM Output Enable Register A (PWOERA)

PWOERA switches between PWM output and port output.
Bit
Name
Bit
7
OE7
6
OE6
5
OE5
4
OE4
3
OE3
2
OE2
1
OE1
0
OE0
[Legend]
x:
Don't care
Note:
n = 7 to 0
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

Peripheral Clock Select Register (PCSR)

PCSR selects the PWM input clock.
Bit
Bit Name
7 to 4
3
PWCKC*
2
PWCKB
PWCKA
1
0
Note:
The program development tool (emulator) does not support this function.
Rev. 1.00, 05/04, page 152 of 544
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
Initial
Value
R/W
All 0
R/W
0
R/W
0
R/W
0
R/W
0
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
OEn:
Pin state
0
x:
Port input
1
0:
Port output or PWM 256/256 output
1
1:
PWM output (0 to 255/256 output)
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.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2111b

Table of Contents