General Purpose I/O Module
MCF52110 ColdFire® Integrated Microcontroller Reference Manual, Rev. 1
13-4
Freescale Semiconductor
Preliminary
13.6
Register Descriptions
13.6.1
Port Output Data Registers (PORT
n
)
The PORT
n
registers store the data to be driven on the corresponding port
n
pins when the pins are
configured for digital output.
The PORT
n
registers with a full 8-bit implementation are shown in
n
registers use fewer than 8 bits. Their bit definitions are shown in
and
n
registers.
The PORT
n
registers are read/write. At reset, all bits in the PORT
n
registers are set.
Reading a PORT
n
register returns the current values in the register, not the port
n
pin values.
PORT
n
bits can be set by setting the PORT
n
register, or by setting the corresponding bits in the
PORT
n
P/SET
n
register. They can be cleared by clearing the PORT
n
register, or by clearing the
corresponding bits in the CLR
n
register.
IPSBAR
Offsets:
0x10_0014 (PORTDD)
0x10_000A (PORTAN)
Access: User read/write
7
6
5
4
3
2
1
0
R
PORT
n
7
PORT
n
6
PORT
n
5
PORT
n
4
PORT
n
3
PORT
n
2
PORT
n
1
PORT
n
0
W
Reset:
1
1
1
1
1
1
1
1
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
7
6
5
4
3
2
1
0
R
0
0
0
0
PORT
n
3
PORT
n
2
PORT
n
1
PORT
n
0
W
Reset:
0
0
0
0
1
1
1
1
Figure 13-3. Port Output Data Registers with Bits 3:0 Implemented (PORTTA, PORTTC, PORTDD, PORTUA,
PORTUB, PORTUC)