19 lines
567 B
C
19 lines
567 B
C
#ifndef K08_HOST_TASK_H
|
|
#define K08_HOST_TASK_H
|
|
#include "FreeRTOS.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
typedef void ( * TaskFunction_t )( void * );
|
|
BaseType_t xTaskCreate( TaskFunction_t, const char *, configSTACK_DEPTH_TYPE,
|
|
void *, UBaseType_t, TaskHandle_t * );
|
|
TaskHandle_t xTaskCreateStatic( TaskFunction_t, const char *,
|
|
configSTACK_DEPTH_TYPE, void *, UBaseType_t,
|
|
StackType_t *, StaticTask_t * );
|
|
void vTaskDelete( TaskHandle_t );
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|
|
|