Struct esp32c2_hal::pac::i2c0::scl_sp_conf::R
pub struct R(_);
Expand description
Register SCL_SP_CONF
reader
Implementations§
§impl R
impl R
pub fn scl_rst_slv_en(&self) -> BitReaderRaw<bool>
pub fn scl_rst_slv_en(&self) -> BitReaderRaw<bool>
Bit 0 - When I2C master is IDLE, set this bit to send out SCL pulses. The number of pulses equals to reg_scl_rst_slv_num[4:0].
pub fn scl_rst_slv_num(&self) -> FieldReaderRaw<u8, u8>
pub fn scl_rst_slv_num(&self) -> FieldReaderRaw<u8, u8>
Bits 1:5 - Configure the pulses of SCL generated in I2C master mode. Valid when reg_scl_rst_slv_en is 1.
Methods from Deref<Target = R<SCL_SP_CONF_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<SCL_SP_CONF_SPEC>> for R
impl From<R<SCL_SP_CONF_SPEC>> for R
§fn from(reader: R<SCL_SP_CONF_SPEC>) -> R
fn from(reader: R<SCL_SP_CONF_SPEC>) -> R
Converts to this type from the input type.