Each engine is capable of writing back completed descriptor counts to host memory. This allows the driver to poll host memory to determine when the DMA is complete instead of waiting for an interrupt.
For a given DMA engine, the completed descriptor count writeback occurs when the
DMA completes a transfer for a descriptor, and
Pollmode_wb_enable are set. The completed descriptor count reported is the
total number of completed descriptors since the DMA was initiated (not just those
descriptors with the Completed flag set). The writeback address is defined by the
|Sts_err||The bitwise OR of any error status bits in the channel Status register.|
|Compl_descriptor_count[23:0]||The lower 24 bits of the Complete Descriptor Count register.|