Type Alias rp2040_pac::i2c0::ic_con::IC_10BITADDR_SLAVE_R
source · pub type IC_10BITADDR_SLAVE_R = BitReader<IC_10BITADDR_SLAVE_A>;
Expand description
Field IC_10BITADDR_SLAVE
reader - When acting as a slave, this bit controls whether the DW_apb_i2c responds to 7- or 10-bit addresses. - 0: 7-bit addressing. The DW_apb_i2c ignores transactions that involve 10-bit addressing; for 7-bit addressing, only the lower 7 bits of the IC_SAR register are compared. - 1: 10-bit addressing. The DW_apb_i2c responds to only 10-bit addressing transfers that match the full 10 bits of the IC_SAR register.
Aliased Type§
struct IC_10BITADDR_SLAVE_R { /* private fields */ }
Implementations§
source§impl IC_10BITADDR_SLAVE_R
impl IC_10BITADDR_SLAVE_R
sourcepub const fn variant(&self) -> IC_10BITADDR_SLAVE_A
pub const fn variant(&self) -> IC_10BITADDR_SLAVE_A
Get enumerated values variant
sourcepub fn is_addr_7bits(&self) -> bool
pub fn is_addr_7bits(&self) -> bool
Slave 7Bit addressing
sourcepub fn is_addr_10bits(&self) -> bool
pub fn is_addr_10bits(&self) -> bool
Slave 10Bit addressing