23 lines
533 B
C
23 lines
533 B
C
#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
|