26.1.5.12 i2c_m_async_get_status
Returns the status during the transfer.
int32_t i2c_m_async_get_status(
struct i2c_m_async_desc *const i2c,
struct i2c_m_async_status * stat
)
Parameters
- i2c
-
Type: struct i2c_m_async_desc Struct *const
An i2c descriptor which is used to communicate through I2C
- stat
-
Type: struct i2c_m_async_status Struct *
Pointer to the detailed status descriptor, set to NULL
Returns
Type: int32_t
Status of transfer
- 0
-
No error detected
- <0
-
Error code