17 lines
383 B
C
17 lines
383 B
C
#ifndef _WATCHDOG_TASK_H_
|
|
#define _WATCHDOG_TASK_H_
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
|
|
#define TASK_WATCHDOG_NUM_MAX 20 // 能容纳需要看门狗监控的任务最大数
|
|
|
|
void TaskWatchDog(void *arg);
|
|
void TaskWatchdogInit(void);
|
|
void TaskWatchDogRestart(void);
|
|
int TaskWatchdogRegEvent(const char *TaskName);
|
|
int TaskWatchdogFreed(int8_t id);
|
|
|
|
#endif
|