Datasheet

Section 9 I/O Ports
Rev. 4.00 Mar. 15, 2006 Page 132 of 556
REJ09B0026-0400
9.5.1 Port Control Register 7 (PCR7)
PCR7 selects inputs/outputs in bit units for pins to be used as general I/O ports of port 7.
Bit Bit Name
Initial
Value R/W Description
7
6
5
4
3
2
1
0
PCR76
PCR75
PCR74
PCR72
PCR71
PCR70
0
0
0
0
0
0
W
W
W
W
W
W
When each of the port 7 pins P76 to P74 and P72 to P70
functions as a general I/O port, setting a PCR7 bit to 1
makes the corresponding pin an output port, while
clearing the bit to 0 makes the pin an input port.
Bits 7 and 3 are reserved bits.
9.5.2 Port Data Register 7 (PDR7)
PDR7 is a general I/O port data register of port 7.
Bit Bit Name
Initial
Value R/W Description
7
6
5
4
3
2
1
0
P76
P75
P74
P72
P71
P70
1
0
0
0
1
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
Stores output data for port 7 pins.
If PDR7 is read while PCR7 bits are set to 1, the value
stored in PDR7 are read. If PDR7 is read while PCR7 bits
are cleared to 0, the pin states are read regardless of the
value stored in PDR7.
Bits 7 and 3 are reserved bits. These bits are always read
as 1.