pub enum DmaInterrupt {
TransferError,
HalfTransfer,
TransferComplete,
}
Expand description
Interrupt type. Set in CCR using TEIE, HTIE, and TCIE bits. Can only be set when channel is disabled.
Variants§
Trait Implementations§
Source§impl Clone for DmaInterrupt
impl Clone for DmaInterrupt
Source§fn clone(&self) -> DmaInterrupt
fn clone(&self) -> DmaInterrupt
Returns a duplicate of the value. Read more
1.0.0 · Source§fn 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 Freeze for DmaInterrupt
impl RefUnwindSafe for DmaInterrupt
impl Send for DmaInterrupt
impl Sync for DmaInterrupt
impl Unpin for DmaInterrupt
impl UnwindSafe for DmaInterrupt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more