8.12
Port C
Port C is an 8-bit I/O port. Port C pins also function as the wake-up event inputs, noise cancel
input pins, and LPC input/output pins. Port C has the following registers. PCDDR and PCPIN
have the same address.
• Port C data direction register (PCDDR)
• Port C output data register (PCODR)
• Port C input data register (PCPIN)
• Port C Nch-OD control register (PCNOCR)
• Noise canceller enable register (PCNCE)
• Noise canceller decision control register (PCNCMC)
• Noise cancel cycle setting register (PCNCCS)
8.12.1
Port C Data Direction Register (PCDDR)
The individual bits of PCDDR specify input or output for the pins of port C.
Bit
Bit Name
7
PC7DDR
6
PC6DDR
5
PC5DDR
4
PC4DDR
3
PC3DDR
2
PC2DDR
1
PC1DDR
0
PC0DDR
Initial Value
R/W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
Description
The corresponding port C pins are output ports
when the PCDDR bits are set to 1, and input ports
when cleared to 0.
Rev. 3.00 Jul. 14, 2005 Page 209 of 986
Section 8 I/O Ports
REJ09B0098-0300