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.

Table 17-6. Parameters
Data directionParameter nameDescription

[in, out]

module

Pointer to the driver instance to lock

Table 17-7. Return Values
Return valueDescription

STATUS_OK

If the module was locked

STATUS_BUSY

If the module was already locked