23 lines
505 B
C
23 lines
505 B
C
#ifndef __TH_ELOG_H__
|
|
#define __TH_ELOG_H__
|
|
|
|
#include "cmsis_os2.h"
|
|
|
|
osMutexId_t ElogUartMutexHandle;
|
|
const osMutexAttr_t ElogUartMutex_attributes;
|
|
|
|
osMutexId_t ElogOutputMutexHandle;
|
|
const osMutexAttr_t ElogOutputMutex_attributes;
|
|
|
|
osThreadId_t ElogInitTaskHandle;
|
|
osThreadId_t ElogFlushTaskHandle;
|
|
|
|
const osThreadAttr_t ElogInitTask_attributes;
|
|
const osThreadAttr_t ElogFlushTask_attributes;
|
|
|
|
void StartElogInitTask(void *argument);
|
|
void StartElogFlushTask(void *argument);
|
|
|
|
void my_elog_init();
|
|
#endif
|