pub struct Dma16 { /* private fields */ }Expand description
Sixteen-channel eDMA management page. Status is read-only; CX and ECX cancel transfers. GCLC gates channel linking and GMRC gates master-ID replication.
Implementations§
Source§impl Dma16
impl Dma16
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn mp_csr(self) -> Reg<MpCsr16, RW>
pub const fn mp_csr(self) -> Reg<MpCsr16, RW>
Management Page Control. ACTIVE_ID and ACTIVE are read-only; CX and ECX are command bits. Change ERCA, GCLC or GMRC only when all channels are inactive (ACTIVE=0). Reserved known reset bits are retained in the construction default.
Sourcepub const fn mp_es(self) -> Reg<MpEs12, R>
pub const fn mp_es(self) -> Reg<MpEs12, R>
Management Page Error Status. Read-only summary; acknowledge errors through the channel CH_ES register.
Sourcepub const fn mp_int(self) -> Reg<MpInt16, R>
pub const fn mp_int(self) -> Reg<MpInt16, R>
Management Page Interrupt Request Status. Read-only summary of channel interrupts.
Trait Implementations§
impl Copy for Dma16
impl Eq for Dma16
impl Send for Dma16
impl StructuralPartialEq for Dma16
impl Sync for Dma16
Auto Trait Implementations§
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