h8s-2169 Renesas Electronics Corporation., h8s-2169 Datasheet - Page 250

no-image

h8s-2169

Manufacturer Part Number
h8s-2169
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 8 I/O Ports
Port 4 Data Direction Register (P4DDR)
P4DDR is an 8-bit write-only register, the individual bits of which specify input or output for the
pins of port 4. P4DDR cannot be read; if it is, an undefined value will be returned.
When a bit in P4DDR is set to 1, the corresponding pin functions as an output port, and when
cleared to 0, as an input port.
P4DDR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode. As 14-bit PWM and SCI2 are initialized in software standby mode, the
pin states are determined by the TMR0, TMR1, XBS, IIC1, P4DDR, and P4DR specifications.
Port 4 Data Register (P4DR)
P4DR is an 8-bit readable/writable register that stores output data for the port 4 pins (P47 to P40).
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.
P4DR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode.
Rev. 3.00 Jan 18, 2006 page 222 of 1044
REJ09B0280-0300
Bit
Initial value
Read/Write
Bit
Initial value
Read/Write
P47DR
P47DDR
R/W
7
0
W
7
0
P46DR
P46DDR
R/W
6
0
W
6
0
P45DR
P45DDR
R/W
5
0
W
5
0
P44DR
P44DDR
R/W
4
0
W
4
0
P43DR
P43DDR
R/W
3
0
W
3
0
P42DR
P42DDR
R/W
2
0
W
2
0
P41DR
P41DDR
R/W
1
0
W
1
0
P40DR
P40DDR
R/W
0
0
W
0
0

Related parts for h8s-2169