_debug.h

来自「at91rm9200 mac control源码」· C头文件 代码 · 共 36 行

H
36
字号

/****************************************************************
 *                                                              *
 *  Program : DEBUG.H                                           *
 *                                                              *
 *  Purpose : Specification of DEBUG.C                          *
 *                                                              *
 *  Compile : SH SERIES C Compiler Ver. 4.1                     *
 *                                                              *
 *  Version : 1.00                                              *
 *                                                              *
 *  Create  : 2002-09-01 Sunday              By KWM             *
 *                                                              *
 *  Copyright (C) 2002  Amnokgang Technology Development Corp.  *
 *  All Rights Reserved.                                        *
 *                                                              *
 ****************************************************************/

#define PrintLH(num,lin) {QuickWatch( num, lin, 0, 1 ); }
#define PrintRH(num,lin) {QuickWatch( num, lin, 10, 1 ); }
#define PrintLD(num,lin) {QuickWatch( num, lin, 0, 0 ); }
#define PrintRD(num,lin) {QuickWatch( num, lin, 10, 0 ); }
#define _StopD(num,lin) { QuickWatch( num, lin, 0, 0 );  while( KeyInput()==0 ) ;}
#define _StopH(num,lin) { QuickWatch( num, lin, 0, 1 );  while( KeyInput()==0 ) ;}

char *_DecToString( unsigned long aDec_l, char *apBuff );
char *HexToAscii( unsigned long aHex_l, char *apBuff,  char aPreZero );
void DispTMessage( char *apString, int aLine, int aPos, int aInv );
void QuickWatch( unsigned int aValue, int aLine, int aPos, int aHex );

/****************************************************************
 *
 *                End of file : DEBUG.H
 *
 ****************************************************************/

⌨️ 快捷键说明

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