Rainbow Electronics DS3134 User Manual
Page 132

DS3134
132 of 203
The Transmit DMA will read from the Transmit Pending Queue Descriptor circular queue which data
buffers and their associated descriptors are ready for transmission. To keep track of the addresses of the
circular queue in the Transmit Pending Queue, there are a set of internal addresses within the device that
are accessed by both the Host and the DMA. On initialization, the Host will configure all of the registers
shown in Table 8.2.3A. After initialization, the DMA will only write to (i.e. change) the read pointers
and the Host will only write to the write pointers.
Empty Case
The Transmit Pending Queue is considered empty when the read and write pointers are identical.
Transmit Pending Queue Empty State
empty descriptor
empty descriptor
empty descriptor
read pointer >
empty descriptor
< write pointer
empty descriptor
empty descriptor
empty descriptor
Full Case
The Transmit Pending Queue is considered full when the read pointer is ahead of the write pointer by one
descriptor. Hence, one descriptor must always remain empty.
Transmit Pending Queue Full State
valid descriptor
valid descriptor
empty descriptor
< write pointer
read pointer >
valid descriptor
valid descriptor
valid descriptor
valid descriptor