17-2
MCF5272 User’s Manual
Port Control Registers
17.2 Port Control Registers
The port control registers are used to configure all pins that carry signals multiplexed from
different on-chip modules. Each pin is configured with a two-bit field. Pin functions are
referred to as function 0b00–0b11. The function 0 signals corresponding to GPIO ports A
and B are immediately available after reset.
Wherever a signal function includes a GPIO port bit, the function defaults to an input after
a reset and can be read in the corresponding port data register.
Pin functions are generally grouped logically. For example, all UART1 signals are
multiplexed with port B and have the control register function code of 0b01.
There is no port C control register. Port C is enabled when the 16-bit-wide external data bus
mode is selected at reset by the input level on QSPI_DOUT/WSEL. The port D control
register is used to configure pins that have multiple functions (0b01 through 0b11) but no
GPIO function.
CAUTION:
Do not attempt to program a pin function that is not defined.
Where no function is defined, the function code is labeled
‘Reserved’ and is considered invalid. Programming any control
register field with a reserved value has an unpredictable effect
on the corresponding pin’s operation.
Reserved function codes cannot be reliably read. Attempts to
read them yield undetermined values.
17.2.1 Port A Control Register (PACNT)
PACNT is used to configure pins that source signals multiplexed with GPIO port A.
Table 17-2. GPIO Port Register Memory Map
MBAR
Offset
[31:24]
[23:16]
[15:8]
[7:0]
0x0080
Port A Control Register (PACNT)
0x0084
Port A Data Direction Register (PADDR)
Reserved
0x0086
Port A Data Register (PADAT)
0x0088
Port B Control Register (PBCNT)
0x008C
Port B Data Direction Register (PBDDR)
Reserved
0x008E
Reserved
Port B Data Register (PBDAT)
0x0094
Port C Data Direction Register (PCDDR)
Reserved
0x0096
Reserved
Port C Data Register (PCDAT)
0x0098
Port D Control Register (PDCNT)
Содержание DigitalDNA ColdFire MCF5272
Страница 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Страница 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Страница 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Страница 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Страница 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Страница 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Страница 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Страница 338: ...13 44 MCF5272 User s Manual Application Examples ...
Страница 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Страница 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Страница 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Страница 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...
Страница 548: ...INDEX Index 12 MCF5272 User s Manual ...