Type Alias rp2040_pac::i2c0::ic_dma_tdlr::W

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

Register IC_DMA_TDLR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn dmatdl(&mut self) -> DMATDL_W<'_, IC_DMA_TDLR_SPEC>

Bits 0:3 - Transmit Data Level. This bit field controls the level at which a DMA request is made by the transmit logic. It is equal to the watermark level; that is, the dma_tx_req signal is generated when the number of valid data entries in the transmit FIFO is equal to or below this field value, and TDMAE = 1.

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