gpiodbg.h

来自「WinCE5.0BSP for Renesas SH7770」· C头文件 代码 · 共 50 行

H
50
字号
//
//  Copyright(C) Renesas Technology Corp. 2002-2003. All rights reserved.
//
// GPIO driver for ITS-DS7
//
// FILE     : GPIODBG.H
// CREATED  : 2002.06.27
// MODIFIED : 2003.06.20
// AUTHOR   : Renesas Technology Corp.
// HARDWARE : RENESAS ITS-DS7
// HISTORY  : 
//            2003.06.20
//            - Created release code.
//              (based on GPIO driver for
//                        ITS-DS4 Source Kit Ver1.2.0 for WCE 4.2)
//
#ifdef DEBUG

// These defines must match the ZONE_* defines.

#define ZONE_ERROR_NUM		0
#define ZONE_IWARNING_NUM	1
#define ZONE_READ_NUM		2
#define ZONE_WRITE_NUM		3
#define ZONE_TRACE_NUM		4

#define ZONE_ERROR			DEBUGZONE(ZONE_ERROR_NUM)
#define ZONE_IWARNING		DEBUGZONE(ZONE_IWARNING_NUM)
#define ZONE_READ			DEBUGZONE(ZONE_READ_NUM)
#define ZONE_WRITE			DEBUGZONE(ZONE_WRITE_NUM)
#define ZONE_TRACE			DEBUGZONE(ZONE_TRACE_NUM)

#define BZONE_ERROR			0x0001
#define BZONE_IWARNING		0x0002
#define BZONE_READ			0x0004
#define BZONE_WRITE			0x0008
#define BZONE_TRACE			0x0010

DBGPARAM dpCurSettings = {
	TEXT("GPIO"), {
	TEXT("Errors"), TEXT("Warnings"), TEXT("Reads"), TEXT("Writes"),
	TEXT("Trace"), TEXT("Undefined"), TEXT("Undefined"), TEXT("Undefined"),
	TEXT("Undefined"), TEXT("Undefined"), TEXT("Undefined"), TEXT("Undefined"),
	TEXT("Undefined"), TEXT("Undefined"), TEXT("Undefined"), TEXT("Undefined") },
	BZONE_ERROR|BZONE_IWARNING
};

#endif // DEBUG

⌨️ 快捷键说明

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