Files
lab-rv32i-freertos-mutex/tests/host-shim/semphr.h
T
2026-07-21 19:14:19 +02:00

16 lines
430 B
C

#ifndef K11_HOST_SEMPHR_H
#define K11_HOST_SEMPHR_H
#include "FreeRTOS.h"
#ifdef __cplusplus
extern "C" {
#endif
SemaphoreHandle_t xSemaphoreCreateMutexStatic( StaticSemaphore_t * );
BaseType_t xSemaphoreTake( SemaphoreHandle_t, TickType_t );
BaseType_t xSemaphoreGive( SemaphoreHandle_t );
TaskHandle_t xSemaphoreGetMutexHolder( SemaphoreHandle_t );
void vSemaphoreDelete( SemaphoreHandle_t );
#ifdef __cplusplus
}
#endif
#endif