4 memory map and registers, 1 memory map, 2 registers – Motorola ColdFire MCF5281 User Manual

Page 211: 1 eport pin assignment register (eppar), 4 memory map and registers -3, 1 memory map -3 11.4.2 registers -3, 1 eport pin assignment register (eppar) -3

Advertising
background image

Edge Port Module (EPORT)

Freescale Semiconductor

11-3

11.4

Memory Map and Registers

This subsection describes the memory map and register structure.

11.4.1

Memory Map

Refer to

Table 11-2

for a description of the EPORT memory map. The EPORT has an IPSBAR offset for

base address of 0x0013_0000.

11.4.2

Registers

The EPORT programming model consists of these registers:

The EPORT pin assignment register (EPPAR) controls the function of each pin individually.

The EPORT data direction register (EPDDR) controls the direction of each one of the pins
individually.

The EPORT interrupt enable register (EPIER) enables interrupt requests for each pin individually.

The EPORT data register (EPDR) holds the data to be driven to the pins.

The EPORT pin data register (EPPDR) reflects the current state of the pins.

The EPORT flag register (EPFR) individually latches EPORT edge events.

11.4.2.1

EPORT Pin Assignment Register (EPPAR)

Table 11-2. Edge Port Module Memory Map

IPSBAR

Offset

Bits 15–8

Bits 7–0

Access

1

1

S = CPU supervisor mode access only. S/U = CPU supervisor or user mode access. User mode accesses to
supervisor only addresses have no effect and result in a cycle termination transfer error.

0x0013_0000

EPORT Pin Assignment Register (EPPAR)

S

0x0013_0002 EPORT Data Direction Register (EPDDR) EPORT Interrupt Enable Register (EPIER)

S

0x0013_0004

EPORT Data Register (EPDR)

EPORT Pin Data Register (EPPDR)

S/U

0x0013_0006

EPORT Flag Register (EPFR)

Reserved

2

2

Writing to reserved address locations has no effect, and reading returns 0s.

S/U

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Field

EPPA7

EPPA6

EPPA5

EPPA4

EPPA3

EPPA2

EPPA1

Reset

0000_0000_0000_0000

R/W

R/W

R

Address

IPSBAR + 0x0013_0000, 0x0013_0001

Figure 11-2. EPORT Pin Assignment Register (EPPAR)

MCF5282 and MCF5216 ColdFire Microcontroller User’s Manual, Rev. 3

Advertising
This manual is related to the following products: