1
0
Fork 0
InfiniSim/sim/semphr.h
2024-06-23 14:19:33 +02:00

11 lines
279 B
C

#pragma once
#include "FreeRTOS.h"
#include "queue.h"
typedef QueueHandle_t SemaphoreHandle_t;
QueueHandle_t xSemaphoreCreateMutex();
BaseType_t xSemaphoreTake( SemaphoreHandle_t xSemaphore, TickType_t xTicksToWait);
BaseType_t xSemaphoreGive( SemaphoreHandle_t xSemaphore);