Sync version of enable hardware.
int32_t i2c_m_sync_enable( struct i2c_m_sync_desc * i2c )
This function enables the I2C device, and then waits for this enabling operation to be done
Type: struct i2c_m_sync_desc Struct *
An I2C descriptor, which is used to communicate through I2C
Type: int32_t
Whether successfully enable the device
The passed parameters were invalid or the device enable failed
The hardware enabling is completed successfully