spi_sem.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
void | spi1_lock (void) |
Lock SPI access. More... | |
void | spi1_unlock (void) |
Unlock SPI access. More... | |
Function Documentation
void spi1_lock | ( | void | ) |
Lock SPI access.
SPI Access should be locked in multi-tasking environment if you are using SPI BUS.
- Warning
- Only use this API if you are running FreeRTOS and scheduler has started.
void spi1_unlock | ( | void | ) |
Unlock SPI access.