pub fn wait_idle(&self, channel_num: dma_channel) {
        while !self.is_idle(channel_num) {
        }
        self.channel_interrupt_clear(channel_num); /* clear interrupt */
    }
/** Wait for a DMA channel to be idle. */
Wait for a DMA channel to be idle.
Wait for a DMA channel to be idle .
pub fn wait_idle(&self, channel_num: dma_channel) {
        while !self.is_idle(channel_num) {
        }
        self.channel_interrupt_clear(channel_num); /* clear interrupt */
    }
pub fn wait_idle ( & self , channel_num : dma_channel ) { while ! self . is_idle ( channel_num ) { } self . channel_interrupt_clear ( channel_num ) ; /* clear interrupt */ }
Wait for a DMA channel to be idle.
Wait for a DMA channel to be idle .
&self
channel_num
dma_channel
&self
channel_num
dma_channel