SCC Programming Reference
E-40
MC68360 USER’S MANUAL
MOTOROLA
R—Ready
0 = This data buffer is not currently ready for transmission.
1 = This data buffer has been prepared by the user for transmission but has not yet
been fully transmitted. Must be set by the user to enable transmission of the buffer.
X—External Buffer
0 = The data buffer associated with this BD is in internal dual-port RAM.
1 = The data buffer associated with this BD is in external memory.
W—Wrap (final BD in table)
0 = This is not the last BD in the transmit BD table.
1 = This is the last BD in the transmit BD table.
I—Interrupt
0 = No interrupt is generated when this buffer is closed.
1 = The TX bit in the event register is set if this buffer closed without an error. If an error
occurred, then TXE is set.
L—Last in Frame
0 = This buffer is not the last buffer in the transmitted block.
1 = This buffer is the last buffer in the transmitted block.
Bits 10-2—Reserved for future use; should be written with zero by the user.
UN—Underrun
0 = No transmitter underrun occurred.
1 = A transmitter underrun condition occurred while transmitting the associated data
buffer.
CT—CTS Lost
0 = No CTS or L1GR lost was detected during frame transmission.
1 = CTS in NMSI mode or L1GR in IDL/GCI mode was lost during frame transmission.
E.3.1.5.2 Transmit Buffer Data Length.
This 16-bit value is written by the user to indicate
the number of data bytes to be transmitted from the data buffer.
E.3.1.5.3 Transmit Buffer Pointer.
This 32-bit value is written by the user to indicate the
address of the first byte of data in the data buffer.
E.3.2 Programming the SCC for Transparent
This section gives a generic algorithm for programming an SCC to handle the transparent
protocol. The algorithm is intended to show what must be done and in what order to initialize
the SCC and prepare the SCC for transmission and reception. The algorithm is not specific
and assumes that the IMP and other on-chip peripherals have been initialized as required
by the system hardware (timers, chip selects, etc.).
E.3.2.1 CP INITIALIZATION.