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