English
Language : 

MC68HC11PH8 Datasheet, PDF (102/264 Pages) Motorola, Inc – High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcomputer Unit
5.6.4 SCSR1 — SCI status register 1
SCI1 status 1 (SCSR1)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$0074 TDRE TC RDRF IDLE OR NF FE PF 1100 0000
The bits in SCSR1 indicate certain conditions in the SCI hardware and are automatically cleared
by special acknowledge sequences.
TDRE — Transmit data register empty flag
1 (set) – SCDR empty.
5
0 (clear) – SCDR busy.
This flag is set when SCDR is empty. Clear the TDRE flag by reading SCSR1 with TDRE set and
then writing to SCDR.
TC — Transmit complete flag
1 (set) – Transmitter idle.
0 (clear) – Transmitter busy.
This flag is set when the transmitter is idle (no data, preamble, or break transmission in progress).
Clear the TC flag by reading SCSR1 with TC set and then writing to SCDR.
RDRF — Receive data register full flag
1 (set) – SCDR full.
0 (clear) – SCDR empty.
Once cleared, IDLE is not set again until the RXD line has been active and becomes idle again.
RDRF is set if a received character is ready to be read from SCDR. Clear the RDRF flag by
reading SCSR1 with RDRF set and then reading SCDR.
IDLE — Idle line detected flag
1 (set) – RXD line is idle.
0 (clear) – RXD line is active.
This flag is set if the RXD line is idle. Once cleared, IDLE is not set again until the RXD line has
been active and becomes idle again. The IDLE flag is inhibited when RWU = 1. Clear IDLE by
reading SCSR1 with IDLE set and then reading SCDR.
MOTOROLA
5-10
SERIAL COMMUNICATIONS INTERFACE
TPG
MC68HC11PH8