Function esp_idf_sys::i2c_get_data_mode
source ยท pub unsafe extern "C" fn i2c_get_data_mode(
i2c_num: i2c_port_t,
tx_trans_mode: *mut i2c_trans_mode_t,
rx_trans_mode: *mut i2c_trans_mode_t,
) -> esp_err_t
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