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

📄 i2cdbg.h

📁 WinCE5.0BSP for Renesas SH7770
💻 H
字号:
//
// Copyright(C) Renesas Technology Corp. 2002-2003. All rights reserved.
//
// I2C driver for ITS-DS7
//
// FILE      : I2CDBG.H
// CREATED   : 2002.06.26
// MODIFIED  : 2003.06.20
// AUTHOR    : Renesas Technology Corp.
// HARDWARE  : RENESAS ITS-DS7
// HISTORY   : 
//             2003.06.20
//              - Created release code.
//                (based on I2C driver for ITS-DS4 Ver.1.2.0 for WCE4.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("I2C"), {
	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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -