Function esp_idf_svc::hal::sys::i2c_set_period

source ยท
pub unsafe extern "C" fn i2c_set_period(
    i2c_num: u32,
    high_period: i32,
    low_period: i32,
) -> i32
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