
W89C840F
Publication Release Date:April 1997
Revision A1
- 55 -
Descriptors
As described at the beginning of the function description, descriptors are used to handle the control and
status information and the data of each received/transmitted frame. There are many information
contained in descriptors, W89C840F totally implemented four registers for receiving descriptor and four
registers for transmitting descriptor respectively. They are one for status descriptor, one for control
descriptor, and two for buffer descriptors.
Receive Descriptors
R00, Receive Descriptor 0
The descriptor R00 is used to describe the received frame status.
After the current frame is received completely, the receive DMA state machine will update the valid status
of the current received frame into the first and the last descriptor of the current received frame.
The Receive Access Control(RAC) bit is valid on each descriptor of the current frame. The receive DMA
state machine will reset the RAC bit to release the descriptor for other receive operation when the data
buffer pointed by this descriptor is full.
Bit
Symbol
Description
31
RAC
Receive Access Control
W89C840F receive DMA is allowed to access this descriptor if RAC is set to
high by the driver program. Otherwise, the driver program will access this
descriptor if
reset
RAC
l ow
, i.e. the descriptor 0 allows to be accessed by
software driver when set RAC; by hardware when reset RAC. The RAC is valid
on each descriptor of the current received frame.
30
RCMP
Receive Completion.
The receive DMA will set the RCMP of the first and the last descriptor of the
current receive frame after the current frame is received and then transferred into
the data buffer in host memory completely.
This bit is valid only when either RFD (R00[9]) or RLD (R00[8]) is set, i.e. the
first or the last descriptor of the current frame.
29:16
RBC
Receive Byte Count:
The RBC indicates the length including CRC field of receive packet in byte unit.
This bit is valid only when
set
RFD (R00[9]) or RLD (R00[8]), i.e. the first or
the last descriptor of the current frame.