📄 debug.h
字号:
/************************************************** * * <filename> * * CVS ID: $Id: debug.h,v 1.10 2006/09/18 09:55:21 belardi Exp $ * Author: Ondrej Trubac [OT] - STM * Date: $Date: 2006/09/18 09:55:21 $ * Revision: $Revision: 1.10 $ * * Description: * * - TRACE32 feature: printf() to terminal window * *************************************************** * * COPYRIGHT (C) ST Microelectronics 2005 * All Rights Reserved * **************************************************** * * STM CVS Log: * * $Log: debug.h,v $ * Revision 1.10 2006/09/18 09:55:21 belardi * Corrected CVS keyword usage * * Revision 1.9 2006/09/18 09:22:43 belardi * Added Log CVS keyword into file header * * Revision 1.8 2006/09/15 20:18:11 belardi * Added Log CVS keyword into file header * * ***************************************************/ #ifndef DEFINE_DEBUG_H#define DEFINE_DEBUG_H#include "configuration.h"#if (0 != HAVE_PRINTF)#include "pdebug.h"#endif#ifdef TRACE_DEBUG#include <string.h>#define DCC_WRITEBUSY 0x02#define DCC_READFULL 0x01#endif#ifdef QAC_CHECK#define DBG_PRINTF(x)#else #ifdef TRACE_DEBUG #define DBG_PRINTF(...) printf(__VA_ARGS__) #else #define DBG_PRINTF(...) do{}while(0) #endif#endif#if 0#define DEBUG_LOG(a,b) printf(a,b);#define DEBUG_LOG_2(a,b,c) printf(a,b,c);#define DEBUG_LOG_3(a,b,c,d) printf(a,b,c,d);#else#define DEBUG_LOG(a,b) ;#define DEBUG_LOG_2(a,b,c) ;#define DEBUG_LOG_3(a,b,c,d) ;#endif#if 0#define GETC _getch();#else#define GETC#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -