Struct rp2040_pac2::i2c::regs::IcDmaCr [−][src]
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]
fn clone(&self) -> IcDmaCr
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for IcDmaCr
[src]
impl Default for IcDmaCr
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,