h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 281

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
9.5.2
P5DR stores output data for the port 5 pins.
9.5.3
The relationship between register setting values and pin functions are as follows. In the tables, the
symbol “—” stands for Don't care.
Bit
7
6
5
4
3
2
1
0
OEB
P57DDR
Pin function
P57/IRQ15/PWX1
The pin function is switched as shown below according to the combination of the OEB bit in
DACR of PWMX and the P57DDR bit.
When the IRQ15E bit in IER16 of the interrupt controller is set to 1 or the ISS15 bit in ISSR16
is cleared to 0, this pin can be used as the IRQ15 input pin. To use this pin as the IRQ15 input
pin, clear the P57DDR bit to 0.
Bit Name
P57DR
P56DR
P55DR
P54DR
P53DR
P52DR
P51DR
P50DR
Port 5 Data Register (P5DR)
Pin Functions
Initial Value
0
0
0
0
0
0
0
0
P57 input pin
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0
P5DR stores output data for the port 5 pins that
are used as the general output port.
If a port 5 read is performed while the P5DDR bits
are set to 1, the P5DR values are read. If a port 5
read is performed while the P5DDR bits are
cleared to 0, the pin states are read.
Description
IRQ15 input pin
P57 output pin
1
Rev. 3.00 Jan 25, 2006 page 229 of 872
PWX1 output pin
Section 9 I/O Ports
REJ09B0286-0300
1

Related parts for h8s-2158