English
Language : 

HD64F3670 Datasheet, PDF (124/323 Pages) Renesas Technology Corp – Hitachi Single-Chip Microcomputer
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
7 PCR57 0
W
6 PCR56 0
W
5 PCR55 0
W
4 PCR54 0
W
3 PCR53 0
W
2 PCR52 0
W
1 PCR51 0
W
0 PCR50 0
W
Description
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.
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
7 P57
0
R/W
6 P56
0
R/W
5 P55
0
R/W
4 P54
0
R/W
3 P53
0
R/W
2 P52
0
R/W
1 P51
0
R/W
0 P50
0
R/W
Description
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.
Rev. 2.0, 03/02, page 100 of 298