Struct esp32_hal::pac::rtcio::sar_i2c_io::R
pub struct R(_);
Expand description
Register SAR_I2C_IO
reader
Implementations§
§impl R
impl R
pub fn sar_debug_bit_sel(&self) -> FieldReaderRaw<u8, u8>
pub fn sar_debug_bit_sel(&self) -> FieldReaderRaw<u8, u8>
Bits 23:27
pub fn sar_i2c_scl_sel(&self) -> FieldReaderRaw<u8, u8>
pub fn sar_i2c_scl_sel(&self) -> FieldReaderRaw<u8, u8>
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(&self) -> FieldReaderRaw<u8, u8>
pub fn sar_i2c_sda_sel(&self) -> FieldReaderRaw<u8, u8>
Bits 30:31 - Ò0Ó using TOUCH_PAD[1] as i2c sda Ò1Ó using TOUCH_PAD[3] as i2c sda
Methods from Deref<Target = R<SAR_I2C_IO_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<SAR_I2C_IO_SPEC>> for R
impl From<R<SAR_I2C_IO_SPEC>> for R
§fn from(reader: R<SAR_I2C_IO_SPEC>) -> R
fn from(reader: R<SAR_I2C_IO_SPEC>) -> R
Converts to this type from the input type.