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
18#include "xf_utils.h"
19
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33/* ==================== [Defines] =========================================== */
34
35/* ==================== [Typedefs] ========================================== */
36
37/* ==================== [Global Prototypes] ================================= */
38
45
52
59
60/* ==================== [Macros] ============================================ */
61
62#ifdef __cplusplus
63} /* extern "C" */
64#endif
65
71#endif // __XF_SYS_WATCHDOG_H__
xf_err_t xf_sys_watchdog_enable(void)
开启看门狗
xf_err_t xf_sys_watchdog_disable(void)
关闭看门狗
xf_err_t xf_sys_watchdog_kick(void)
喂狗,防止看门狗超时叫
int32_t xf_err_t
整形错误类型。 错误码具体值见 xf_err_code_t.
Definition xf_err.h:69