Struct rp2040_pac2::i2c::regs::IcTxflr [−][src]
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]
fn clone(&self) -> IcTxflr
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for IcTxflr
[src]
impl Default for IcTxflr
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,