XFusion API
v1.3.0
载入中...
搜索中...
未找到
xf_sys.h
浏览该文件的文档.
1
19
#ifndef __XF_SYS_H__
20
#define __XF_SYS_H__
21
22
/* ==================== [Includes] ========================================== */
23
24
#include "
xf_sys_config_internal.h
"
25
#include "
xf_sys_time.h
"
26
#include "
xf_sys_watchdog.h
"
27
35
#ifdef __cplusplus
36
extern
"C"
{
37
#endif
38
39
/* ==================== [Defines] =========================================== */
40
41
/* ==================== [Typedefs] ========================================== */
42
43
/* ==================== [Global Prototypes] ================================= */
44
49
void
xf_sys_reboot
(
void
);
50
56
xf_err_t
xf_sys_interrupt_enable
(
void
);
57
63
xf_err_t
xf_sys_interrupt_disable
(
void
);
64
65
/* ==================== [Macros] ============================================ */
66
67
#ifdef __cplusplus
68
}
/* extern "C" */
69
#endif
70
76
#endif
// __XF_SYS_H__
xf_sys_interrupt_enable
xf_err_t xf_sys_interrupt_enable(void)
打开系统中断
Definition
xf_sys.c:39
xf_sys_interrupt_disable
xf_err_t xf_sys_interrupt_disable(void)
关闭系统中断
Definition
xf_sys.c:44
xf_sys_reboot
void xf_sys_reboot(void)
软件系统重启
Definition
xf_sys.c:30
xf_err_t
int32_t xf_err_t
整形错误类型。 错误码具体值见 xf_err_code_t.
Definition
xf_err.h:69
xf_sys_config_internal.h
xf_sys_time.h
时间戳及精确延迟。
xf_sys_watchdog.h
看门狗控制接口。
components
xf_sys
xf_sys
src
xf_sys.h
生成于 2025年 一月 21日 星期二 17:25:09 , 为 XFusion API使用
1.9.8