Type Alias rp2040_pac::i2c0::ic_con::STOP_DET_IFADDRESSED_R
source · pub type STOP_DET_IFADDRESSED_R = BitReader<STOP_DET_IFADDRESSED_A>;
Expand description
Field STOP_DET_IFADDRESSED
reader - In slave mode: - 1’b1: issues the STOP_DET interrupt only when it is addressed. - 1’b0: issues the STOP_DET irrespective of whether it’s addressed or not. Reset value: 0x0
NOTE: During a general call address, this slave does not issue the 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).
Aliased Type§
struct STOP_DET_IFADDRESSED_R { /* private fields */ }
Implementations§
source§impl STOP_DET_IFADDRESSED_R
impl STOP_DET_IFADDRESSED_R
sourcepub const fn variant(&self) -> STOP_DET_IFADDRESSED_A
pub const fn variant(&self) -> STOP_DET_IFADDRESSED_A
Get enumerated values variant
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
slave issues STOP_DET intr always
sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
slave issues STOP_DET intr only if addressed