Struct rp2040_pac2::i2c::regs::IcDmaCr[][src]

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

DMA Control Register The register is used to enable the DMA Controller interface operation. There is a separate bit for transmit and receive. This can be programmed regardless of the state of IC_ENABLE.

Implementations

impl IcDmaCr[src]

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

Transmit DMA Enable. This bit enables/disables the transmit FIFO DMA channel. Reset value: 0x0

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

Transmit DMA Enable. This bit enables/disables the transmit FIFO DMA channel. Reset value: 0x0

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

Receive DMA Enable. This bit enables/disables the receive FIFO DMA channel. Reset value: 0x0

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

Receive DMA Enable. This bit enables/disables the receive FIFO DMA channel. Reset value: 0x0

Trait Implementations

impl Clone for IcDmaCr[src]

impl Copy for IcDmaCr[src]

impl Default for IcDmaCr[src]

Auto Trait Implementations

impl Send for IcDmaCr

impl Sync for IcDmaCr

impl Unpin for IcDmaCr

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.