Memory Map and Registers

11.4 Memory Map and Registers

This subsection describes the memory map and register structure.

11.4.1 Memory Map

Refer to Table 11-2for a description of the EPORT memory map. The EPORT has an IPSBAR offset for base address of 0x0013_0000.

Table 11-2. Edge Port Module Memory Map

IPSBAR

Bits 15–8

Bits 7–0

Access 1

Offset

 

 

 

 

 

 

 

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

S/U

1S = 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.

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

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.

MOTOROLA

Chapter 11. Edge Port Module (EPORT)

11-3

Page 249
Image 249
Motorola MCF5281, MCF5282 user manual Registers, Edge Port Module Memory Map, Bits Access