Enum rp2040_pac::i2c0::ic_raw_intr_stat::STOP_DET_A
source · pub enum STOP_DET_A {
INACTIVE = 0,
ACTIVE = 1,
}
Expand description
Indicates whether a STOP condition has occurred on the I2C interface regardless of whether DW_apb_i2c is operating in slave or master mode.
In Slave Mode: - If IC_CON[7]=1’b1 (STOP_DET_IFADDRESSED), the STOP_DET interrupt will be issued only if slave is addressed. Note: During a general call address, this slave does not issue a STOP_DET interrupt if STOP_DET_IF_ADDRESSED=1’b1, even if the slave responds to the general call address by generating ACK. The STOP_DET interrupt is generated only when the transmitted address matches the slave address (SAR). - If IC_CON[7]=1’b0 (STOP_DET_IFADDRESSED), the STOP_DET interrupt is issued irrespective of whether it is being addressed. In Master Mode: - If IC_CON[10]=1’b1 (STOP_DET_IF_MASTER_ACTIVE),the STOP_DET interrupt will be issued only if Master is active. - If IC_CON[10]=1’b0 (STOP_DET_IFADDRESSED),the STOP_DET interrupt will be issued irrespective of whether master is active or not. Reset value: 0x0
Value on reset: 0
Variants§
Trait Implementations§
source§impl Clone for STOP_DET_A
impl Clone for STOP_DET_A
source§fn clone(&self) -> STOP_DET_A
fn clone(&self) -> STOP_DET_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 STOP_DET_A
impl Debug for STOP_DET_A
source§impl From<STOP_DET_A> for bool
impl From<STOP_DET_A> for bool
source§fn from(variant: STOP_DET_A) -> Self
fn from(variant: STOP_DET_A) -> Self
source§impl PartialEq for STOP_DET_A
impl PartialEq for STOP_DET_A
impl Copy for STOP_DET_A
impl Eq for STOP_DET_A
impl StructuralPartialEq for STOP_DET_A
Auto Trait Implementations§
impl Freeze for STOP_DET_A
impl RefUnwindSafe for STOP_DET_A
impl Send for STOP_DET_A
impl Sync for STOP_DET_A
impl Unpin for STOP_DET_A
impl UnwindSafe for STOP_DET_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
)