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

📄 mn_flash.h

📁 hammerOS(了解的人就知道了)的一个板块Manage的源代码
💻 H
字号:
/***********************************************************

                          mn_flash.c  -  description
                             -------------------
description      : read and write flash functions 
begin          : Wed April 25 2001
copyright       : (C) 2001 Beijing Harbour Networks Ltd.
email          : chenb@harbournetworks.com


*************************************************************/



#ifndef _MN_FLASH_H_
#define _MN_FLASH_H_

#ifdef _cplusplus
extern"C"{
#endif

#include "mn_set.h"

#ifdef _MN_HAVE_FLASH_

#include "xflash_file.h"

#define _MN_FLASH_CONF_TAG_    FLASH_CONF_DATA
#define _MN_FLASH_LOAD_TAG_     FLASH_RES_3

#define _MN_FLASH_CONF_MAXLEN_      (128*1024)
#else
#define _MN_FLASH_CONF_MAXLEN_      (128*1024)

#endif

extern int mn_flash_busy_signal;

int mn_conf_read_flash_to_mem(char *memfile, int *memfile_length);

int mn_conf_write_mem_to_flash(char *memfile, int *memfile_length);


#ifdef _cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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