26.3.3.10 i2c_m_sync_send_stop
Sync version of send stop condition on the i2c bus.
int32_t i2c_m_sync_send_stop(
struct i2c_m_sync_desc *const i2c
)
This function will create a stop condition on the i2c bus to release the bus
Parameters
- i2c
-
Type: struct i2c_m_sync_desc Struct *const
An I2C descriptor, which is used to communicate through I2C
Returns
Type: int32_t
The status of the operation
- 0
-
Operation completed successfully
- <0
-
Operation failed