Struct rp2040_pac2::i2c::regs::IcRxflr[][src]

#[repr(transparent)]pub struct IcRxflr(pub u32);

I2C Receive FIFO Level Register This register contains the number of valid data entries in the receive FIFO buffer. It is cleared whenever: - The I2C is disabled - Whenever there is a transmit abort caused by any of the events tracked in IC_TX_ABRT_SOURCE The register increments whenever data is placed into the receive FIFO and decrements when data is taken from the receive FIFO.

Implementations

impl IcRxflr[src]

pub const fn rxflr(&self) -> u8[src]

Receive FIFO Level. Contains the number of valid data entries in the receive FIFO. Reset value: 0x0

pub fn set_rxflr(&mut self, val: u8)[src]

Receive FIFO Level. Contains the number of valid data entries in the receive FIFO. Reset value: 0x0

Trait Implementations

impl Clone for IcRxflr[src]

impl Copy for IcRxflr[src]

impl Default for IcRxflr[src]

Auto Trait Implementations

impl Send for IcRxflr

impl Sync for IcRxflr

impl Unpin for IcRxflr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.