Datasheet

Table Of Contents
Section 9 I/O Ports
Rev. 2.00 Jul. 04, 2007 Page 194 of 692
REJ09B0309-0200
9.11 Port C
Port C is an I/O port; its pins can also be configured to function as LCD segment output pins.
Figure 9.11 shows the pin configuration.
PC5/SEG38
PC6/SEG39
PC7/SEG40
PC0/SEG33
PC4/SEG37
PC3/SEG36
PC2/SEG35
PC1/SEG34
Port C
Figure 9.11 Port C Pin Configuration
Port C has the following registers.
Port data register C (PDRC)
Port control register C (PCRC)
9.11.1 Port Data Register C (PDRC)
PDRC is a register that stores data of port C.
Bit Bit Name
Initial
Value
R/W Description
7
6
5
4
3
2
1
0
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
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 C is read while PCRC bits are set to 1, the values
stored in PDRC are read, regardless of the actual pin
states. If port C is read while PCRC bits are cleared to
0, the pin states are read.