i2c_s_async_deinit

Deinitialize asynchronous I2C slave interface.

int32_t i2c_s_async_deinit(
    struct i2c_s_async_descriptor *const descr
)

This function deinitializes the given asynchronous I2C slave descriptor. It checks if the given hardware is initialized and if it is permitted to be deinitialized.

Parameters

descr

Type: struct i2c_s_async_descriptor Struct *const

An I2C slave descriptor which is used to communicate through I2C

Returns

Type: int32_t

De-initialization status.