Enum rp2040_pac::i2c0::ic_raw_intr_stat::ACTIVITY_A
source · pub enum ACTIVITY_A {
INACTIVE = 0,
ACTIVE = 1,
}
Expand description
This bit captures DW_apb_i2c activity and stays set until it is cleared. There are four ways to clear it: - Disabling the DW_apb_i2c - Reading the IC_CLR_ACTIVITY register - Reading the IC_CLR_INTR register - System reset Once this bit is set, it stays set unless one of the four methods is used to clear it. Even if the DW_apb_i2c module is idle, this bit remains set until cleared, indicating that there was activity on the bus.
Reset value: 0x0
Value on reset: 0
Variants§
INACTIVE = 0
0: RAW_INTR_ACTIVITY interrupt is inactive
ACTIVE = 1
1: RAW_INTR_ACTIVITY interrupt is active
Trait Implementations§
source§impl Clone for ACTIVITY_A
impl Clone for ACTIVITY_A
source§fn clone(&self) -> ACTIVITY_A
fn clone(&self) -> ACTIVITY_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 ACTIVITY_A
impl Debug for ACTIVITY_A
source§impl From<ACTIVITY_A> for bool
impl From<ACTIVITY_A> for bool
source§fn from(variant: ACTIVITY_A) -> Self
fn from(variant: ACTIVITY_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for ACTIVITY_A
impl PartialEq for ACTIVITY_A
impl Copy for ACTIVITY_A
impl Eq for ACTIVITY_A
impl StructuralPartialEq for ACTIVITY_A
Auto Trait Implementations§
impl Freeze for ACTIVITY_A
impl RefUnwindSafe for ACTIVITY_A
impl Send for ACTIVITY_A
impl Sync for ACTIVITY_A
impl Unpin for ACTIVITY_A
impl UnwindSafe for ACTIVITY_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
)