
LH75400/01/10/11 (Preliminary) User’s Guide
General Purpose Input/Output
6/17/03
21-11
21.2.3.8 Port D Data Direction Register
PDDDR is the Port D Data Direction Register. The active bits used in this register are
Read/Write.
Bits set in the PDDDR set the corresponding PD pin to be an output:
• Bit [6] controls pin 72 when the pin is configured as PD6. It does not control pin 72 when
the pin is configured as INT6 or DREQ.
• Bit [5] controls pin 73 when the pin is configured as PD5. It does not control pin 73 when
the pin is configured as INT5 or DACK.
• Bit [4] controls pin 74 when the pin is configured as PD4. It does not control pin 74 when
the pin is configured as INT4 or UARTRX1.
• Bit [3] controls pin 76 when the pin is configured as PD3. It does not control pin 76 when
the pin is configured as INT3 or UARTTX1.
• Bit [2] controls pin 77 when the pin is configured as PD2. It does not control pin 77 when
the pin is configured as INT2.
• Bit [1] controls pin 78 when the pin is configured as PD1. It does not control pin 78 when
the pin is configured as INT1.
• Bit [0] controls pin 79 when the pin is configured as PD0. It does not control pin 79 when
the pin is configured as INT0.
Clearing a bit configures the pin to be an input. A System Reset clears all bits.
Table 21-17. PDDDR Register
BIT
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
FIELD
///
RESET
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
RW
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
BIT
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
FIELD
///
Port D Data Direction
RESET
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
RW
R
R
R
R
R
R
R
R
R
RW
RW
RW
RW
RW
RW
RW
ADDR
0xFF 0x0C
Table 21-18. PDDDR Register Definitions
BITS
NAME
FUNCTION
31:7
///
Reserved
Writing to these bits has no effect. Reading returns 0.
6:0
Port D Data Direction
Port D Output/Input
Bits set = Port D output.
Bits cleared = Port D input.