pub unsafe extern "C" fn i2c_cmd_link_create() -> i2c_cmd_handle_t
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.