i2c_s_async_get_status

Retrieve the current interface status.

int32_t i2c_s_async_get_status(
    const struct i2c_s_async_descriptor *const descr,
    i2c_s_status_t *const status
)

Parameters

descr

Type: const struct i2c_s_async_descriptor Struct *const

An I2C descriptor which is used to communicate via USART

status

Type: i2c_s_status_t *const

The state of I2C slave

Returns

Type: int32_t

The status of the I2C status retrieving.