English
Language : 

H8S78 Datasheet, PDF (541/1208 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2300 Series
Section 10 I/O Ports
10.2.2 Port 2 Data Register (P2DR)
P2DR stores output data for the port 2 pins.
Bit Bit Name
7 P27DR
6 P26DR
5 P25DR
4 P24DR
3 P23DR
2 P22DR
1 P21DR
0 P20DR
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
Description
Output data for a pin is stored when the pin function
is specified to a general purpose I/O.
10.2.3 Port 2 Register (PORT2)
PORT2 shows the pin states.
PORT2 cannot be modified.
Bit Bit Name Initial Value R/W Description
7 P27
⎯*
6 P26
⎯*
5 P25
⎯*
4 P24
⎯*
R
If a port 2 read is performed while P2DDR bits are
R
set to 1, the P2DR values are read. If a port 2 read
is performed while P2DDR bits are cleared to 0, the
R
pin states are read.
R
3 P23
⎯*
R
2 P22
⎯*
R
1 P21
⎯*
R
0 P20
⎯*
R
Note: * Determined by the states of pins P27 to P20.
Rev.7.00 Mar. 18, 2009 page 473 of 1136
REJ09B0109-0700