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

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
8.5.2
P4DR stores output data for port 4.
8.5.3
Bit
7
6
5
4
3
2
1
0
OEB
P47DDR
Pin Function
OEA
P46DDR
Pin Function
P47/PWX1
The pin function is switched as shown below according to the combination of the OEB bit in
DACR of the 14-bit PWM and the P47DDR bit.
P46/PWX0
The pin function is switched as shown below according to the combination of the OEA bit in
DACR of the 14-bit PWM and the P46DDR bit.
Bit Name
P47DR
P46DR
P45DR
P44DR
P43DR
P42DR
P41DR
P40DR
Port 4 Data Register (P4DR)
Pin Functions
Initial Value
0
0
0
0
0
0
0
0
P47 input pin
P46 input pin
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0
0
Description
If a port 4 read is performed while P4DDR bits are
set to 1, the P4DR values are read directly,
regardless of the actual pin states. If a port 4 read
is performed while P4DDR bits are cleared to 0,
the pin states are read.
P47 output pin
P46 output pin
1
1
Rev. 3.00 Mar 21, 2006 page 183 of 788
PWX1 output pin
PWX0 output pin
Section 8 I/O Ports
REJ09B0300-0300
1
1

Related parts for h8s-2161b