efd_err.h

来自「InterFlashDriver关于P30的驱动」· C头文件 代码 · 共 56 行

H
56
字号
/* ###########################################################################
###  Intel Confidential
###  Copyright (c) Intel Corporation 2007
###  All Rights Reserved.
###  ----------------------------------------------------------------------
###  Project: Intel Flash Driver
###
###  Module: efd_err.h
###
###  $Archive: $
###  $Revision: $
###  $Date: $
###
###  $NoKeywords: $
##############################################################################
###
###  NOTICE OF LICENSE AGREEMENT
###
###  This code is provided by Intel Corp., and the use is governed
###  under the terms of a license agreement. See license agreement
###  for complete terms of license.
###
###  YOU MAY ONLY USE THE SOFTWARE SUBJECT TO THE TERMS OF THE
###  INTEL SOFTWARE LICENSE AGREEMENT.
###
########################################################################### */

#ifndef _EFD_ERR_H_
#define _EFD_ERR_H_


/* 
   The source code defines return status type for all operations
 */
typedef enum
{
   FLASH_ERR_NONE  =  0x0,  /* the function completed */
   FLASH_ERR_VPP,           /* vpp failure */
   FLASH_ERR_SEQUENCE,      /* a command sequence error */
   FLASH_ERR_LOCKED,        /* locked */
   FLASH_ERR_ERASE,         /* erase fails for block # */
   FLASH_ERR_PROGRAM,       /* operation programming failure */
   FLASH_ERR_SUSPEND,       /* erase/program operation completed */
   FLASH_ERR_TIMEOUT,       /* access to the device timed out */
   FLASH_ERR_BAD_BLOCK,     /* block # not valid for this device */
   FLASH_ERR_BAD_ADDRESS,   /* address not valid for this device */
   FLASH_ERR_CFI,           /* failure experiences during Cfi operations */
   FLASH_ERR_BAD_ARGUMENT,  /* incorrect parameter */
   FLASH_ERR_UNSUPPORTED,   /* this function is not supported */
   FLASH_ERR_UNKNOWN        /* general error */
} FLASH_ERROR;           


#endif /* _EFD_ERR_H_ */

⌨️ 快捷键说明

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