Type Alias esp32c6::i2c0::scl_sp_conf::R

source ·
pub type R = R<SCL_SP_CONF_SPEC>;
Expand description

Register SCL_SP_CONF reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

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].

source

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.

source

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.

source

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.