[][src]Function esp_idf_bindgen::i2c_master_write_byte

pub unsafe extern "C" fn i2c_master_write_byte(
    cmd_handle: i2c_cmd_handle_t,
    data: u8,
    ack_en: bool
) -> esp_err_t

@brief Queue command for I2C master to write one byte to I2C bus @note Only call this function in I2C master mode Call i2c_master_cmd_begin() to send all queued commands

@param cmd_handle I2C cmd link @param data I2C one byte command to write to bus @param ack_en enable ack check for master

@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error