⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ne64debug.h

📁 用于以太网开发
💻 H
字号:
/*****************************************************************************
 *                      (c) Freescale  Inc. 2003 All rights reserved          
 *
 * File Name     : debug.h                                              
 *                                                                           
 * PURPOSE: Diagnostics output header file
 *                                                                           
 * Version : 2.1
 * Date    : 01/20/03
 *
 *****************************************************************************/

#ifndef _NE64_DEBUG_H
#define _NE64_DEBUG_H

#include "MOTTYPES.h"

//uncomment to enable debug mode
//set  ETH_DEBUG to 1 for detailed debug
//#define ETH_DEBUG  0
//#define ETH_DEBUG  1



#ifdef ETH_DEBUG

void Debugt(tS08 *x);
void Debugi(tU16 x);
void Debugc(tU08 c);
void Debugnl(void);
void InitDebug(void);

#define _INIT_DEBUG()   InitDebug()
#define _DEBUGT(a)   Debugt(a)
#define _DEBUGI(a)   Debugi(a)
#define _DEBUGC(a)   Debugc(a)
#define _DEBUGNL     Debugnl()


#else
#define _INIT_DEBUG()
#define _DEBUGT(a)
#define _DEBUGI(a)
#define _DEBUGC(a)
#define _DEBUGNL

#endif						 

#endif

⌨️ 快捷键说明

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