#[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
Trait Implementations§
impl Copy for IcDmaRdlr
impl Eq for IcDmaRdlr
impl StructuralPartialEq for IcDmaRdlr
Auto Trait Implementations§
impl Freeze for IcDmaRdlr
impl RefUnwindSafe for IcDmaRdlr
impl Send for IcDmaRdlr
impl Sync for IcDmaRdlr
impl Unpin for IcDmaRdlr
impl UnwindSafe for IcDmaRdlr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)