Struct esp32s3_hal::pac::rtc_i2c::slave_addr::W
pub struct W(_);
Expand description
Register SLAVE_ADDR
writer
Implementations§
§impl W
impl W
pub fn slave_addr(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE_ADDR_SPEC, u16, u16, Unsafe, 15, 0>
pub fn slave_addr(
&mut self
) -> FieldWriterRaw<'_, u32, SLAVE_ADDR_SPEC, u16, u16, Unsafe, 15, 0>
Bits 0:14 - slave address
pub fn addr_10bit_en(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE_ADDR_SPEC, bool, BitM, 31>
pub fn addr_10bit_en(
&mut self
) -> BitWriterRaw<'_, u32, SLAVE_ADDR_SPEC, bool, BitM, 31>
Bit 31 - i2c 10bit mode enable
Methods from Deref<Target = W<SLAVE_ADDR_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<SLAVE_ADDR_SPEC>> for W
impl From<W<SLAVE_ADDR_SPEC>> for W
§fn from(writer: W<SLAVE_ADDR_SPEC>) -> W
fn from(writer: W<SLAVE_ADDR_SPEC>) -> W
Converts to this type from the input type.