Port D Registers - Motorola MPC823e Reference Manual

Microprocessor for mobile computing
Table of Contents

Advertisement

16.14.11 Port D Registers

Port D has three 16-bit, memory-mapped, read/write control registers.
16.14.11.1 PORT D DATA REGISTER. A read of the port D data (PDDAT) register returns
the data on the pins, regardless of whether the pins are an input or an output. This allows
output conflicts to be found on the pins by comparing the written data with the data on the
pins. A write to the PDDIR is latched, and if that bit in the PDDIR is configured as an output,
the value latched for that bit will be driven onto its respective pin. PDDAT can be read or
written at any time. PDDAT is not initialized and is undefined by reset.
PDDAT
BIT
0
1
2
FIELD
RESERVED
RESET
R/W
R/W
ADDR
NOTE: — = Undefined.
Bits 0–2—Reserved
These bits are reserved and must be set to 0.
D3–15—Data Pins 3–15
These bits contain data can be read or written from the port D pins.
16.14.11.2 PORT D DATA DIRECTION REGISTER. The port D data direction register
(PDDIR) is cleared at system reset.
PDDIR
BIT
0
1
2
FIELD
RESERVED
RESET
0
R/W
R/W
ADDR
Bits 0–2—Reserved
These bits are reserved and must be set to 0.
DR3–DR15—Data Direction Pins 3–15
0 = The corresponding pin is an input.
1 = The corresponding pin is an output.
MOTOROLA
3
4
5
6
7
D3
D4
D5
D6
D7
R/W
R/W
R/W
R/W
R/W
(IMMR & 0xFFFF0000) + 0x976
3
4
5
6
7
DR3
DR4
DR5
DR6
DR7
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
(IMMR & 0xFFFF0000) + 0x970
MPC823e REFERENCE MANUAL
Communication Processor Module
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
16-497

Advertisement

Table of Contents
loading

Table of Contents