#[repr(transparent)]pub struct IcClrActivity(pub u32);
Expand description
Clear ACTIVITY Interrupt Register
Tuple Fields§
§0: u32
Implementations§
Source§impl IcClrActivity
impl IcClrActivity
Sourcepub const fn clr_activity(&self) -> bool
pub const fn clr_activity(&self) -> bool
Reading this register clears the ACTIVITY interrupt if the I2C is not active anymore. If the I2C module is still active on the bus, the ACTIVITY interrupt bit continues to be set. It is automatically cleared by hardware if the module is disabled and if there is no further activity on the bus. The value read from this register to get status of the ACTIVITY interrupt (bit 8) of the IC_RAW_INTR_STAT register. Reset value: 0x0
Sourcepub fn set_clr_activity(&mut self, val: bool)
pub fn set_clr_activity(&mut self, val: bool)
Reading this register clears the ACTIVITY interrupt if the I2C is not active anymore. If the I2C module is still active on the bus, the ACTIVITY interrupt bit continues to be set. It is automatically cleared by hardware if the module is disabled and if there is no further activity on the bus. The value read from this register to get status of the ACTIVITY interrupt (bit 8) of the IC_RAW_INTR_STAT register. Reset value: 0x0
Trait Implementations§
Source§impl Clone for IcClrActivity
impl Clone for IcClrActivity
Source§fn clone(&self) -> IcClrActivity
fn clone(&self) -> IcClrActivity
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more