8.13
Port C
8.13.1
Overview
Port C is a 4-bit input-only port, configured as shown in figure 8-12.
PC3/AN11
PC2/AN10
Port C
PC1/AN9
PC0/AN8
Figure 8-12 Port C Pin Configuration
8.13.2
Register Configuration and Description
Table 8-33 shows the port C register configuration.
Table 8-33 Port C Register
Name
Abbrev.
R/W
Address
Port data register C
PDRC
R
H'FFDF
1. Port data register C (PDRC)
Bit
7
6
5
4
3
2
1
0
—
—
—
—
PC3
PC2
PC1
PC0
Read/Write
—
—
—
—
R
R
R
R
Reading PDRC always gives the pin states.
Reading the pin for which an analog input channel is selected by the AMR CH3 to CH0 of the
A/D converter, "0" is read regardless of the input voltage.
175