flashfslib.h
来自「大名鼎鼎的mpc8260的bsp源代码」· C头文件 代码 · 共 44 行
H
44 行
/* flashFsLib.h - Flash File System header file. */
/* Copyright 1998-2000 Wind River Systems, Inc. */
/* NOMANUAL */
/*
modification of TPOS
02a, 05apr03,lyx change flash_app_head_t to 32bytes
*/
#ifndef FLASH_FS_LIB_H
#define FLASH_FS_LIB_H
/*#include "configTMS.h"*/
STATUS flashFsLibInit(void);
STATUS flashFsSave( int fdSrc, char* fileName, BOOL deflated);
int flashFsCopy( char * fsrc, char * fdes);
void lightLoop(int tick);
#define FLASH_FS_NAME1 "/rfa1"
#define FLASH_FS_NAME2 "/rfa2"
#define FLASH_FS_NAME3 "/rfa3"
#define FLASH_FS_NAME4 "/rfa4"
#define COMP_BUF_SIZE (0x00300000) /*according to the vxWorks.z*/ /*changed by lyx 2003/3/26*/
#define DECOMP_BUF_SIZE (0x00800000) /*according to the vxWorks*/
/*
* Flash application save description
*/
typedef struct flash_app_head_s {
long filesize;
char filename[28]; /*for total 32byets*/
} flash_app_head_t;
#define FIOFLASHSYNC 0x10000
#define FIOFLASHINVAL 0x10001
#endif /* !FLASH_FS_LIB_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?