efd_a33.c

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

C
57
字号
/*###########################################################################
###  Intel Confidential
###  Copyright (c) Intel Corporation 2007
###  All Rights Reserved.
###  ----------------------------------------------------------------------
###  Project: Intel Flash Driver
###
###  Module: efd_a33.c - 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.
###
########################################################################### */


#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_a33.h"


#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 + =
减小字号Ctrl + -
显示快捷键?