Enum rp2040_pac::i2c0::ic_raw_intr_stat::TX_ABRT_A
source · pub enum TX_ABRT_A {
INACTIVE = 0,
ACTIVE = 1,
}
Expand description
This bit indicates if DW_apb_i2c, as an I2C transmitter, is unable to complete the intended actions on the contents of the transmit FIFO. This situation can occur both as an I2C master or an I2C slave, and is referred to as a ‘transmit abort’. When this bit is set to 1, the IC_TX_ABRT_SOURCE register indicates the reason why the transmit abort takes places.
Note: The DW_apb_i2c flushes/resets/empties the TX_FIFO and RX_FIFO whenever there is a transmit abort caused by any of the events tracked by the IC_TX_ABRT_SOURCE register. The FIFOs remains in this flushed state until the register IC_CLR_TX_ABRT is read. Once this read is performed, the Tx FIFO is then ready to accept more data bytes from the APB interface.
Reset value: 0x0
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for TX_ABRT_A
impl Eq for TX_ABRT_A
impl StructuralPartialEq for TX_ABRT_A
Auto Trait Implementations§
impl Freeze for TX_ABRT_A
impl RefUnwindSafe for TX_ABRT_A
impl Send for TX_ABRT_A
impl Sync for TX_ABRT_A
impl Unpin for TX_ABRT_A
impl UnwindSafe for TX_ABRT_A
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
)