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

📄 efd_a33.h

📁 intel p33上层驱动程序实例
💻 H
字号:
/*###########################################################################
###  Intel Confidential
###  Copyright (c) Intel Corporation 2007
###  All Rights Reserved.
###  ----------------------------------------------------------------------
###  Project: Intel Flash Driver
###
###  Module: efd_a33.h - The purpose of this file is to implement the A00 
###     device specific 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.
###
########################################################################### */

#ifndef _EFD_A33_H_
#define _EFD_A33_H_


#ifdef __cplusplus
extern "C" {
#endif


/* Hardware Commands */
#define CMD_BA_PROGRAM            0x42
#define CMD_BA_BUFFER_PROGRAM     0xEA
#define CMD_BA_BUFFER_CONFIRM     0xD0
#define CMD_STREAM_ENTRY          0x4A
#define CMD_STREAM_EXIT           0x4F
#define CMD_STREAM_CONFIRM        0xD0


#if defined(EFD_CONF_BA_WRITE) && (EFD_CONF_BA_WRITE==TRUE)
/****************************************************************************
 * EFD_A33_BitAltSingleProgram
 *
 * DESCRIPTION:
 *    This function allows to write directly into the BiOUM memory unlike the 
 *    Flash Memory, which can only go from 1 to 0 before an erase of the entire 
 *    block by set offset. After completion the device is returned to the 
 *    Read Array Mode.  
 *
 * PARAMETERS:
 *    IN       addr_offset   Address offset on a flash to write
 *    IN       value         Data
 *
 * RETURNS:
 *    Success: 
 *       FLASH_ERR_NONE - Function executed successfully;
 *    Failure:  
 *       FLASH_ERR_TIMEOUT 

⌨️ 快捷键说明

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