Struct rp2040_pac::i2c0::ic_txflr::IC_TXFLR_SPEC
source · pub struct IC_TXFLR_SPEC;
Expand description
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.
You can read
this register and get ic_txflr::R
. See API.
Trait Implementations§
source§impl RegisterSpec for IC_TXFLR_SPEC
impl RegisterSpec for IC_TXFLR_SPEC
source§impl Resettable for IC_TXFLR_SPEC
impl Resettable for IC_TXFLR_SPEC
reset()
method sets IC_TXFLR to value 0
source§const RESET_VALUE: u32 = 0u32
const RESET_VALUE: u32 = 0u32
Reset value of the register.
source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
impl Readable for IC_TXFLR_SPEC
read()
method returns ic_txflr::R
reader structure
Auto Trait Implementations§
impl Freeze for IC_TXFLR_SPEC
impl RefUnwindSafe for IC_TXFLR_SPEC
impl Send for IC_TXFLR_SPEC
impl Sync for IC_TXFLR_SPEC
impl Unpin for IC_TXFLR_SPEC
impl UnwindSafe for IC_TXFLR_SPEC
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
Mutably borrows from an owned value. Read more