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