#[repr(transparent)]pub struct IcDmaRdlr(pub u32);
Expand description
I2C Receive Data Level Register
Tuple Fields§
§0: u32
Implementations§
Source§impl IcDmaRdlr
impl IcDmaRdlr
Sourcepub const fn dmardl(&self) -> u8
pub const fn dmardl(&self) -> u8
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
Sourcepub fn set_dmardl(&mut self, val: u8)
pub fn set_dmardl(&mut self, val: u8)
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