Type Alias rp2040_pac::i2c0::ic_raw_intr_stat::ACTIVITY_R
source · pub type ACTIVITY_R = BitReader<ACTIVITY_A>;
Expand description
Field ACTIVITY
reader - 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
Aliased Type§
struct ACTIVITY_R { /* private fields */ }
Implementations§
source§impl ACTIVITY_R
impl ACTIVITY_R
sourcepub const fn variant(&self) -> ACTIVITY_A
pub const fn variant(&self) -> ACTIVITY_A
Get enumerated values variant
sourcepub fn is_inactive(&self) -> bool
pub fn is_inactive(&self) -> bool
RAW_INTR_ACTIVITY interrupt is inactive