Function esp_idf_hal::sys::i2c_set_data_mode
source ยท pub unsafe extern "C" fn i2c_set_data_mode(
i2c_num: u32,
tx_trans_mode: u32,
rx_trans_mode: u32,
) -> i32
Expand description
@brief set I2C data transfer mode
@param i2c_num I2C port number @param tx_trans_mode I2C sending data mode @param rx_trans_mode I2C receving data mode
@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error