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

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

I2C Transmit FIFO Level Register This register contains the number of valid data entries in the transmit FIFO buffer. It is cleared whenever: - The I2C is disabled - There is a transmit abort - that is, TX_ABRT bit is set in the IC_RAW_INTR_STAT register - The slave bulk transmit mode is aborted The register increments whenever data is placed into the transmit FIFO and decrements when data is taken from the transmit FIFO.

Implementations

impl IcTxflr[src]

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

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

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

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

Trait Implementations

impl Clone for IcTxflr[src]

impl Copy for IcTxflr[src]

impl Default for IcTxflr[src]

Auto Trait Implementations

impl Send for IcTxflr

impl Sync for IcTxflr

impl Unpin for IcTxflr

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.