Struct esp32s2::i2c0::scl_sp_conf::W
source · pub struct W(_);
Expand description
Register SCL_SP_CONF
writer
Implementations§
source§impl W
impl W
sourcepub fn scl_rst_slv_en(&mut self) -> SCL_RST_SLV_EN_W<'_, 0>
pub fn scl_rst_slv_en(&mut self) -> SCL_RST_SLV_EN_W<'_, 0>
Bit 0 - When I2C master is IDLE, set this bit to send out SCL pulses. The number of pulses equals to I2C_SCL_RST_SLV_NUM[4:0].
sourcepub fn scl_rst_slv_num(&mut self) -> SCL_RST_SLV_NUM_W<'_, 1>
pub fn scl_rst_slv_num(&mut self) -> SCL_RST_SLV_NUM_W<'_, 1>
Bits 1:5 - Configure the pulses of SCL generated in I2C master mode. Valid when I2C_SCL_RST_SLV_EN is 1.
sourcepub fn scl_pd_en(&mut self) -> SCL_PD_EN_W<'_, 6>
pub fn scl_pd_en(&mut self) -> SCL_PD_EN_W<'_, 6>
Bit 6 - The power down enable bit for the I2C output SCL line. 1: Power down. 0: Not power down. Set I2C_SCL_FORCE_OUT and I2C_SCL_PD_EN to 1 to stretch SCL low.
sourcepub fn sda_pd_en(&mut self) -> SDA_PD_EN_W<'_, 7>
pub fn sda_pd_en(&mut self) -> SDA_PD_EN_W<'_, 7>
Bit 7 - The power down enable bit for the I2C output SDA line. 1: Power down. 0: Not power down. Set I2C_SDA_FORCE_OUT and I2C_SDA_PD_EN to 1 to stretch SDA low.