Table 15-3. SCIxC1 Field Descriptions (continued)

 

 

 

Field

 

Description

 

 

1

Parity Enable. Enables hardware parity generation and checking. When parity is enabled, the most significant bit

PE

(msb) of the data character (eighth or ninth data bit) is treated as the parity bit.

 

0

No hardware parity generation or checking.

 

1

Parity enabled.

 

 

0

Parity Type. Provided parity is enabled (PE = 1), this bit selects even or odd parity. Odd parity means the total

PT

number of 1s in the data character, including the parity bit, is odd. Even parity means the total number of 1s in

 

the data character, including the parity bit, is even.

 

0

Even parity.

 

1

Odd parity.

 

 

 

15.2.3SCI Control Register 2 (SCIxC2)

This register can be read or written at any time.

R

W

Reset

7

6

5

4

3

2

1

0

TIE

TCIE

RIE

ILIE

TE

RE

RWU

SBK

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

 

 

 

 

 

 

 

 

 

 

Figure 15-8. SCI Control Register 2 (SCIxC2)

 

 

Table 15-4. SCIxC2 Field Descriptions

 

 

 

Field

 

Description

 

 

7

Transmit Interrupt Enable (for TDRE)

TIE

0

Hardware interrupts from TDRE disabled (use polling).

 

1

Hardware interrupt requested when TDRE flag is 1.

 

 

6

Transmission Complete Interrupt Enable (for TC)

TCIE

0

Hardware interrupts from TC disabled (use polling).

 

1

Hardware interrupt requested when TC flag is 1.

 

 

5

Receiver Interrupt Enable (for RDRF)

RIE

0

Hardware interrupts from RDRF disabled (use polling).

 

1

Hardware interrupt requested when RDRF flag is 1.

 

 

4

Idle Line Interrupt Enable (for IDLE)

ILIE

0

Hardware interrupts from IDLE disabled (use polling).

 

1

Hardware interrupt requested when IDLE flag is 1.

 

 

3

Transmitter Enable

TE

0

Transmitter off.

 

1

Transmitter on.

 

TE must be 1 to use the SCI transmitter. When TE is set, the SCI forces the TxD pin to act as an output for the

 

SCI system.

 

When the SCI is configured for single-wire operation (LOOPS = RSRC = 1), TXDIR controls the direction of

 

traffic on the single SCI communication line (TxD pin).

 

TE can also queue an idle character by clearing TE then setting TE while a transmission is in progress. Refer to

 

Section 15.3.2.1, “Send Break and Queued Idle” for more details.

 

When TE is written to 0, the transmitter keeps control of the port TxD pin until any data, queued idle, or queued

 

break character finishes transmitting before allowing the pin to revert to a general-purpose I/O pin.

 

 

 

 

 

MCF51QE128 MCU Series Reference Manual, Rev. 3

 

 

 

300

 

Freescale Semiconductor

 

 

Get the latest version from freescale.com

Page 300
Image 300
Freescale Semiconductor MCF51QE128RM manual SCI Control Register 2 SCIxC2, SCIxC2 Field Descriptions, Tie