📄 debug.h
字号:
/*----------------------------------------------------------------------------+
| |
| Texas Instruments |
| |
| Debug |
| |
+-----------------------------------------------------------------------------+
| Source: bootcode.h v1.0 2000/11/02 16:27:56 |
| Author: Horng-Ming Lobo Tai lobotai@ti.com |
| Header: (none) |
| |
| For more information, please contact |
| |
| Lobo Tai |
| Texas Instruments |
| 12500 TI BLVD, MS 8761 |
| Dallas, TX 75243 |
| USA |
| |
| Tel 214-480-3145 |
| Fax 214-480-3443 |
| |
| Logs: |
| |
| WHO WHEN WHAT |
| --- -------- ----------------------------------------------------- |
| HMT 20001102 born |
| |
+----------------------------------------------------------------------------*/
#ifndef _DEBUG_H_
#define _DEBUG_H_
#ifdef __cplusplus
extern "C"
{
#endif
/*----------------------------------------------------------------------------+
| Release Notes: |
| |
| |
+----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------+
| Include files |
+----------------------------------------------------------------------------*/
#include "types.h"
/*----------------------------------------------------------------------------+
| Function Prototype |
+----------------------------------------------------------------------------*/
#ifdef DEBUG
VOID DEBUG_INIT(BYTE bMode);
UINT TRACE(const char *format,...);
#else
// no debug
#define DEBUG_INIT
#define TRACE
#endif
/*----------------------------------------------------------------------------+
| Type Definition & Macro |
+----------------------------------------------------------------------------*/
#define DEBUG_OUTPUT_NULL 0
#define DEBUG_OUTPUT_LCD 1
#define DEBUG_OUTPUT_RS232 2
/*----------------------------------------------------------------------------+
| Constant Definition |
+----------------------------------------------------------------------------*/
#ifdef __cplusplus
}
#endif
#endif /* _DEBUG_H_ */
/*------------------------ Nothing Below This Line -------------------------*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -