Struct esp32s3_hal::pac::sens::sar_i2c_ctrl::R
pub struct R(_);
Expand description
Register SAR_I2C_CTRL
reader
Implementations§
§impl R
impl R
pub fn sar_i2c_ctrl(&self) -> FieldReaderRaw<u32, u32>
pub fn sar_i2c_ctrl(&self) -> FieldReaderRaw<u32, u32>
Bits 0:27 - I2C control data only active when reg_sar_i2c_start_force = 1
pub fn sar_i2c_start(&self) -> BitReaderRaw<bool>
pub fn sar_i2c_start(&self) -> BitReaderRaw<bool>
Bit 28 - start I2C only active when reg_sar_i2c_start_force = 1
pub fn sar_i2c_start_force(&self) -> BitReaderRaw<bool>
pub fn sar_i2c_start_force(&self) -> BitReaderRaw<bool>
Bit 29 - 1: I2C started by SW 0: I2C started by FSM
Methods from Deref<Target = R<SAR_I2C_CTRL_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_CTRL_SPEC>> for R
impl From<R<SAR_I2C_CTRL_SPEC>> for R
§fn from(reader: R<SAR_I2C_CTRL_SPEC>) -> R
fn from(reader: R<SAR_I2C_CTRL_SPEC>) -> R
Converts to this type from the input type.