i2c_s_sync_deinit

Deinitialize synchronous I2C slave interface.

int32_t i2c_s_sync_deinit(
    struct i2c_s_sync_descriptor *const descr
)

This function deinitializes the given synchronous 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_sync_descriptor Struct *const

An I2C slave descriptor which is used to communicate through I2C

Returns

Type: int32_t

De-initialization status.