![Freescale Semiconductor ColdFire MCF5211 Reference Manual Download Page 177](http://html1.mh-extra.com/html/freescale-semiconductor/coldfire-mcf5211/coldfire-mcf5211_reference-manual_2330619177.webp)
MCF5213 ColdFire® Integrated Microcontroller Reference Manual, Rev. 3
Freescale Semiconductor
11-1
Chapter 11
General Purpose I/O Module
11.1
Introduction
Many of the pins associated with the external interface may be used for several different functions. When
not used for their primary function, many of the pins may be used as general-purpose digital I/O pins. In
some cases, the pin function is set by the operating mode, and the alternate pin functions are not supported.
The digital I/O pins are grouped into 8-bit ports. Some ports do not use all 8 bits. Each port has registers
that configure, monitor, and control the port pins.
is a block diagram of the MCF5213 ports.
Figure 11-1. General Purpose I/O Module Block Diagram
DDATA[3:0] / PDD[7:4]
PORT QS
PORT AS
PORT DD
PORT UA
PORT UC
PORT TC
PORT TD
PST[3:0] / PDD[3:0]
SDA / PAS[1] / CANRX / RXD2
SCL / PAS[0] / CANTX / TXD2
QSPI_SCK / PQS[2] / SCL / RTS1
QSPI_DIN / PQS[1] / CANRX / RXD1
QSPI_DOUT / PQS[0] / CANTX RXD0
DTIN3 / PTC[3] / DTOUT3 / PWM6
DTIN2 / PTC[2] / DTOUT2 / PWM4
DTIN1 / PTC[1] / DTOUT1 / PWM2
DTIN0 / PTC[0] / DTOUT0 / PWM0
CTS1 / PUB[3] / SYNCA / RXD2
RTS1 / PUB[2] / SYNCB / TXD2
RXD1 / PUB[1]
TXD1 / PUB[0]
CTS0 / PUA[3] / CANRX
RTS0 / PUA[2] / CANTX
RXD0 / PUA[1]
TXD0 / PUA[0]
CTS2 / PUC[3]
RTS2 / PUC[2]
RXD2 / PUC[1]
TXD2 / PUC[0]
PWM7 / PTD[3]
PWM5 / PTD[2]
PWM3 / PTD[1]
PWM1 / PTD[0]
PORT TA
GPT[3] / PTA[3] / PWM7
GPT[2] / PTA[2] / PWM5
GPT[1] / PTA[1] / PWM3
GPT[0] / PTA[0] / PWM1
PORT AN
AN0 / PAN[0]
AN1 / PAN[1]
AN2 / PAN[2]
AN3 / PAN[3]
AN4 / PAN[4]
AN5 / PAN[5]
AN6 / PAN[6]
AN7 / PAN[7]
PORT UB
QSPI_CS0 / PQS[3] / SDA / CTS1
PORT NQ
IRQ1 / PNQ[1] / SYNCA / PWM1
IRQ2 / PNQ[2]
IRQ3 / PNQ[3]
IRQ4 / PNQ[4]
IRQ5 / PNQ[5]
IRQ6 / PNQ[6]
IRQ7 / PNQ[7]
QSPI_CS1 / PQS[4]
QSPI_CS2 / PQS[5]
QSPI_CS3 / PQS[6] / SYNCA / SYNCB