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

📄 errors.h

📁 Analog Device ADSP21346平台下对AMD Flash操作的例程
💻 H
字号:
/*******************************************************************************/
/*                                                                             */
/*   (C) Copyright 2004 - Analog Devices, Inc.  All rights reserved.           */
/*                                                                             */
/*    FILE:     e r r o r s . h ( )        					                   */
/*                                                                             */
/*    CHANGES:  1.00.0  - initial release    								   */
/*																			   */
/*    PURPOSE:  This header file defines the possible errors				   */
/*                                                                             */
/*******************************************************************************/

#ifndef __ERRORS_H__
#define __ERRORS_H__

// enum of possible errors
typedef enum
{
	NO_ERR,					// No Error
	POLL_TIMEOUT,			// Polling toggle bit failed
	VERIFY_WRITE,			// Verifying write to flash failed
	INVALID_SECTOR,			// Invalid Sector
	INVALID_BLOCK,			// Invalid Block
	UNKNOWN_COMMAND,		// Unknown Command
	PROCESS_COMMAND_ERR,	// Processing command
	NOT_READ_ERROR,			// Could not read memory from target
	DRV_NOTAT_BREAK,		// The drive was not at AFP_BreakReady
	BUFFER_IS_NULL,			// Could not allocate storage for the buffer
	NUM_ERROR_CODES,
}ERROR_CODE;

#endif // __ERRORS_H__

⌨️ 快捷键说明

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