i2c_cmd_link_create() function
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 value
Handle to the I2C command link or NULL in case of insufficient dynamic memory.
i2c_cmd_link_create() calls 1 function:
![]()
i2c_cmd_link_create()