2021-03-09 18:17:28 +08:00
|
|
|
#ifndef __TH_ELOG_H__
|
|
|
|
#define __TH_ELOG_H__
|
|
|
|
|
|
|
|
#include "cmsis_os2.h"
|
2021-03-10 11:03:35 +08:00
|
|
|
|
2021-03-10 12:03:49 +08:00
|
|
|
const osMutexAttr_t ElogOutputMutex_attributes;
|
|
|
|
|
2021-03-09 18:17:28 +08:00
|
|
|
osThreadId_t ElogInitTaskHandle;
|
2021-03-10 11:03:35 +08:00
|
|
|
osThreadId_t ElogFlushTaskHandle;
|
|
|
|
|
2021-03-09 18:17:28 +08:00
|
|
|
const osThreadAttr_t ElogInitTask_attributes;
|
2021-03-10 11:03:35 +08:00
|
|
|
const osThreadAttr_t ElogFlushTask_attributes;
|
2021-03-09 18:17:28 +08:00
|
|
|
|
|
|
|
void StartElogInitTask(void *argument);
|
2021-03-10 11:03:35 +08:00
|
|
|
void StartElogFlushTask(void *argument);
|
|
|
|
|
2021-03-09 18:17:28 +08:00
|
|
|
void my_elog_init();
|
|
|
|
#endif
|