CI130X SDK API手册
2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
概述
API参考
system
宏定义
system/ci_assert.h 文件参考
#include <stdio.h>
#include "
ci_log.h
"
浏览源代码.
宏定义
#define
mprintf
(fmt, args...)
_printf
(fmt, ## args)
#define
CI_ASSERT
(x, msg)
宏定义说明
◆
CI_ASSERT
#define CI_ASSERT
(
x,
msg
)
值:
if
( ( x ) == 0 ) \
{ \
mprintf(
"%s"
,msg); \
mprintf(
"ASSERT: %d in %s\n"
,__LINE__,__FUNCTION__); \
while(1) asm volatile ("ebreak"); \
}
◆
mprintf
#define mprintf
(
fmt,
args...
)
_printf
(fmt, ## args)
制作者
1.8.14