15#include "freertos/portmacro.h"
21#define configTASK_NOTIFICATION_ARRAY_ENTRIES 1
22#define configMAX_PRIORITIES SCHED_PRIO_LEVELS
24#ifndef configSTACK_DEPTH_TYPE
25#define configSTACK_DEPTH_TYPE uint32_t
29#define configASSERT assert
32#define configTICK_RATE_HZ ((TickType_t)100)
34#define portTICK_PERIOD_MS 10
35#define portTICK_RATE_MS portTICK_PERIOD_MS
37#define BaseType_t portBASE_TYPE
38#define UBaseType_t portUBASE_TYPE
39#define TickType_t portTICK_TYPE
40#define StackType_t portSTACK_TYPE
42#define portTickType TickType_t
44#define pdMS_TO_TICKS(ms) ((TickType_t)(ms / portTICK_PERIOD_MS))
46#define xSemaphoreHandle SemaphoreHandle_t
48typedef void (* TaskFunction_t)(
void * );
50uint32_t xPortGetTickRateHz(
void);
51BaseType_t xPortInIsrContext(
void);
53UBaseType_t xPortSetInterruptMaskFromISR(
void);
54void vPortClearInterruptMaskFromISR(UBaseType_t state);
71#define pdFALSE ( ( BaseType_t ) 0 )
72#define pdTRUE ( ( BaseType_t ) 1 )
73#define pdPASS ( pdTRUE )
74#define pdFAIL ( pdFALSE )
80#include "freertos/semphr.h"
81#include "freertos/queue.h"