debugmsgs.h

来自「RT9S12 target document」· C头文件 代码 · 共 261 行 · 第 1/2 页

H
261
字号
#define PRINT_DEBUG_MSG_LVL4(args) funct_PRINT_DEBUG_MSG_LVL4(funct_name, args)
#define PRINT_DEBUG_MSG_LVL5(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL1_Raw(args) funct_PRINT_DEBUG_MSG_LVL1_Raw(args)
#define PRINT_DEBUG_MSG_LVL2_Raw(args) funct_PRINT_DEBUG_MSG_LVL2_Raw(args)
#define PRINT_DEBUG_MSG_LVL3_Raw(args) funct_PRINT_DEBUG_MSG_LVL3_Raw(args)
#define PRINT_DEBUG_MSG_LVL4_Raw(args) funct_PRINT_DEBUG_MSG_LVL4_Raw(args)
#define PRINT_DEBUG_MSG_LVL5_Raw(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL1_UDec(args) funct_PRINT_DEBUG_MSG_LVL1_UDec(args)
#define PRINT_DEBUG_MSG_LVL2_UDec(args) funct_PRINT_DEBUG_MSG_LVL2_UDec(args)
#define PRINT_DEBUG_MSG_LVL3_UDec(args) funct_PRINT_DEBUG_MSG_LVL3_UDec(args)
#define PRINT_DEBUG_MSG_LVL4_UDec(args) funct_PRINT_DEBUG_MSG_LVL4_UDec(args)
#define PRINT_DEBUG_MSG_LVL5_UDec(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL1_UHex(args) funct_PRINT_DEBUG_MSG_LVL1_UHex(args)
#define PRINT_DEBUG_MSG_LVL2_UHex(args) funct_PRINT_DEBUG_MSG_LVL2_UHex(args)
#define PRINT_DEBUG_MSG_LVL3_UHex(args) funct_PRINT_DEBUG_MSG_LVL3_UHex(args)
#define PRINT_DEBUG_MSG_LVL4_UHex(args) funct_PRINT_DEBUG_MSG_LVL4_UHex(args)
#define PRINT_DEBUG_MSG_LVL5_UHex(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_NL1  funct_PRINT_DEBUG_MSG_NL1()
#define PRINT_DEBUG_MSG_NL2  funct_PRINT_DEBUG_MSG_NL2()
#define PRINT_DEBUG_MSG_NL3  funct_PRINT_DEBUG_MSG_NL3()
#define PRINT_DEBUG_MSG_NL4  funct_PRINT_DEBUG_MSG_NL4()
#define PRINT_DEBUG_MSG_NL5 /* release version, do nothing */
#elif DEBUG_MSG_LVL == 3
#define PRINT_DEBUG_MSG_LVL1(args) funct_PRINT_DEBUG_MSG_LVL1(funct_name, args)
#define PRINT_DEBUG_MSG_LVL2(args) funct_PRINT_DEBUG_MSG_LVL2(funct_name, args)
#define PRINT_DEBUG_MSG_LVL3(args) funct_PRINT_DEBUG_MSG_LVL3(funct_name, args)
#define PRINT_DEBUG_MSG_LVL4(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL5(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL1_Raw(args) funct_PRINT_DEBUG_MSG_LVL1_Raw(args)
#define PRINT_DEBUG_MSG_LVL2_Raw(args) funct_PRINT_DEBUG_MSG_LVL2_Raw(args)
#define PRINT_DEBUG_MSG_LVL3_Raw(args) funct_PRINT_DEBUG_MSG_LVL3_Raw(args)
#define PRINT_DEBUG_MSG_LVL4_Raw(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL5_Raw(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL1_UDec(args) funct_PRINT_DEBUG_MSG_LVL1_UDec(args)
#define PRINT_DEBUG_MSG_LVL2_UDec(args) funct_PRINT_DEBUG_MSG_LVL2_UDec(args)
#define PRINT_DEBUG_MSG_LVL3_UDec(args) funct_PRINT_DEBUG_MSG_LVL3_UDec(args)
#define PRINT_DEBUG_MSG_LVL4_UDec(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL5_UDec(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL1_UHex(args) funct_PRINT_DEBUG_MSG_LVL1_UHex(args)
#define PRINT_DEBUG_MSG_LVL2_UHex(args) funct_PRINT_DEBUG_MSG_LVL2_UHex(args)
#define PRINT_DEBUG_MSG_LVL3_UHex(args) funct_PRINT_DEBUG_MSG_LVL3_UHex(args)
#define PRINT_DEBUG_MSG_LVL4_UHex(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL5_UHex(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_NL1  funct_PRINT_DEBUG_MSG_NL1()
#define PRINT_DEBUG_MSG_NL2  funct_PRINT_DEBUG_MSG_NL2()
#define PRINT_DEBUG_MSG_NL3  funct_PRINT_DEBUG_MSG_NL3()
#define PRINT_DEBUG_MSG_NL4 /* release version, do nothing */
#define PRINT_DEBUG_MSG_NL5 /* release version, do nothing */
#elif DEBUG_MSG_LVL == 2
#define PRINT_DEBUG_MSG_LVL1(args) funct_PRINT_DEBUG_MSG_LVL1(funct_name, args)
#define PRINT_DEBUG_MSG_LVL2(args) funct_PRINT_DEBUG_MSG_LVL2(funct_name, args)
#define PRINT_DEBUG_MSG_LVL3(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL4(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL5(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL1_Raw(args) funct_PRINT_DEBUG_MSG_LVL1_Raw(args)
#define PRINT_DEBUG_MSG_LVL2_Raw(args) funct_PRINT_DEBUG_MSG_LVL2_Raw(args)
#define PRINT_DEBUG_MSG_LVL3_Raw(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL4_Raw(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL5_Raw(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL1_UDec(args) funct_PRINT_DEBUG_MSG_LVL1_UDec(args)
#define PRINT_DEBUG_MSG_LVL2_UDec(args) funct_PRINT_DEBUG_MSG_LVL2_UDec(args)
#define PRINT_DEBUG_MSG_LVL3_UDec(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL4_UDec(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL5_UDec(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL1_UHex(args) funct_PRINT_DEBUG_MSG_LVL1_UHex(args)
#define PRINT_DEBUG_MSG_LVL2_UHex(args) funct_PRINT_DEBUG_MSG_LVL2_UHex(args)
#define PRINT_DEBUG_MSG_LVL3_UHex(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL4_UHex(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL5_UHex(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_NL1  funct_PRINT_DEBUG_MSG_NL1()
#define PRINT_DEBUG_MSG_NL2  funct_PRINT_DEBUG_MSG_NL2()
#define PRINT_DEBUG_MSG_NL3 /* release version, do nothing */
#define PRINT_DEBUG_MSG_NL4 /* release version, do nothing */
#define PRINT_DEBUG_MSG_NL5 /* release version, do nothing */
#elif DEBUG_MSG_LVL == 1
#define PRINT_DEBUG_MSG_LVL1(args) funct_PRINT_DEBUG_MSG_LVL1(funct_name, args)
#define PRINT_DEBUG_MSG_LVL2(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL3(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL4(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL5(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL1_Raw(args) funct_PRINT_DEBUG_MSG_LVL1_Raw(args)
#define PRINT_DEBUG_MSG_LVL2_Raw(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL3_Raw(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL4_Raw(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL5_Raw(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL1_UDec(args) funct_PRINT_DEBUG_MSG_LVL1_UDec(args)
#define PRINT_DEBUG_MSG_LVL2_UDec(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL3_UDec(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL4_UDec(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL5_UDec(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL1_UHex(args) funct_PRINT_DEBUG_MSG_LVL1_UHex(args)
#define PRINT_DEBUG_MSG_LVL2_UHex(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL3_UHex(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL4_UHex(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL5_UHex(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_NL1  funct_PRINT_DEBUG_MSG_NL1()
#define PRINT_DEBUG_MSG_NL2 /* release version, do nothing */
#define PRINT_DEBUG_MSG_NL3 /* release version, do nothing */
#define PRINT_DEBUG_MSG_NL4 /* release version, do nothing */
#define PRINT_DEBUG_MSG_NL5 /* release version, do nothing */
#else
#define PRINT_DEBUG_MSG_LVL1(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL2(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL3(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL4(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL5(args) /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL1_Raw(args)  /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL2_Raw(args)  /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL3_Raw(args)  /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL4_Raw(args)  /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL5_Raw(args)  /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL1_UDec(args)  /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL2_UDec(args)  /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL3_UDec(args)  /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL4_UDec(args)  /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL5_UDec(args)  /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL1_UHex(args)  /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL2_UHex(args)  /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL3_UHex(args)  /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL4_UHex(args)  /* release version, do nothing */
#define PRINT_DEBUG_MSG_LVL5_UHex(args)  /* release version, do nothing */
#define PRINT_DEBUG_MSG_NL1   /* release version, do nothing */
#define PRINT_DEBUG_MSG_NL2   /* release version, do nothing */
#define PRINT_DEBUG_MSG_NL3   /* release version, do nothing */
#define PRINT_DEBUG_MSG_NL4   /* release version, do nothing */
#define PRINT_DEBUG_MSG_NL5   /* release version, do nothing */
#endif

#endif /* _DEBUG_MSGS_SUPPORT_ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?