WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
nv_debug.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2019-2023. All rights reserved.
3 * Description: NV Storage Library debug
4 */
5
6#ifndef NV_DEBUG_H
7#define NV_DEBUG_H
8
9#include "stdint.h"
10#include "errcode.h"
11
12#ifdef __cplusplus
13#if __cplusplus
14extern "C" {
15#endif /* __cplusplus */
16#endif /* __cplusplus */
17
18#define NV_LOG_LEVEL_ALERT 0
19#define NV_LOG_LEVEL_FATAL 1
20#define NV_LOG_LEVEL_ERROR 2
21#define NV_LOG_LEVEL_WARN 3
22#define NV_LOG_LEVEL_NOTICE 4
23#define NV_LOG_LEVEL_INFO 5
24#define NV_LOG_LEVEL_DBG 6
25#define NV_LOG_LEVEL_TRACE 7
26
27uint32_t nv_get_debug_level(void);
28
29void nv_set_debug_level(uint32_t level);
30
31#ifdef __cplusplus
32#if __cplusplus
33}
34#endif /* __cplusplus */
35#endif /* __cplusplus */
36
37#endif /* NV_DEBUG_H */
uint32_t nv_get_debug_level(void)
Definition nv_debug.c:12
void nv_set_debug_level(uint32_t level)
Definition nv_debug.c:17