28.10.2014 Views

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Serial Communications Interface Modules (SCI1 and SCI2)<br />

16.7.4 SCI Status Register 1<br />

Address: SCI1 — 0x00cc_0004<br />

SCI2 — 0x00cd_0004<br />

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

Read: TDRE TC RDRF IDLE OR NF FE PF<br />

Write:<br />

nc...<br />

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

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

Read: Anytime<br />

= Writes have no effect and the access terminates without a transfer error exception.<br />

Figure 16-6. SCI Status Register 1 (SCISR1)<br />

Write: Has no meaning or effect<br />

TDRE — Transmit Data Register Empty Flag<br />

The TDRE flag is set when the transmit shift register receives a word<br />

from the SCI data register. It signals that the SCIDRH and SCIDRL<br />

are empty and can receive new data to transmit. If the TIE bit in the<br />

SCICR2 is also set, TDRE generates an interrupt request. Clear<br />

TDRE by reading SCISR1 and then writing to SCIDRL. Reset sets<br />

TDRE.<br />

1 = Transmit data register empty<br />

0 = Transmit data register not empty<br />

TC — Transmit Complete Flag<br />

The TC flag is set when TDRE = 1 and no data, preamble, or break<br />

frame is being transmitted. It signals that no transmission is in<br />

progress. If the TCIE bit is set in SCICR2, TC generates an interrupt<br />

request. When TC is set, the TXD pin is idle (logic 1). TC is cleared<br />

automatically when a data, preamble, or break frame is queued. Clear<br />

TC by reading SCISR1 with TC set and then writing to SCIDRL. TC<br />

cannot be cleared while a transmission is in progress. Reset sets TC.<br />

1 = No transmission in progress<br />

0 = Transmission in progress<br />

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

342 Serial Communications Interface Modules (SCI1 and SCI2) MOTOROLA<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!