efd_gen.c

来自「intel p33上层驱动程序实例」· C语言 代码 · 共 55 行

C
55
字号
/*###########################################################################
###  Intel Confidential
###  Copyright (c) Intel Corporation 2007
###  All Rights Reserved.
###  ----------------------------------------------------------------------
###  Project: Intel Flash Driver
###
###  Module: efd_gen.c - The purpose of this file is to implement  
###     device generic functionality.
###
###  $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.
###
########################################################################### */


#include "efd_conf.h"
#include "efd_def.h"
#include "efd_err.h"
#include "efd_hal.h"
#include "efd_cmd.h"
#include "efd_lib.h"
#include "efd_gen.h"


#if defined(EFD_CONF_DEVICE_ID) && (EFD_CONF_DEVICE_ID==TRUE)
/****************************************************************************
 * EFD_GEN_DeviceId
 *
 * DESCRIPTION:
 *    This function allows to get device identification that is unique among the 
 *    flash devices of one vendor. After the completion the device is returned to
 *    the Read Array Mode. 
 *
 * PARAMETERS:
 *    OUT       id          Device Identifier Information structure
 *
 * RETURNS:
 *    Success: 
 *       FLASH_ERR_NONE - Function executed successfully;
 *    Failure:  
 *       FLASH_ERR_BAD_ARGUMENT

⌨️ 快捷键说明

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