English
Language : 

MMC2107 Datasheet, PDF (251/618 Pages) –
Freescale Semiconductor, Inc.
Ports Module
Memory Map and Registers
11.4.2 Register Descriptions
This subsection provides a description of the I/O port registers.
11.4.2.1 Port Output Data Registers
The port output data registers (PORTx) store the data to be driven on the
corresponding port x pins when the pins are configured for digital output.
Reading PORTx returns the current value in the register, not the port x
pin values.
The SETx and CLRx registers also affect the PORTx register bits. To set
bits in PORTx, write 1s to the corresponding bits in PORTxP/SETx. To
clear bits in PORTx, write 0s to the corresponding bits in CLRx.
PORTx are read/write registers when not in emulation mode. Reset sets
PORTx.
Address: 0x00c0_0000 — PORTA
0x00c0_0001 — PORTB
0x00c0_0002 — PORTC
0x00c0_0003 — PORTD
0x00c0_0004 — PORTE
0x00c0_0005 — PORTF
0x00c0_0006 — PORTG
0x00c0_0007 — PORTH
0x00c0_0008 — PORTI
7
6
5
4
3
2
1
Bit 0
Read:
PORTx7 PORTx6 PORTx5 PORTx4 PORTx3 PORTx2 PORTx1 PORTx0
Write:
Reset: 1
1
1
1
1
1
1
1
Figure 11-2. Port Output Data Registers (PORTx)
MMC2107 – Rev. 2.0
MOTOROLA
Ports Module
For More Information On This Product,
Go to: www.freescale.com
Technical Data
251