27 lines
606 B
C
27 lines
606 B
C
#ifndef __TH_ELOG_H__
|
|
#define __TH_ELOG_H__
|
|
|
|
#include "cmsis_os2.h"
|
|
|
|
osSemaphoreId_t ElogOutputBinarySemHandle;
|
|
const osSemaphoreAttr_t ElogOutputBinarySem_attributes;
|
|
|
|
|
|
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
|