XFusion API v1.3.0
载入中...
搜索中...
未找到
xf_sys_config_internal.h
浏览该文件的文档.
1
12#ifndef __XF_SYS_CONFIG_INTERNAL_H__
13#define __XF_SYS_CONFIG_INTERNAL_H__
14
15/* ==================== [Includes] ========================================== */
16
17#include "xf_sys_config.h"
18#include "xf_utils.h"
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24/* ==================== [Defines] =========================================== */
25
26#ifndef XF_S_TYPE
27#define XF_S_TYPE uint64_t
28#endif
29
31
32#ifndef XF_MS_TYPE
33#define XF_MS_TYPE uint64_t
34#endif
35
37
38#ifndef XF_US_TYPE
39#define XF_US_TYPE uint64_t
40#endif
41
43
44#if (!defined(XF_SYS_WATCHDOG_WEAK_ENABLE)) || (XF_SYS_WATCHDOG_WEAK_ENABLE)
45# define XF_SYS_WATCHDOG_WEAK_IS_ENABLE (1)
46#else
47# define XF_SYS_WATCHDOG_WEAK_IS_ENABLE (0)
48#endif
49
50#if (!defined(XF_SYS_REBOOT_WEAK_ENABLE)) || (XF_SYS_REBOOT_WEAK_ENABLE)
51# define XF_SYS_REBOOT_WEAK_IS_ENABLE (1)
52#else
53# define XF_SYS_REBOOT_WEAK_IS_ENABLE (0)
54#endif
55
56#if (!defined(XF_SYS_INTERRUPT_WEAK_ENABLE)) || (XF_SYS_INTERRUPT_WEAK_ENABLE)
57# define XF_SYS_INTERRUPT_WEAK_IS_ENABLE (1)
58#else
59# define XF_SYS_INTERRUPT_WEAK_IS_ENABLE (0)
60#endif
61
62/* ==================== [Typedefs] ========================================== */
63
64/* ==================== [Global Prototypes] ================================= */
65
66/* ==================== [Macros] ============================================ */
67
68#ifdef __cplusplus
69}
70#endif
71
72#endif //__XF_SYS_CONFIG_INTERNAL_H__
#define XF_MS_TYPE
#define XF_S_TYPE
XF_S_TYPE xf_s_t
XF_US_TYPE xf_us_t
#define XF_US_TYPE
XF_MS_TYPE xf_ms_t