pub enum SLV_RX_DATA_LOST_A {
INACTIVE = 0,
ACTIVE = 1,
}
Expand description
Slave Received Data Lost. This bit indicates if a Slave-Receiver operation has been aborted with at least one data byte received from an I2C transfer due to the setting bit 0 of IC_ENABLE from 1 to 0. When read as 1, DW_apb_i2c is deemed to have been actively engaged in an aborted I2C transfer (with matching address) and the data phase of the I2C transfer has been entered, even though a data byte has been responded with a NACK.
Note: If the remote I2C master terminates the transfer with a STOP condition before the DW_apb_i2c has a chance to NACK a transfer, and IC_ENABLE[0] has been set to 0, then this bit is also set to 1.
When read as 0, DW_apb_i2c is deemed to have been disabled without being actively involved in the data phase of a Slave-Receiver transfer.
Note: The CPU can safely read this bit when IC_EN (bit 0) is read as 0.
Reset value: 0x0
Value on reset: 0
Variants§
Trait Implementations§
source§impl Clone for SLV_RX_DATA_LOST_A
impl Clone for SLV_RX_DATA_LOST_A
source§fn clone(&self) -> SLV_RX_DATA_LOST_A
fn clone(&self) -> SLV_RX_DATA_LOST_A
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SLV_RX_DATA_LOST_A
impl Debug for SLV_RX_DATA_LOST_A
source§impl From<SLV_RX_DATA_LOST_A> for bool
impl From<SLV_RX_DATA_LOST_A> for bool
source§fn from(variant: SLV_RX_DATA_LOST_A) -> Self
fn from(variant: SLV_RX_DATA_LOST_A) -> Self
source§impl PartialEq for SLV_RX_DATA_LOST_A
impl PartialEq for SLV_RX_DATA_LOST_A
impl Copy for SLV_RX_DATA_LOST_A
impl Eq for SLV_RX_DATA_LOST_A
impl StructuralPartialEq for SLV_RX_DATA_LOST_A
Auto Trait Implementations§
impl Freeze for SLV_RX_DATA_LOST_A
impl RefUnwindSafe for SLV_RX_DATA_LOST_A
impl Send for SLV_RX_DATA_LOST_A
impl Sync for SLV_RX_DATA_LOST_A
impl Unpin for SLV_RX_DATA_LOST_A
impl UnwindSafe for SLV_RX_DATA_LOST_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
)