47 #include "mxc_config.h" 49 #include "sema_regs.h" int SEMA_CheckSema(unsigned sema)
Check a semaphore.
void SEMA_FreeSema(unsigned sema)
Frees the semaphore.
int SEMA_GetSema(unsigned sema)
Attempt to get a semaphore.
int SEMA_Init(sys_cfg_sema_t *sys_cfg)
Initialize the semaphore peripheral.
uint32_t SEMA_Status(void)
Check all semaphores.
int SEMA_Shutdown(void)
Shutdown the semaphore peripheral.