i2c_s_async_enable

Enable I2C slave communication.

int32_t i2c_s_async_enable(
    struct i2c_s_async_descriptor *const descr
)

This function enables the I2C slave device

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

Enabling status.