📄 nandwriter.h
字号:
//================================
//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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -