XFusion API
v1.3.0
载入中...
搜索中...
未找到
xf_sys_watchdog.h
浏览该文件的文档.
1
12
#ifndef __XF_SYS_WATCHDOG_H__
13
#define __XF_SYS_WATCHDOG_H__
14
15
/* ==================== [Includes] ========================================== */
16
17
#include "
xf_sys_config_internal.h
"
18
#include "xf_utils.h"
19
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
33
/* ==================== [Defines] =========================================== */
34
35
/* ==================== [Typedefs] ========================================== */
36
37
/* ==================== [Global Prototypes] ================================= */
38
44
xf_err_t
xf_sys_watchdog_enable
(
void
);
45
51
xf_err_t
xf_sys_watchdog_disable
(
void
);
52
58
xf_err_t
xf_sys_watchdog_kick
(
void
);
59
60
/* ==================== [Macros] ============================================ */
61
62
#ifdef __cplusplus
63
}
/* extern "C" */
64
#endif
65
71
#endif
// __XF_SYS_WATCHDOG_H__
xf_sys_watchdog_enable
xf_err_t xf_sys_watchdog_enable(void)
开启看门狗
Definition
xf_sys_watchdog.c:30
xf_sys_watchdog_disable
xf_err_t xf_sys_watchdog_disable(void)
关闭看门狗
Definition
xf_sys_watchdog.c:35
xf_sys_watchdog_kick
xf_err_t xf_sys_watchdog_kick(void)
喂狗,防止看门狗超时叫
Definition
xf_sys_watchdog.c:40
xf_err_t
int32_t xf_err_t
整形错误类型。 错误码具体值见 xf_err_code_t.
Definition
xf_err.h:69
xf_sys_config_internal.h
components
xf_sys
xf_sys
src
xf_sys_watchdog.h
生成于 2025年 一月 21日 星期二 17:25:09 , 为 XFusion API使用
1.9.8