English
Language : 

MC9S12T64 Datasheet, PDF (455/608 Pages) Motorola, Inc – Specification
Freescale Semiconductor, Inc.
Serial Communications Interface (SCI)
Interrupts
reading SCI status register 1 with TDRE set and then writing to SCI data
register low (SCIxDRL).
TC Description
The TC interrupt is set by the SCI when a transmission has been
completed. A TC interrupt indicates that there is no transmission in
progress. TC is set high when the TDRE flag is set and no data,
preamble, or break character is being transmitted. When TC is set, the
TxD pin becomes idle (logic 1). Clear TC by reading SCI status register
1 (SCIxSR1) with TC set and then writing to SCI data register low
(SCIxDRL). TC is cleared automatically when data, preamble, or break
is queued and ready to be sent.
RDRF Description
The RDRF interrupt is set when the data in the receive shift register
transfers to the SCI data register. A RDRF interrupt indicates that the
received data has been transferred to the SCI data register and that the
byte can now be read by the MCU. The RDRF interrupt is cleared by
reading the SCI status register one (SCIxSR1) and then reading SCI
data register low (SCIxDRL).
OR Description
The OR interrupt is set when software fails to read the SCI data register
before the receive shift register receives the next frame. The newly
acquired data in the shift register will be lost in this case, but the data
already in the SCI data registers is not affected. The OR interrupt is
cleared by reading the SCI status register one (SCIxSR1) and then
reading SCI data register low (SCIxDRL).
IDLE Description
The IDLE interrupt is set when 10 consecutive logic 1s (if M=0) or 11
consecutive logic 1s (if M=1) appear on the receiver input. Once the
IDLE is cleared, a valid frame must again set the RDRF flag before an
idle condition can set the IDLE flag. Clear IDLE by reading SCI status
register 1 (SCIxSR1) with IDLE set and then reading SCI data register
low (SCIxDRL).
Serial Communications Interface (SCI)
For More Information On This Product,
Go to: www.freescale.com
MC9S12T64Revision 1.1.1