#[repr(u8)]pub enum Sm1dmaenCaptde {
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 Sm1dmaenCaptde
impl Clone for Sm1dmaenCaptde
Source§fn clone(&self) -> Sm1dmaenCaptde
fn clone(&self) -> Sm1dmaenCaptde
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 Sm1dmaenCaptde
impl Debug for Sm1dmaenCaptde
Source§impl From<Sm1dmaenCaptde> for u8
impl From<Sm1dmaenCaptde> for u8
Source§fn from(val: Sm1dmaenCaptde) -> u8
fn from(val: Sm1dmaenCaptde) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Sm1dmaenCaptde
impl From<u8> for Sm1dmaenCaptde
Source§fn from(val: u8) -> Sm1dmaenCaptde
fn from(val: u8) -> Sm1dmaenCaptde
Converts to this type from the input type.
Source§impl Ord for Sm1dmaenCaptde
impl Ord for Sm1dmaenCaptde
Source§fn cmp(&self, other: &Sm1dmaenCaptde) -> Ordering
fn cmp(&self, other: &Sm1dmaenCaptde) -> 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 Sm1dmaenCaptde
impl PartialEq for Sm1dmaenCaptde
Source§impl PartialOrd for Sm1dmaenCaptde
impl PartialOrd for Sm1dmaenCaptde
impl Copy for Sm1dmaenCaptde
impl Eq for Sm1dmaenCaptde
impl StructuralPartialEq for Sm1dmaenCaptde
Auto Trait Implementations§
impl Freeze for Sm1dmaenCaptde
impl RefUnwindSafe for Sm1dmaenCaptde
impl Send for Sm1dmaenCaptde
impl Sync for Sm1dmaenCaptde
impl Unpin for Sm1dmaenCaptde
impl UnwindSafe for Sm1dmaenCaptde
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