Type Alias rp2040_pac::i2c0::ic_dma_rdlr::W

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

Register IC_DMA_RDLR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn dmardl(&mut self) -> DMARDL_W<'_, IC_DMA_RDLR_SPEC>

Bits 0:3 - Receive Data Level. This bit field controls the level at which a DMA request is made by the receive logic. The watermark level = DMARDL+1; that is, dma_rx_req is generated when the number of valid data entries in the receive FIFO is equal to or more than this field value + 1, and RDMAE =1. For instance, when DMARDL is 0, then dma_rx_req is asserted when 1 or more data entries are present in the receive FIFO.

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