pub trait SerialHandleIT {
// Required methods
fn handle_dma_interrupt(&mut self);
fn handle_error_interrupt(&mut self);
}
Expand description
Trait with handle interrupts functions
Required Methods§
fn handle_dma_interrupt(&mut self)
fn handle_error_interrupt(&mut self)
Implementors§
impl<Serial_: Instance, RX_STREAM, const RX_CH: u8> SerialHandleIT for SerialDma<Serial_, NoDMA, RxDMA<Serial_, RX_STREAM, RX_CH>>
impl<Serial_: Instance, TX_STREAM, const TX_CH: u8> SerialHandleIT for SerialDma<Serial_, TxDMA<Serial_, TX_STREAM, TX_CH>, NoDMA>
impl<Serial_: Instance, TX_STREAM, const TX_CH: u8, RX_STREAM, const RX_CH: u8> SerialHandleIT for SerialDma<Serial_, TxDMA<Serial_, TX_STREAM, TX_CH>, RxDMA<Serial_, RX_STREAM, RX_CH>>
Only for both TX and RX DMA