Struct esp32_hal::pac::rtcio::sar_i2c_io::W
pub struct W(_);
Expand description
Register SAR_I2C_IO
writer
Implementations§
§impl W
impl W
pub fn sar_debug_bit_sel(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_I2C_IO_SPEC, u8, u8, Unsafe, 5, 23>
pub fn sar_debug_bit_sel(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_I2C_IO_SPEC, u8, u8, Unsafe, 5, 23>
Bits 23:27
pub fn sar_i2c_scl_sel(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_I2C_IO_SPEC, u8, u8, Unsafe, 2, 28>
pub fn sar_i2c_scl_sel(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_I2C_IO_SPEC, u8, u8, Unsafe, 2, 28>
Bits 28:29 - Ò0Ó using TOUCH_PAD[0] as i2c clk Ò1Ó using TOUCH_PAD[2] as i2c clk
pub fn sar_i2c_sda_sel(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_I2C_IO_SPEC, u8, u8, Unsafe, 2, 30>
pub fn sar_i2c_sda_sel(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_I2C_IO_SPEC, u8, u8, Unsafe, 2, 30>
Bits 30:31 - Ò0Ó using TOUCH_PAD[1] as i2c sda Ò1Ó using TOUCH_PAD[3] as i2c sda
Methods from Deref<Target = W<SAR_I2C_IO_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<SAR_I2C_IO_SPEC>> for W
impl From<W<SAR_I2C_IO_SPEC>> for W
§fn from(writer: W<SAR_I2C_IO_SPEC>) -> W
fn from(writer: W<SAR_I2C_IO_SPEC>) -> W
Converts to this type from the input type.