19.6.4.3.2 Function spi_unlock()
Unlock driver instance.
void spi_unlock( struct spi_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 |