Datasheet
Section 9 I/O Ports
Rev.5.00 Nov. 02, 2005 Page 119 of 418
REJ09B0028-0500
9.3.2 Port Control Register 5 (PCR5)
PCR5 selects inputs/outputs in bit units for pins to be used as general I/O ports of port 5.
Bit Bit Name
Initial
Value R/W Description
7
6
5
4
3
2
1
0
PCR57
PCR56
PCR55
PCR54
PCR53
PCR52
PCR51
PCR50
0
0
0
0
0
0
0
0
W
W
W
W
W
W
W
W
When each of the port 5 pins P57 to P50 functions as an
general I/O port, setting a PCR5 bit to 1 makes the
corresponding pin an output port, while clearing the bit to
0 makes the pin an input port.
Note: The PCR57 and PCR56 bits should not be set to 1
in the H8/3694N.
9.3.3 Port Data Register 5 (PDR5)
PDR5 is a general I/O port data register of port 5.
Bit Bit Name
Initial
Value R/W Description
7
6
5
4
3
2
1
0
P57
P56
P55
P54
P53
P52
P51
P50
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Stores output data for port 5 pins.
If PDR5 is read while PCR5 bits are set to 1, the value
stored in PDR5 are read. If PDR5 is read while PCR5 bits
are cleared to 0, the pin states are read regardless of the
value stored in PDR5.
Note: The P57 and P56 bits should not be set to 1 in the
H8/3694N.










