#[repr(transparent)]pub struct Dmactrl(pub u32);Expand description
DMA Control
Tuple Fields§
§0: u32Implementations§
Source§impl Dmactrl
impl Dmactrl
Sourcepub const fn set_dma0en(&mut self, val: Dma0en)
pub const fn set_dma0en(&mut self, val: Dma0en)
DMA 0 Enable
Sourcepub const fn set_dma1en(&mut self, val: Dma1en)
pub const fn set_dma1en(&mut self, val: Dma1en)
DMA 1 Enable
Sourcepub const fn set_dma0port(&mut self, val: u8)
pub const fn set_dma0port(&mut self, val: u8)
DMA 0 Port
Sourcepub const fn set_dma1port(&mut self, val: Dma1port)
pub const fn set_dma1port(&mut self, val: Dma1port)
Selects port operating DMA
Trait Implementations§
impl Copy for Dmactrl
impl Eq for Dmactrl
impl StructuralPartialEq for Dmactrl
Auto Trait Implementations§
impl Freeze for Dmactrl
impl RefUnwindSafe for Dmactrl
impl Send for Dmactrl
impl Sync for Dmactrl
impl Unpin for Dmactrl
impl UnwindSafe for Dmactrl
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