Type Alias rp2040_pac::i2c0::ic_dma_cr::W

source ·
pub type W = W<IC_DMA_CR_SPEC>;
Expand description

Register IC_DMA_CR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rdmae(&mut self) -> RDMAE_W<'_, IC_DMA_CR_SPEC>

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

source

pub fn tdmae(&mut self) -> TDMAE_W<'_, IC_DMA_CR_SPEC>

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

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual