Freescale Semiconductor MCF52210 Network Card User Manual


 
General Purpose I/O Module
MCF52211 ColdFire® Integrated Microcontroller Reference Manual, Rev. 2
13-4 Freescale Semiconductor
13.6 Register Descriptions
13.6.1 Port Output Data Registers (PORTn)
The PORTn registers store the data to be driven on the corresponding port n pins when the pins are
configured for digital output.
The PORTn registers with a full 8-bit implementation are shown in Figure 13-2. The remaining PORTn
registers use fewer than 8 bits. Their bit definitions are shown in Figure 13-3, Figure 13-4, Figure 13-5,
and Figure 13-6. The fields are described in Table 13-2, which applies to all PORTn registers.
The PORTn registers are read/write. At reset, all bits in the PORTn registers are set.
Reading a PORTn register returns the current values in the register, not the port n pin values.
PORTn bits can be set by setting the PORTn register, or by setting the corresponding bits in the
PORTnP/SETn register. They can be cleared by clearing the PORTn register, or by clearing the
corresponding bits in the CLRn register.
IPSBAR
Offsets:
0x10_0014 (PORTDD)
0x10_000A (PORTAN)
Access: User read/write
76543210
R
PORTn7 PORTn6 PORTn5 PORTn4PORTn3PORTn2PORTn1PORTn0
W
Reset:11111111
Figure 13-2. Port Output Data Registers with Bits 7:0 Implemented (PORTDD, PORTAN)
IPSBAR
Offsets:
0x10_000E (PORTTA)
0x10_000F (PORTTC)
0x10_0010 (PORTTD)
0x10_0011 (PORTUA)
0x10_0012 (PORTUB)
0x10_0013 (PORTUC)
Access: User read/write
76543210
R 0 0 0 0
PORTn3PORTn2PORTn1PORTn0
W
Reset:00001111
Figure 13-3. Port Output Data Registers with Bits 3:0 Implemented (PORTTA, PORTTC, PORTDD, PORTUA,
PORTUB, PORTUC)