Motion_EC_Stm32_archived/App/Inc/th_elog.h

27 lines
606 B
C
Raw Normal View History

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-14 23:24:59 +08:00
osSemaphoreId_t ElogOutputBinarySemHandle;
const osSemaphoreAttr_t ElogOutputBinarySem_attributes;
2021-03-11 19:09:05 +08:00
osMutexId_t ElogUartMutexHandle;
const osMutexAttr_t ElogUartMutex_attributes;
osMutexId_t ElogOutputMutexHandle;
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