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 more