26.4.4.9 i2c_s_async_get_bytes_sent
Retrieve the number of bytes sent.
int32_t i2c_s_async_get_bytes_sent(
const struct i2c_s_async_descriptor *const descr
)
This function retrieves the number of sent bytes for the last write operation
Parameters
- descr
-
Type: const struct i2c_s_async_descriptor Struct *const
An I2C slave descriptor which is used to communicate through
Returns
Type: int32_t
The amount of bytes sent