Struct esp32c2::i2c0::scl_sp_conf::R
source · pub struct R(_);
Expand description
Register SCL_SP_CONF
reader
Implementations§
source§impl R
impl R
sourcepub fn scl_rst_slv_en(&self) -> SCL_RST_SLV_EN_R
pub fn scl_rst_slv_en(&self) -> SCL_RST_SLV_EN_R
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].
sourcepub fn scl_rst_slv_num(&self) -> SCL_RST_SLV_NUM_R
pub fn scl_rst_slv_num(&self) -> SCL_RST_SLV_NUM_R
Bits 1:5 - Configure the pulses of SCL generated in I2C master mode. Valid when reg_scl_rst_slv_en is 1.
sourcepub fn scl_pd_en(&self) -> SCL_PD_EN_R
pub fn scl_pd_en(&self) -> SCL_PD_EN_R
Bit 6 - The power down enable bit for the I2C output SCL line. 1: Power down. 0: Not power down. Set reg_scl_force_out and reg_scl_pd_en to 1 to stretch SCL low.
sourcepub fn sda_pd_en(&self) -> SDA_PD_EN_R
pub fn sda_pd_en(&self) -> SDA_PD_EN_R
Bit 7 - The power down enable bit for the I2C output SDA line. 1: Power down. 0: Not power down. Set reg_sda_force_out and reg_sda_pd_en to 1 to stretch SDA low.