#[repr(u8)]pub enum Sm0dmaenCaptde {
DISABLED = 0,
EXCEEDFIFO = 1,
LOCAL_SYNC = 2,
LOCAL_RELOAD = 3,
}Variants§
DISABLED = 0
Read DMA requests disabled.
EXCEEDFIFO = 1
Exceeding a FIFO watermark sets the DMA read request. This requires at least one of DMAEN[CA1DE], DMAEN[CA0DE], DMAEN[CB1DE], DMAEN[CB0DE], DMAEN[CX1DE], or DMAEN[CX0DE] to be set to determine which watermark(s) the DMA request is sensitive.
LOCAL_SYNC = 2
A local synchronization (VAL1 matches counter) sets the read DMA request.
LOCAL_RELOAD = 3
A local reload (STS[RF] being set) sets the read DMA request.
Implementations§
Trait Implementations§
Source§impl Clone for Sm0dmaenCaptde
impl Clone for Sm0dmaenCaptde
Source§fn clone(&self) -> Sm0dmaenCaptde
fn clone(&self) -> Sm0dmaenCaptde
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 Sm0dmaenCaptde
impl Debug for Sm0dmaenCaptde
Source§impl From<Sm0dmaenCaptde> for u8
impl From<Sm0dmaenCaptde> for u8
Source§fn from(val: Sm0dmaenCaptde) -> u8
fn from(val: Sm0dmaenCaptde) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Sm0dmaenCaptde
impl From<u8> for Sm0dmaenCaptde
Source§fn from(val: u8) -> Sm0dmaenCaptde
fn from(val: u8) -> Sm0dmaenCaptde
Converts to this type from the input type.
Source§impl Ord for Sm0dmaenCaptde
impl Ord for Sm0dmaenCaptde
Source§fn cmp(&self, other: &Sm0dmaenCaptde) -> Ordering
fn cmp(&self, other: &Sm0dmaenCaptde) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Sm0dmaenCaptde
impl PartialEq for Sm0dmaenCaptde
Source§impl PartialOrd for Sm0dmaenCaptde
impl PartialOrd for Sm0dmaenCaptde
impl Copy for Sm0dmaenCaptde
impl Eq for Sm0dmaenCaptde
impl StructuralPartialEq for Sm0dmaenCaptde
Auto Trait Implementations§
impl Freeze for Sm0dmaenCaptde
impl RefUnwindSafe for Sm0dmaenCaptde
impl Send for Sm0dmaenCaptde
impl Sync for Sm0dmaenCaptde
impl Unpin for Sm0dmaenCaptde
impl UnwindSafe for Sm0dmaenCaptde
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