Struct esp32::i2c0::slave_addr::R
source · pub struct R(_);
Expand description
Register SLAVE_ADDR
reader
Implementations§
source§impl R
impl R
sourcepub fn slave_addr(&self) -> SLAVE_ADDR_R
pub fn slave_addr(&self) -> SLAVE_ADDR_R
Bits 0:14 - when configured as i2c slave this register is used to configure slave’s address.
sourcepub fn addr_10bit_en(&self) -> ADDR_10BIT_EN_R
pub fn addr_10bit_en(&self) -> ADDR_10BIT_EN_R
Bit 31 - This register is used to enable slave 10bit address mode.