Function esp_idf_sys::i2c_set_period
source ยท pub unsafe extern "C" fn i2c_set_period(
i2c_num: i2c_port_t,
high_period: c_int,
low_period: c_int,
) -> esp_err_t
Expand description
@brief Set I2C master clock period
@param i2c_num I2C port number @param high_period Clock cycle number during SCL is high level, high_period is a 14 bit value @param low_period Clock cycle number during SCL is low level, low_period is a 14 bit value
@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error