Struct rp2040_pac2::xip_ssi::regs::Dmacr[][src]

#[repr(transparent)]pub struct Dmacr(pub u32);
[]

DMA control

Implementations

impl Dmacr[src][]

pub const fn tdmae(&self) -> bool[src][]

Transmit DMA enable

pub fn set_tdmae(&mut self, val: bool)[src][]

Transmit DMA enable

pub const fn rdmae(&self) -> bool[src][]

Receive DMA enable

pub fn set_rdmae(&mut self, val: bool)[src][]

Receive DMA enable

Trait Implementations

impl Clone for Dmacr[src][+]

impl Copy for Dmacr[src]

impl Default for Dmacr[src][+]

Auto Trait Implementations

impl Send for Dmacr

impl Sync for Dmacr

impl Unpin for Dmacr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.