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