Struct esp32s2::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 an I2C Slave, this field is used to configure the slave address.
sourcepub fn addr_10bit_en(&self) -> ADDR_10BIT_EN_R
pub fn addr_10bit_en(&self) -> ADDR_10BIT_EN_R
Bit 31 - This field is used to enable the slave 10-bit addressing mode in master mode.