17.6.3.1.2 Function i2c_master_unlock()
Unlock driver instance.
void i2c_master_unlock( struct i2c_master_module *const module)
This function clears the instance lock, indicating that it is available for use.
| Data direction | Parameter name | Description |
|---|---|---|
[in, out] | module |
Pointer to the driver instance to lock |
| Return value | Description |
|---|---|
STATUS_OK |
If the module was locked |
STATUS_BUSY |
If the module was already locked |
