26.5.2.6 i2c_s_sync_get_io_descriptor
Retrieve I/O descriptor.
int32_t i2c_s_sync_get_io_descriptor(
struct i2c_s_sync_descriptor *const descr,
struct io_descriptor ** io
)
This function returns a I/O instance for the given I2C slave driver instance
Parameters
- descr
-
Type: struct i2c_s_sync_descriptor Struct *const
An I2C slave 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
I/O retrieving status.