Programming Model
MOTOROLA
GPIO Module and I/O Multiplexer (IOMUX)
32-7
32.5 Programming Model
There are four sets of control registers corresponding to the four GPIO ports. Each port has 17 registers
associated with it, located at sequential addresses in the memory map. Table 32-4 summarizes these
registers and their addresses.
The starting address of each register set is known as the
base address
and is referred to by the term
$BA
.
The base addresses for the four GPIO ports are as follows:
•
GPIO Port A $BA = 0x0021C000
•
GPIO Port B $BA = 0x0021C100
•
GPIO Port C $BA = 0x0021C200
•
GPIO Port D $BA = 0x0021C300
A19
ETMPIPESTAT[
3]
–
–
–
–
–
–
A19
A20
ETMPIPESTAT[
0]
–
–
–
–
–
–
A20
A21
ETMPIPESTAT[
1]
–
–
–
–
–
–
A21
A22
ETMPIPESTAT[
2]
–
–
–
–
–
–
A22
A23
ETMTRACECLK
–
–
–
–
–
–
A23
A24
ETMTRACESYN
C
PA0
SPI2_CL
K
–
–
–
–
A24
DTACK
ETMTRACEPKT
[4]
PA17
SPI2_SS
A25
–
–
–
PA17
TIN
–
PA1
–
–
––
SPI2_RXD
–
PA1
TOUT2
–
PD31
–
SPI2_TX
D
–
–
–
PD31
SPL_SPR
UART2_DSR
PD10
SPI2_TX
D
–
–
–
–
PD10
PS
UART2_RI
PD9
–
–
–
SPI2_RXD
–
PD9
CLS
UART2_DCD
PD8
SPI2_SS
–
–
–
–
PD8
REV
UART2_DTR
PD7
SPI2_CL
K
–
–
–
–
PD7
SPI_RDY
–
PC13
–
–
–
DMA_DRE
Q
–
PC13
Table 32-3. GPIO Multiplexing Table with AIN, BIN, CIN, AOUT, and BOUT (Continued)
Primary
Signal
Alternate Signal
GPIO
Mux
AIN[i]
BIN[i]
CIN[
i]
AOUT[i]
BOUT[
i]
Defau
lt
Содержание DragonBall MC9328MX1
Страница 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Страница 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Страница 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Страница 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Страница 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Страница 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Страница 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Страница 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Страница 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Страница 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Страница 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Страница 542: ...20 64 MC9328MX1 Reference Manual MOTOROLA Multimedia Card Secure Digital Host Controller Module MMC SD ...
Страница 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Страница 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Страница 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Страница 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Страница 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Страница 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Страница 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Страница 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...