26.1.5.13 i2c_m_async_get_io_descriptor
Return I/O descriptor for this I2C instance.
int32_t i2c_m_async_get_io_descriptor(
struct i2c_m_async_desc *const i2c,
struct io_descriptor ** io
)
This function will return an I/O instance for this I2C driver instance
Parameters
- i2c
-
Type: struct i2c_m_async_desc Struct *const
An I2C master descriptor, which is used to communicate through I2C
- io
-
Type: struct io_descriptor Struct **
A pointer to an I/O descriptor pointer type
Returns
Type: int32_t
Error code
- 0
-
No error detected
- <0
-
Error code