pub struct OrderingTableClearDma { /* private fields */ }Expand description
DMA channel 6, the ordering-table clear.
Implementations§
Source§impl OrderingTableClearDma
impl OrderingTableClearDma
Sourcepub fn clear_table(&mut self, buf: &mut [u32]) -> bool
pub fn clear_table(&mut self, buf: &mut [u32]) -> bool
Ordering-table clear: writes buf as a reverse-linked chain the
GPU-DMA walker consumes. The hardware starts from the last word and
steps backward, writing a terminator at the first transfer and then
predecessor pointers.
Convenience wrapper: programs the channel and blocks until done.
Returns false if the channel wedged, or if buf is longer than the
16-bit word count can express.