Struct rp2040_pac2::spi::regs::Sspdmacr[][src]

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

DMA control register, SSPDMACR on page 3-12

Implementations

impl Sspdmacr[src]

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

Transmit DMA Enable. If this bit is set to 1, DMA for the transmit FIFO is enabled.

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

Transmit DMA Enable. If this bit is set to 1, DMA for the transmit FIFO is enabled.

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

Receive DMA Enable. If this bit is set to 1, DMA for the receive FIFO is enabled.

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

Receive DMA Enable. If this bit is set to 1, DMA for the receive FIFO is enabled.

Trait Implementations

impl Clone for Sspdmacr[src]

impl Copy for Sspdmacr[src]

impl Default for Sspdmacr[src]

Auto Trait Implementations

impl Send for Sspdmacr

impl Sync for Sspdmacr

impl Unpin for Sspdmacr

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.