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

📄 error.h

📁 DSP 5409 plc应用程序,调试通过,是用在电力线通讯上的演示程序.
💻 H
字号:
//==========================================================================================
// Filename:		error.h
//
// Description:		Error code constant definitions.
// 					The first nibble (4-bits) identify the board reporting an error:
//							0 for master
//							1 for slave
//							2 for meter
// 					The second nibble represents the command number the error is
//					associated with.
//
//
// Copyright (C) 2003 Texas Instruments Incorporated
// Texas Instruments Proprietary Information
// Use subject to terms and conditions of TI Software License Agreement
//
// Revision History:
//==========================================================================================

// Error codes for master commands.
	// Error codes not tied to a specific command
		#define ERR_M_UNKNOWN_COMMAND		(0x0010)
		#define ERR_SLAVE_RESPONSE_TIMEOUT	(0x0020)
		#define ERR_RECV_DATA_TIMEOUT		(0x0030)
		#define ERR_MASTER_EMETER_TIMEOUT	(0x0040)
		#define ERR_SLAVE_EMETER_TIMEOUT	(0x0050)


	// Error codes for command "Master write flash"
		#define FLASH_ERROR					(0x600)		// This is used as offset with different status values.

// Error codes for slave commands.
	// Error codes not tied to a specific command
		#define ERR_S_UNKNOWN_COMMAND		(0x1010)

⌨️ 快捷键说明

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