20 lines
715 B
C
20 lines
715 B
C
#ifndef K13_HOST_EVENT_GROUPS_H
|
|
#define K13_HOST_EVENT_GROUPS_H
|
|
#include "FreeRTOS.h"
|
|
struct MockEventGroup { EventBits_t bits; };
|
|
typedef struct MockEventGroup * EventGroupHandle_t;
|
|
typedef struct MockEventGroup StaticEventGroup_t;
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
EventGroupHandle_t xEventGroupCreateStatic( StaticEventGroup_t * );
|
|
EventBits_t xEventGroupSetBits( EventGroupHandle_t, EventBits_t );
|
|
EventBits_t xEventGroupClearBits( EventGroupHandle_t, EventBits_t );
|
|
EventBits_t xEventGroupGetBits( EventGroupHandle_t );
|
|
EventBits_t xEventGroupWaitBits( EventGroupHandle_t, EventBits_t, BaseType_t, BaseType_t, TickType_t );
|
|
void vEventGroupDelete( EventGroupHandle_t );
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|