i28f640j3mem.h

来自「WINDRIVER SBC405 BSP」· C头文件 代码 · 共 73 行

H
73
字号
/* i28F640J3Mem.h - Intel 28F640J3 Flash Memory Header *//* Copyright 1984-2001 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01b,03jul01,g_h  remove sysNvRamGet() & sysNvRamSet() prototype01a,16apr01,g_h  written*//*DESCRIPTIONThis file contains header information for Intel 28F640J3 FLASH memory routines.*/#ifndef __INCi28F640J3Memh#define __INCi28F640J3Memh#ifdef __cplusplusextern "C" {#endif/* defines */#if __PACKUNALIGNED__typedef __packed__ struct tSOURCE    {    UINT32 Integer;    } _PackedType tSOURCE;#define readUnaligned(x)    ((tSOURCE *)(x))->Integer#else#define readUnaligned(x)    *(UINT32 *)(x)#endif#ifdef __LITTLE_ENDIAN__#define	MASKSHIFTOP1	<<#define MASKSHIFTOP2	>>#else#define MASKSHIFTOP1	>>#define MASKSHIFTOP2	<<#endif/* typedefs */typedef union tFLASH    {    UINT32 Integer;    UINT32 Float;    } tFLASH;/* function declarations */#ifndef	_ASMLANGUAGE#if defined(__STDC__) || defined(__cplusplus)IMPORT UINT32 i28F640J3Write(volatile UINT8 *pDest, UINT8 *pSource, UINT32 length);IMPORT UINT32 i28F640J3EraseSector(volatile UINT8 *pSector);#else	/* __STDC__ */IMPORT UINT32 i28F640J3Write();IMPORT UINT32 i28F640J3EraseSector();#endif	/* __STDC__ */#endif	/* _ASMLANGUAGE */#ifdef __cplusplus}#endif#endif /* __INCi28F640J3Memh */

⌨️ 快捷键说明

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