MC68000 MOTOROLA [Motorola, Inc], MC68000 Datasheet - Page 357

no-image

MC68000

Manufacturer Part Number
MC68000
Description
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68000-10/BZAJC
Manufacturer:
MOT
Quantity:
26
Part Number:
MC68000-8BXAJ
Manufacturer:
MOT
Quantity:
9
Part Number:
MC680008FN8
Manufacturer:
FREESCALE
Quantity:
8 831
Part Number:
MC680008L8
Manufacturer:
AMD
Quantity:
42
Part Number:
MC68000FN10
Manufacturer:
MOT
Quantity:
5 510
Part Number:
MC68000FN10
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
MC68000FN12
Manufacturer:
MOT
Quantity:
5 510
Part Number:
MC68000L8
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
MC68000P10
Manufacturer:
MOT
Quantity:
1 000
Part Number:
MC68000P10
Manufacturer:
MOT
Quantity:
20 000
D.3 MC68302 BUFFER PROCESSING AND INTERRUPT HANDLING
The following paragraphs describe how to build an algorithm to process the buffers for the
MC68302 serial communication controller (SCC) channels.
D.3.1 Buffer Descriptors Definition
Data buffers used by the MC68302 are controlled by buffer descriptors (BDs). The general
structure of a BD is shown in Figure D-3. The processing of buffers by software is done by
examining BDs. Thus, BDs are the focus of this discussion.
Each transmit BD has a very important bit called the “ready” bit. This bit is set by the M68000
user program to signify to the SCC that the BD has data ready for sending. Similarly, the
“empty” bit tells whether a receive BD is empty and can be used by the SCC for locating an
empty buffer to store incoming data.
In the MC68302, up to 8 receive BDs and 8 transmit BDs can be defined per SCC. These
BDs are stored in predefined places in the MC68302 dual-port RAM. The “wrap” bit is set in
the last BD, causing the SCC to wrap back around to the first BD when processing of the
last BD is complete. Thus, each set of BDs form a circular queue. An example is shown in
Figure D-4.
MOTOROLA
OFFSET + 0
OFFSET + 2
OFFSET + 4
OFFSET + 0
OFFSET + 2
OFFSET + 4
READY
EMPTY
Figure D-3. Transmit and Receive BD Structure
MC68302 USER’S MANUAL
DATA LENGTH (NUMBER OF BYTES TO SEND)
32-BIT BUFFER POINTER (24 BITS USED)
32-BIT BUFFER POINTER (24 BITS USED)
DATA LENGTH (0000 INITIALLY)
OTHER STATUS AND CONTROL
OTHER STATUS AND CONTROL
Transmit BD
Receive BD
MC68302 Applications
D-7

Related parts for MC68000