#[repr(u8)]pub enum LOCK_CH_L_A {
DMA_TRANSFER = 0,
BLOCK_TRANSFER = 1,
TRANSACTION = 2,
}Expand description
Channel lock level
Value on reset: 0
Variants§
DMA_TRANSFER = 0
0: Duration of channel is locked for entire DMA transfer
BLOCK_TRANSFER = 1
1: Duration of channel is locked for current block transfer
TRANSACTION = 2
2: Duration of channel is locked for current transaction
Trait Implementations§
Source§impl Clone for LOCK_CH_L_A
impl Clone for LOCK_CH_L_A
Source§fn clone(&self) -> LOCK_CH_L_A
fn clone(&self) -> LOCK_CH_L_A
Returns a copy 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 LOCK_CH_L_A
impl Debug for LOCK_CH_L_A
Source§impl From<LOCK_CH_L_A> for u8
impl From<LOCK_CH_L_A> for u8
Source§fn from(variant: LOCK_CH_L_A) -> Self
fn from(variant: LOCK_CH_L_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LOCK_CH_L_A
impl PartialEq for LOCK_CH_L_A
impl Copy for LOCK_CH_L_A
impl StructuralPartialEq for LOCK_CH_L_A
Auto Trait Implementations§
impl Freeze for LOCK_CH_L_A
impl RefUnwindSafe for LOCK_CH_L_A
impl Send for LOCK_CH_L_A
impl Sync for LOCK_CH_L_A
impl Unpin for LOCK_CH_L_A
impl UnwindSafe for LOCK_CH_L_A
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