
Communication Processor Module
MOTOROLA
MPC823 USER’S MANUAL
16-239
SCC2
COMMUNICATION
16
PROCESSOR
MODULE
E—Empty
0 = The data buffer associated with this RX buffer descriptor has been filled with data
or reception has been aborted because of an error condition. The core is free to
examine or write to any fields of this RX buffer descriptor. The communication
processor module does not use this buffer descriptor as long as the E bit is zero.
1 = The data buffer associated with this buffer descriptor is empty or is currently
receiving data. This RX buffer descriptor and its associated receive buffer are
owned by the communication processor module. Once the E bit is set, the core
should not write any fields of this RX buffer descriptor.
Bits 1, 7, and 9—Reserved
These bits are reserved and should be set to 0.
W—Wrap (Final Buffer Descriptor in Table)
0 = This is not the last buffer descriptor in the RX buffer descriptor table.
1 = This is the last buffer descriptor in the RX buffer descriptor table. After this buffer
is used, the communication processor module receives incoming data into the first
buffer descriptor that RBASE points to in the table. The number of RX buffer
descriptors in this table are programmable and determined only by the W bit and
overall space constraints of the dual-port RAM.
I—Interrupt
0 = The RXB bit is not set after this buffer is used, but RXF operation remains
unaffected.
1 = The RXB or RXF bit in the SCCE–HDLC register is set when the SCC2 HDLC
controller uses this buffer. These two bits can cause interrupts if they are enabled.
L—Last in Frame
This bit is set by the SCC2 HDLC controller when this buffer is the last one in a frame. This
implies the reception of a closing flag or reception of an error, in which case one or more of
the CD, OV, AB, and LG bits are set. The SCC2 HDLC controller writes the number of frame
octets to the data length field.
0 = This buffer is not the last one in a frame.
1 = This buffer is the last one in a frame.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
OFFSET + 0
E
RES
WI
LF
CM
RES
DE
RES
LG
NO
AB
CR
OV
CD
OFFSET + 2
DATA LENGTH
OFFSET + 4
RX DATA BUFFER POINTER
OFFSET + 6
NOTE:
You are only responsible for initializing the items in bold.