#[repr(transparent)]pub struct Sm0dmaen(pub u16);Expand description
DMA Enable Register.
Tuple Fields§
§0: u16Implementations§
Source§impl Sm0dmaen
impl Sm0dmaen
Sourcepub const fn captde(&self) -> Sm0dmaenCaptde
pub const fn captde(&self) -> Sm0dmaenCaptde
Capture DMA Enable Source Select.
Sourcepub const fn set_captde(&mut self, val: Sm0dmaenCaptde)
pub const fn set_captde(&mut self, val: Sm0dmaenCaptde)
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.
Trait Implementations§
impl Copy for Sm0dmaen
impl Eq for Sm0dmaen
impl StructuralPartialEq for Sm0dmaen
Auto Trait Implementations§
impl Freeze for Sm0dmaen
impl RefUnwindSafe for Sm0dmaen
impl Send for Sm0dmaen
impl Sync for Sm0dmaen
impl Unpin for Sm0dmaen
impl UnwindSafe for Sm0dmaen
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