#[repr(u8)]pub enum DmaModeSel {
DMA_MODE_SEL_0 = 0,
DMA_MODE_SEL_1 = 1,
}Variants§
DMA_MODE_SEL_0 = 0
Trig DMA_REQ with latched signal, REQ will be cleared when ACK and source request cleared.
DMA_MODE_SEL_1 = 1
Trig DMA_REQ with pulsed signal, REQ will be cleared by ACK only.
Implementations§
Source§impl DmaModeSel
impl DmaModeSel
Trait Implementations§
Source§impl Clone for DmaModeSel
impl Clone for DmaModeSel
Source§fn clone(&self) -> DmaModeSel
fn clone(&self) -> DmaModeSel
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 DmaModeSel
impl Debug for DmaModeSel
Source§impl From<DmaModeSel> for u8
impl From<DmaModeSel> for u8
Source§fn from(val: DmaModeSel) -> u8
fn from(val: DmaModeSel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for DmaModeSel
impl From<u8> for DmaModeSel
Source§fn from(val: u8) -> DmaModeSel
fn from(val: u8) -> DmaModeSel
Converts to this type from the input type.
Source§impl Ord for DmaModeSel
impl Ord for DmaModeSel
Source§fn cmp(&self, other: &DmaModeSel) -> Ordering
fn cmp(&self, other: &DmaModeSel) -> 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 DmaModeSel
impl PartialEq for DmaModeSel
Source§impl PartialOrd for DmaModeSel
impl PartialOrd for DmaModeSel
impl Copy for DmaModeSel
impl Eq for DmaModeSel
impl StructuralPartialEq for DmaModeSel
Auto Trait Implementations§
impl Freeze for DmaModeSel
impl RefUnwindSafe for DmaModeSel
impl Send for DmaModeSel
impl Sync for DmaModeSel
impl Unpin for DmaModeSel
impl UnwindSafe for DmaModeSel
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