Datasheet

Table Of Contents
Section 9 I/O Ports
Rev. 2.00 Jul. 04, 2007 Page 178 of 692
REJ09B0309-0200
9.6 Port 7
Port 7 is an I/O pins; its pins can also be configured to function as LCD segment output pins.
Figure 9.6 shows the pin configuration.
P75/SEG22
P76/SEG23
P77/SEG24
Port 7
P70/SEG17
P74/SEG21
P73/SEG20
P72/SEG19
P71/SEG18
Figure 9.6 Port 7 Pin Configuration
Port 7 has the following registers.
Port data register 7 (PDR7)
Port control register 7 (PCR7)
9.6.1 Port Data Register 7 (PDR7)
PDR7 is a register that stores data of port 7.
Bit Bit Name
Initial
Value
R/W Description
7
6
5
4
3
2
1
0
P77
P76
P75
P74
P73
P72
P71
P70
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
If port 7 is read while PCR7 bits are set to 1, the values
stored in PDR7 are read, regardless of the actual pin
states. If port 7 is read while PCR7 bits are cleared to 0,
the pin states are read.