26.4.4.3 i2c_s_async_set_addr
Set the device address.
int32_t i2c_s_async_set_addr(
struct i2c_s_async_descriptor *const descr,
const uint16_t addr
)
This function sets the I2C slave device address.
Parameters
- descr
-
Type: struct i2c_s_async_descriptor Struct *const
An I2C slave descriptor which is used to communicate through I2C
- address
-
An address
Returns
Type: int32_t
Status of address setting.