Datasheet
Multiple Serial Interface
Technical Data MC68HC912DT128A — Rev 4.0
282 Multiple Serial Interface MOTOROLA
Read or write anytime.
LOOPS — SCI LOOP Mode/Single Wire Mode Enable
0 = SCI transmit and receive sections operate normally.
1 = SCI receive section is disconnected from the RXD pin and the
RXD pin is available as general purpose I/O. The receiver input
is determined by the RSRC bit. The transmitter output is
controlled by the associated DDRS bit. Both the transmitter
and the receiver must be enabled to use the LOOP or the
single wire mode.
If the DDRS bit associated with the TXD pin is set during the LOOPS
= 1, the TXD pin outputs the SCI waveform. If the DDRS bit
associated with the TXD pin is clear during the LOOPS = 1, the TXD
pin becomes high (IDLE line state) for RSRC = 0 and high impedance
for RSRC = 1. Refer to Table 16-2.
WOMS — Wired-Or Mode for Serial Pins
This bit controls the two pins (TXD and RXD) associated with the SCIx
section.
0 = Pins operate in a normal mode with both high and low drive
capability. To affect the RXD bit, that bit would have to be
configured as an output (via DDRS0/2) which is the single wire
case when using the SCI. WOMS bit still affects general-
purpose output on TXD and RXD pins when SCIx is not using
these pins.
1 = Each pin operates in an open drain fashion if that pin is
declared as an output.
SC0CR1/SC1CR1 — SCI Control Register 1 $00C2/$00CA
Bit 7654321Bit 0
LOOPS WOMS RSRC M WAKE ILT PE PT
RESET:00000000
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
