Function esp_idf_svc::hal::sys::i2c_get_data_mode
source ยท pub unsafe extern "C" fn i2c_get_data_mode(
i2c_num: u32,
tx_trans_mode: *mut u32,
rx_trans_mode: *mut u32,
) -> i32
Expand description
@brief get I2C data transfer mode
@param i2c_num I2C port number @param tx_trans_mode pointer to get I2C sending data mode @param rx_trans_mode pointer to get I2C receiving data mode
@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error