nandwriter.h

来自「一个基于s3c2410平台的monitor程序」· C头文件 代码 · 共 29 行

H
29
字号
//================================
//Description: this file provide some method to operate the nand flash
//including earse the flash,write the program into it
//Author:Decell.Zhou
//history:
//================================
#include <stdlib.h>
#include <string.h>

#include "def.h"
#include "option.h"
#include "config.h"
#include "2410addr.h"
#include "2410lib.h"
#include "2410slib.h"
#include "timer.h"

#define BUSY 0
#define NAND_PAGE_SIZE 512
#define NAND_PAGE_MASK (NAND_PAGE_SIZE - 1)


//the nand flash write operation method
int nandWrite();

//the nand flash earse operation method
int nandErase();

⌨️ 快捷键说明

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