i2c_s_async_flush_rx_buffer

Flush received data.

int32_t i2c_s_async_flush_rx_buffer(
    struct i2c_s_async_descriptor *const descr
)

This function flushes all received data

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 status of data flushing