pub enum EnableInterrupt {
Yes,
No,
}Expand description
Whether to enable the major loop completion interrupt.
This enum provides better readability than a boolean parameter for functions that configure DMA interrupt behavior.
Variants§
Trait Implementations§
Source§impl Clone for EnableInterrupt
impl Clone for EnableInterrupt
Source§fn clone(&self) -> EnableInterrupt
fn clone(&self) -> EnableInterrupt
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 moreSource§impl Debug for EnableInterrupt
impl Debug for EnableInterrupt
Source§impl Format for EnableInterrupt
impl Format for EnableInterrupt
Source§impl PartialEq for EnableInterrupt
impl PartialEq for EnableInterrupt
impl Copy for EnableInterrupt
impl Eq for EnableInterrupt
impl StructuralPartialEq for EnableInterrupt
Auto Trait Implementations§
impl Freeze for EnableInterrupt
impl RefUnwindSafe for EnableInterrupt
impl Send for EnableInterrupt
impl Sync for EnableInterrupt
impl Unpin for EnableInterrupt
impl UnwindSafe for EnableInterrupt
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