Function esp_idf_svc::hal::sys::i2c_cmd_link_create

source ยท
pub unsafe extern "C" fn i2c_cmd_link_create() -> *mut c_void
Expand description

@brief Create and initialize an I2C commands list with a given buffer. After finishing the I2C transactions, it is required to call i2c_cmd_link_delete() to release and return the resources. The required bytes will be dynamically allocated.

@return Handle to the I2C command link or NULL in case of insufficient dynamic memory.