English
Language : 

HD64F3687HV Datasheet, PDF (158/538 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Tiny Series
Section 9 I/O Ports
9.4.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.
Initial
Bit
Bit Name Value R/W Description
7
PCR57 0
6
PCR56 0
5
PCR55 0
4
PCR54 0
3
PCR53 0
W
When each of the port 5 pins P57 to P50 functions as a
W
general I/O port, setting a PCR5 bit to 1 makes the
corresponding pin an output port, while clearing the bit to
W
0 makes the pin an input port.
W
Note: The PCR57 and PCR56 bits should not be set to 1
W
in the H8/3687N.
2
PCR52 0
W
1
PCR51 0
W
0
PCR50 0
W
9.4.3 Port Data Register 5 (PDR5)
PDR5 is a general I/O port data register of port 5.
Initial
Bit
Bit Name Value R/W Description
7
P57
0
R/W Stores output data for port 5 pins.
6
P56
0
5
P55
0
4
P54
0
3
P53
0
2
P52
0
R/W If PDR5 is read while PCR5 bits are set to 1, the value
R/W stored in PDR5 are read. If PDR5 is read while PCR5 bits
are cleared to 0, the pin states are read regardless of the
R/W value stored in PDR5.
R/W Note: The P57 and P56 bits should not be set to 1 in the
R/W
H8/3687N.
1
P51
0
R/W
0
P50
0
R/W
Rev.5.00 Nov. 02, 2005 Page 124 of 500
REJ09B0027-0500