Struct esp32c6::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.
Methods from Deref<Target = R<SLAVE_ADDR_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more