Communication Processor Module
16-492
MPC823e REFERENCE MANUAL
MOTOROLA
PORTS
COMMUNICATION
16
PROCESSOR MODULE
16.14.9.1 PORT C DATA REGISTER.
A read of the port C data register (PCDAT) returns
the data to the pin, regardless of whether the pin is defined as an input or output. This allows
output conflicts to be found on the pin by comparing the written data with the data on the pin.
A write to the PCDAT is latched and if that bit in the PCDIR is configured as an output, the
value latched for that bit is driven onto its respective pin. PCDAT can be read or written at
any time, is not initialized, and is undefined at reset.
Bits 0–3—Reserved
These bits are reserved and must be set to 0.
D4–15—Data Pins 4–15
These bits contain data can be read or written from the port C pins.
16.14.9.2 PORT C DATA DIRECTION REGISTER.
The port C data direction register
(PCDIR) is a 16-bit register that is cleared by system reset.
Bits 0–3—Reserved
These bits are reserved and must be set to 0.
DR4–DR15—Data Direction Pins 4–15
0 = The corresponding pin is an input.
1 = The corresponding pin is an output.
PCDAT
BIT
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
FIELD
RESERVED D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15
RESET
0000————————————
R/W
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
ADDR
(IMMR & 0xFFFF0000) + 0x966
NOTE: — = Undefined.
PCDIR
BIT
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
FIELD
RESERVED DR4 DR5 DR6 DR7 DR8 DR9 DR10 DR11 DR12 DR13 DR14 DR15
RESET
0000000000000000
R/W
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
ADDR
(IMMR & 0xFFFF0000) + 0x960