
General Purpose I/O Module
13-38
Freescale Semiconductor
13.4
Functional Description
13.4.1
Overview
Initial pin function is determined during reset configuration. The pin assignment registers allow the user
to select among various primary functions and general purpose I/O after reset. Most pins are configured
as GPIO by default. The notable exceptions to this are external bus control pins, address/data pins, and
chip select pins. These pins are configured for their primary functions after reset.
Every GPIO pin is individually configurable as an input or an output via a data direction register
(PDDR_
x
). Every GPIO port has an output data register (PODR_
x
) and a pin data register (PPDSDR_
x
)
to monitor and control the state of its pins. Data written to a PODR_
x
register is stored and then driven to
the corresponding port
x
pins configured as outputs.
Reading a PODR_
x
register returns the current state of the register regardless of the state of the
corresponding pins. Reading a PPDSDR_
x
register returns the current state of the corresponding pins
when configured as general purpose I/O, regardless of whether the pins are inputs or outputs.
Every GPIO port has a PPDSDR_
x
register and a clear register (PCLRR_
x
) for setting or clearing
individual bits in the PODR_
x
register. Initial pin output drive strength is determined during reset
configuration. The DSCR_
x
registers allow the pin drive strengths to be configured on a per-function basis
after reset.
13.4.2
Port Digital I/O Timing
Input data on all pins configured as general purpose input is synchronized to the rising edge of the bus
clock, FB_CLK, as shown in
Figure 13-52. General Purpose Input Timing
Data written to the PODR_
x
register of any pin configured as a general purpose output is immediately
driven to its respective pin, as shown in
FB_CLK
Pin Data
Input
Register
Pin
MCF5329 Reference Manual, Rev 3
Содержание MCF5329
Страница 106: ...ColdFire Core 3 32 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 126: ...Enhanced Multiply Accumulate Unit EMAC 4 20 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 148: ...Cache 5 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 154: ...Static RAM SRAM 6 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 184: ...Power Management 8 18 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 204: ...Reset Controller Module 10 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 220: ...System Control Module SCM 11 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 228: ...Crossbar Switch XBS 12 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 268: ...General Purpose I O Module 13 40 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 392: ...SDRAM Controller SDRAMC 18 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 436: ...Fast Ethernet Controller FEC 19 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 564: ...Liquid Crystal Display Controller LCDC 22 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 594: ...FlexCAN 23 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 678: ...Pulse Width Modulation PWM Module 26 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 684: ...Watchdog Timer Module 27 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 692: ...Programmable Interrupt Timers PIT0 PIT3 28 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 704: ...DMA Timers DTIM0 DTIM3 29 12 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 720: ...Queued Serial Peripheral Interface QSPI 30 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 754: ...UART Modules 31 34 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 770: ...I2 C Interface 32 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 790: ...Message Digest Hardware Accelerator MDHA 33 20 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 866: ...Debug Module 36 50 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 902: ...Register Memory Map Quick Reference A 26 Freescale Semiconductor MCF5329 Reference Manual Rev 3...