Table 23.3 Port C Data Register (PCDR) Read/Write Operations
PCnMD2 PCnMD1 Pin State
0
0
1
1
0
1
(n = 0 to 15)
23.4
Port D
Port D comprises a 16-bit input/output port with the pin configuration shown in figure 23.4. Each
pin is controlled by the port D control register (PDCR) in the PFC.
Read
Input
Pin state
Output
PCDR value
Reserved
Other functions Pin state
Port D
Figure 23.4 Port D
Write
Data is written to PCDR, but does not affect
pin state.
Data is written to PCDR and the value is
output from the pin.
Data is written to PCDR, but does not affect
pin state.
PTD15 (input/output)/D31 (input/output)
PTD14 (input/output)/D30 (input/output)
PTD13 (input/output)/D29 (input/output)
PTD12 (input/output)/D28 (input/output)
PTD11 (input/output)/D27 (input/output)
PTD10 (input/output)/D26 (input/output)
PTD9 (input/output)/D25 (input/output)
PTD8 (input/output)/D24 (input/output)
PTD7 (input/output)/D23 (input/output)
PTD6 (input/output)/D22 (input/output)
PTD5 (input/output)/D21 (input/output)
PTD4 (input/output)/D20 (input/output)
PTD3 (input/output)/D19 (input/output)
PTD2 (input/output)/D18 (input/output)
PTD1 (input/output)/D17 (input/output)
PTD0 (input/output)/D16 (input/output)
Rev. 4.00 Sep. 14, 2005 Page 849 of 982
Section 23 I/O Ports
REJ09B0023-0400