Motorola MCF5282, MCF5281 user manual Port Data Direction Register 7-bit

Models: MCF5282 MCF5281

1 816
Download 816 pages 28.97 Kb
Page 568
Image 568

Memory Map/Register Definition

Field

Reset

R/W: Address

Field

Reset

R/W: Address

Field

Reset

R/W: Address

7

 

6

 

 

 

 

 

 

 

 

 

0

 

DDRn6

 

DDRn5

 

DDRn4

DDRn3

 

DDRn2

 

DDRn1

DDRn0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0000_0000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R

 

 

 

 

 

 

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IPSBAR + 0x10_0021(DDRQS)

 

 

 

 

 

 

 

 

 

 

 

Figure 26-7. Port Data Direction Register (7-bit)

 

 

7

 

6

5

4

3

 

2

 

1

0

 

 

 

 

 

 

 

 

 

 

 

 

DDRn5

 

DDRn4

DDRn3

 

DDRn2

 

DDRn1

DDRn0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0000_0000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R

 

 

 

 

 

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IPSBAR + 0x10_0020 (DDRAS), 0x10_0022 (DDRSD)

 

 

 

 

 

 

 

 

 

Figure 26-8. Port Data Direction Registers (6-bit)

 

 

7

 

 

 

 

4

3

 

2

 

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DDRn3

 

DDRn2

 

DDRn1

DDRn0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0000_0000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R

 

 

 

 

R/W

 

 

 

 

 

 

 

IPSBAR + 0x10_0023 (DDRTC), 0x10_0024 (DDRTD), 0x10_0025 (DDRUA)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 26-9. Port Data Direction Registers (4-bit)

Table 26-4. DDRn (8-bit, 6-bit, and 4-bit) Field Descriptions

Register

Bits

Name

Description

 

 

 

 

8-bit

7–0

DDRnx

Port n data direction bits.

 

 

 

1 Port n pin configured as an output

7-bit

6–0

 

 

0 Port n pin configured as an input

 

 

 

6-bit

5–0

 

 

 

 

 

 

4-bit

3–0

 

 

 

 

 

 

7-bit

7

Reserved, should be cleared.

 

 

 

 

6-bit

7–6

 

 

 

 

 

 

4-bit

7–4

 

 

 

 

 

 

26-10

MCF5282 User’s Manual

MOTOROLA

Page 568
Image 568
Motorola MCF5282, MCF5281 user manual Port Data Direction Register 7-bit