Enum rp2040_pac::i2c0::ic_raw_intr_stat::RESTART_DET_A
source · pub enum RESTART_DET_A {
INACTIVE = 0,
ACTIVE = 1,
}
Expand description
Indicates whether a RESTART condition has occurred on the I2C interface when DW_apb_i2c is operating in Slave mode and the slave is being addressed. Enabled only when IC_SLV_RESTART_DET_EN=1.
Note: However, in high-speed mode or during a START BYTE transfer, the RESTART comes before the address field as per the I2C protocol. In this case, the slave is not the addressed slave when the RESTART is issued, therefore DW_apb_i2c does not generate the RESTART_DET interrupt.
Reset value: 0x0
Value on reset: 0
Variants§
Trait Implementations§
source§impl Clone for RESTART_DET_A
impl Clone for RESTART_DET_A
source§fn clone(&self) -> RESTART_DET_A
fn clone(&self) -> RESTART_DET_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RESTART_DET_A
impl Debug for RESTART_DET_A
source§impl From<RESTART_DET_A> for bool
impl From<RESTART_DET_A> for bool
source§fn from(variant: RESTART_DET_A) -> Self
fn from(variant: RESTART_DET_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for RESTART_DET_A
impl PartialEq for RESTART_DET_A
impl Copy for RESTART_DET_A
impl Eq for RESTART_DET_A
impl StructuralPartialEq for RESTART_DET_A
Auto Trait Implementations§
impl Freeze for RESTART_DET_A
impl RefUnwindSafe for RESTART_DET_A
impl Send for RESTART_DET_A
impl Sync for RESTART_DET_A
impl Unpin for RESTART_DET_A
impl UnwindSafe for RESTART_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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)