i2c_s_async_abort_tx

Abort sending.

int32_t i2c_s_async_abort_tx(
    struct i2c_s_async_descriptor *const descr
)

This function aborts data sending

Parameters

descr

Type: 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 received