#[repr(transparent)]pub struct Sm1dmaen(pub u16);Expand description
DMA Enable Register.
Tuple Fields§
§0: u16Implementations§
Source§impl Sm1dmaen
impl Sm1dmaen
Sourcepub const fn captde(&self) -> SmdmaenCaptde
pub const fn captde(&self) -> SmdmaenCaptde
Capture DMA Enable Source Select.
Sourcepub const fn set_captde(&mut self, val: SmdmaenCaptde)
pub const fn set_captde(&mut self, val: SmdmaenCaptde)
Capture DMA Enable Source Select.
Sourcepub const fn fand(&self) -> bool
pub const fn fand(&self) -> bool
FIFO Watermark AND Control. Raw bit values: false (0) = Or: Selected FIFO watermarks are OR’ed together.; true (1) = And: Selected FIFO watermarks are AND’ed together.
Sourcepub const fn set_fand(&mut self, val: bool)
pub const fn set_fand(&mut self, val: bool)
FIFO Watermark AND Control. Raw bit values: false (0) = Or: Selected FIFO watermarks are OR’ed together.; true (1) = And: Selected FIFO watermarks are AND’ed together.
Trait Implementations§
impl Copy for Sm1dmaen
impl Eq for Sm1dmaen
impl StructuralPartialEq for Sm1dmaen
Auto Trait Implementations§
impl Freeze for Sm1dmaen
impl RefUnwindSafe for Sm1dmaen
impl Send for Sm1dmaen
impl Sync for Sm1dmaen
impl Unpin for Sm1dmaen
impl UnwindSafe for Sm1dmaen
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