28.10.2014 Views

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />

Ports Module<br />

Memory Map and Registers<br />

11.4.2 Register Descriptions<br />

This subsection provides a description of the I/O port registers.<br />

11.4.2.1 Port Output Data Registers<br />

The port output data registers (PORTx) store the data to be driven on the<br />

corresponding port x pins when the pins are configured for digital output.<br />

Reading PORTx returns the current value in the register, not the port x<br />

pin values.<br />

nc...<br />

<strong>Freescale</strong> <strong>Semiconductor</strong>, I<br />

The SETx and CLRx registers also affect the PORTx register bits. To set<br />

bits in PORTx, write 1s to the corresponding bits in PORTxP/SETx. To<br />

clear bits in PORTx, write 0s to the corresponding bits in CLRx.<br />

PORTx are read/write registers when not in emulation mode. Reset sets<br />

PORTx.<br />

Address: 0x00c0_0000 — PORTA<br />

0x00c0_0001 — PORTB<br />

0x00c0_0002 — PORTC<br />

0x00c0_0003 — PORTD<br />

0x00c0_0004 — PORTE<br />

0x00c0_0005 — PORTF<br />

0x00c0_0006 — PORTG<br />

0x00c0_0007 — PORTH<br />

0x00c0_0008 — PORTI<br />

Read:<br />

Write:<br />

7 6 5 4 3 2 1 Bit 0<br />

PORTx7 PORTx6 PORTx5 PORTx4 PORTx3 PORTx2 PORTx1 PORTx0<br />

Reset: 1 1 1 1 1 1 1 1<br />

Figure 11-2. Port Output Data Registers (PORTx)<br />

<strong>MMC2107</strong> – Rev. 2.0<br />

Technical Data<br />

MOTOROLA Ports Module 251<br />

For More Information On This Product,<br />

Go to: www.freescale.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!