pub trait StreamISR: Sealed {
fn clear_interrupts(&mut self);
fn clear_transfer_complete_interrupt(&mut self);
fn clear_half_transfer_interrupt(&mut self);
fn clear_transfer_error_interrupt(&mut self);
fn clear_direct_mode_error_interrupt(&mut self);
fn clear_fifo_error_interrupt(&mut self);
fn get_transfer_complete_flag() -> bool;
fn get_half_transfer_flag() -> bool;
fn get_transfer_error_flag() -> bool;
fn get_fifo_error_flag() -> bool;
fn get_direct_mode_error_flag() -> bool;
}
Expand description
Trait for DMA stream interrupt handling.
Required Methods
sourcefn clear_interrupts(&mut self)
fn clear_interrupts(&mut self)
Clear all interrupts for the DMA stream.
sourcefn clear_transfer_complete_interrupt(&mut self)
fn clear_transfer_complete_interrupt(&mut self)
Clear transfer complete interrupt (tcif) for the DMA stream.
sourcefn clear_half_transfer_interrupt(&mut self)
fn clear_half_transfer_interrupt(&mut self)
Clear half transfer interrupt (htif) for the DMA stream.
sourcefn clear_transfer_error_interrupt(&mut self)
fn clear_transfer_error_interrupt(&mut self)
Clear transfer error interrupt (teif) for the DMA stream.
sourcefn clear_direct_mode_error_interrupt(&mut self)
fn clear_direct_mode_error_interrupt(&mut self)
Clear direct mode error interrupt (dmeif) for the DMA stream.
sourcefn clear_fifo_error_interrupt(&mut self)
fn clear_fifo_error_interrupt(&mut self)
Clear fifo error interrupt (feif) for the DMA stream.
sourcefn get_transfer_complete_flag() -> bool
fn get_transfer_complete_flag() -> bool
Get transfer complete flag.
sourcefn get_half_transfer_flag() -> bool
fn get_half_transfer_flag() -> bool
Get half transfer flag.
sourcefn get_transfer_error_flag() -> bool
fn get_transfer_error_flag() -> bool
Get transfer error flag
sourcefn get_fifo_error_flag() -> bool
fn get_fifo_error_flag() -> bool
Get fifo error flag
sourcefn get_direct_mode_error_flag() -> bool
fn get_direct_mode_error_flag() -> bool
Get direct mode error flag