feat: add lab-rv32i-freertos-semaphore-notify card
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#ifndef K12_HOST_TASK_H
|
||||
#define K12_HOST_TASK_H
|
||||
#include "FreeRTOS.h"
|
||||
typedef enum eNotifyAction
|
||||
{
|
||||
eNoAction = 0,
|
||||
eSetBits,
|
||||
eIncrement,
|
||||
eSetValueWithOverwrite,
|
||||
eSetValueWithoutOverwrite
|
||||
} eNotifyAction;
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
BaseType_t xTaskNotifyGive( TaskHandle_t );
|
||||
BaseType_t xTaskNotify( TaskHandle_t, uint32_t, eNotifyAction );
|
||||
uint32_t ulTaskNotifyTake( BaseType_t, TickType_t );
|
||||
BaseType_t xTaskNotifyWait( uint32_t, uint32_t, uint32_t *, TickType_t );
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user