Chapter 9 Rapid GPIO (RGPIO)

A simplified block diagram of the RGPIO module is shown in Figure 9-3. The details of the pin muxing and pad logic are device-specific.

RGPIO

 

 

 

 

 

module

 

 

 

0

data to module

 

16

16

0

31

address

 

 

31

31

15

 

 

 

 

decode

 

Pin Enables

Direction

Write D ata

Control

 

mux

 

 

 

 

 

16

 

 

 

0 Read D ata

 

31

 

 

 

15

rgpio_enable

rgpio_direction

rgpio_data_out

 

 

rgpio_data_in

 

 

 

 

 

0

 

 

 

 

 

31

 

 

 

 

 

data from module

 

Pin Muxing + Pad Logic

 

 

 

On-platform Bus

RGPIO_DATA[15:0]

Figure 9-3. RGPIO Block Diagram

9.1.2Features

The major features of the RGPIO module providing 16 bits of high-speed general-purpose input/output are summarized below:

Small memory-mapped device connected to the processor’s local bus

All memory references complete in a single cycle to provide zero wait-state responses

Located in processor’s high-speed clock domain

Simple programming model

Four 16-bit registers, mapped as three program-visible locations

Register for pin enables

Register for controlling the pin data direction

Register for storing output pin data

MCF51QE128 MCU Series Reference Manual, Rev. 3

Freescale Semiconductor

197

Get the latest version from freescale.com

Page 197
Image 197
Freescale Semiconductor MCF51QE128RM manual Rgpio, Module, Pin Muxing + Pad Logic On-platform Bus, RGPIODATA150