Motorola MPC823e Reference Manual page 946

Microprocessor for mobile computing
Table of Contents

Advertisement

Communication 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.
PCDAT
BIT
0
1
2
FIELD
RESERVED
RESET
0
0
0
R/W
R/W
R/W
R/W
ADDR
NOTE: — = Undefined.
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.
PCDIR
BIT
0
1
2
FIELD
RESERVED
RESET
0
0
0
R/W
R/W
R/W
R/W
ADDR
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.
16-492
3
4
5
6
7
D4
D5
D6
D7
0
R/W
R/W
R/W
R/W
R/W
(IMMR & 0xFFFF0000) + 0x966
3
4
5
6
7
DR4
DR5
DR6
DR7
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
(IMMR & 0xFFFF0000) + 0x960
MPC823e REFERENCE MANUAL
8
9
10
11
12
D8
D9
D10
D11
D12
R/W
R/W
R/W
R/W
R/W
8
9
10
11
12
DR8
DR9 DR10 DR11 DR12 DR13 DR14 DR15
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
13
14
15
D13
D14
D15
R/W
R/W
R/W
13
14
15
0
0
0
R/W
R/W
R/W
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents