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.

Table 1. Parameters
Data direction Parameter name Description

[in, out]

module

Pointer to the driver instance to lock

Table 2. Return Values
Return value Description

STATUS_OK

If the module was locked

STATUS_BUSY

If the module was already locked