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

📄 mem_fs.h

📁 dm270 source code
💻 H
字号:
/*
    DM270 ARM Evaluation Software

    (c)Texas Instruments 2003
*/

#ifndef __MEM_FS_H__
#define __MEM_FS_H__

#include <system/armsys270.h>

typedef struct MEM_FILE {
	Uint32 base_addr;
	Uint32 offset;
	Uint32 size;
	BOOL   write;
} MEM_FILE;

typedef enum MEM_FILE_SEEK_POS {
	MEM_FILE_SEEK_START,
	MEM_FILE_SEEK_CUR,
	MEM_FILE_SEEK_END
} MEM_FILE_SEEK_POS;

STATUS MEM_FILE_open ( MEM_FILE *file, Uint32  addr, char *op ) ;
STATUS MEM_FILE_close( MEM_FILE *file ) ;
Uint32 MEM_FILE_write( MEM_FILE *file, char *data, Uint32 size ) ;
Uint32 MEM_FILE_read ( MEM_FILE *file, char *data, Uint32 size ) ;
STATUS MEM_FILE_seek ( MEM_FILE *file, Int32 offset, MEM_FILE_SEEK_POS pos ) ;


#endif	/*	__MEM_FS_H__	*/


⌨️ 快捷键说明

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