Enum stm32_hal2::dma::DmaInterrupt
source · [−]pub enum DmaInterrupt {
TransferError,
HalfTransfer,
TransferComplete,
DirectModeError,
FifoError,
}
Expand description
Interrupt type. Set in CCR using TEIE, HTIE, and TCIE bits. Can only be set when channel is disabled.
Variants
TransferError
HalfTransfer
TransferComplete
DirectModeError
FifoError
Trait Implementations
sourceimpl Clone for DmaInterrupt
impl Clone for DmaInterrupt
sourcefn clone(&self) -> DmaInterrupt
fn clone(&self) -> DmaInterrupt
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for DmaInterrupt
Auto Trait Implementations
impl RefUnwindSafe for DmaInterrupt
impl Send for DmaInterrupt
impl Sync for DmaInterrupt
impl Unpin for DmaInterrupt
impl UnwindSafe for DmaInterrupt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more