intel_p30_2x16.h

来自「CIRRUS 93XX系列windows mobile 6.0 BSP」· C头文件 代码 · 共 45 行

H
45
字号
//**********************************************************************
//                                                                      
// Filename: intel_j3_2x16.h
//                                                                      
// Description: Header file for programming intel j3 flash.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Use of this source code is subject to the terms of the Cirrus end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to 
// use this source code. For a copy of the EULA, please see the 
// EULA.RTF on your install media.
//
// Copyright(c) Cirrus Logic Corporation 2005, All Rights Reserved                       
//                                                                      
//**********************************************************************

#ifndef _H_INTEL_P30_2x16
#define _H_INTEL_P30_2x16

//*****************************************************************************
//
// Flash Erase Block Information declareation 
// Only for Boot block
//
//*****************************************************************************
typedef struct EraseBlockInfo {
    unsigned long               blocks;
    unsigned long               block_size;
} EraseBlockInfo_t;


BOOL 	QueryIntelFlashP30_2x16(void);
BOOL    	StartEraseFlashP30_2x16(DWORD dwStartAddr, DWORD dwLength);
void    	ContinueEraseFlashP30_2x16 (void);
BOOL    	FinishEraseFlashP30_2x16 (void);
BOOL    	WriteFlashP30_2x16(DWORD dwDest, DWORD dwSource, DWORD dwLength);

#endif // _H_INTEL_J3_2x16

⌨️ 快捷键说明

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