Datasheet
Section 10 I/O Ports
Rev. 6.00 Mar. 18, 2010 Page 322 of 982
REJ09B0054-0600
10.4 Port 7
Port 7 is an 8-bit I/O port and has the following registers.
• Port 7 data direction register (P7DDR)
• Port 7 data register (P7DR)
• Port 7 register (PORT7)
10.4.1 Port 7 Data Direction Register (P7DDR)
P7DDR specifies input or output of the port 7 pins using the individual bits. P7DDR cannot be
read; if it is, an undefined value will be read. This register is a write-only register, and cannot be
written by bit manipulation instruction. For details, see section 2.9.4, Access Methods for
Registers with Write-Only Bits.
Bit Bit Name Initial Value R/W Description
7 P77DDR 0 W
6 P76DDR 0 W
5 P75DDR 0 W
4 P74DDR 0 W
3 P73DDR 0 W
2 P72DDR 0 W
1 P71DDR 0 W
When a pin is specified as a general purpose I/O port,
setting this bit to 1 makes the corresponding port 7
pin an output pin. Clearing this bit to 0 makes the pin
an input pin.
0 P70DDR 0 W