Struct esp32s3::i2c0::slave_addr::W
source · pub struct W(_);
Expand description
Register SLAVE_ADDR
writer
Implementations
sourceimpl W
impl W
sourcepub fn slave_addr(&mut self) -> SLAVE_ADDR_W<'_, 0>
pub fn slave_addr(&mut self) -> SLAVE_ADDR_W<'_, 0>
Bits 0:14 - When configured as an I2C Slave, this field is used to configure the slave address.
sourcepub fn addr_10bit_en(&mut self) -> ADDR_10BIT_EN_W<'_, 31>
pub fn addr_10bit_en(&mut self) -> ADDR_10BIT_EN_W<'_, 31>
Bit 31 - This field is used to enable the slave 10-bit addressing mode in master mode.
Methods from Deref<Target = W<SLAVE_ADDR_SPEC>>
Trait Implementations
sourceimpl From<W<SLAVE_ADDR_SPEC>> for W
impl From<W<SLAVE_ADDR_SPEC>> for W
sourcefn from(writer: W<SLAVE_ADDR_SPEC>) -> Self
fn from(writer: W<SLAVE_ADDR_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more