【转帖】花了三四天时间,讲nand flash实验基本看懂了,注释了main程序与大家分享
其他
2046 人阅读
|
0 人回复
|
2010-06-08
|
|
/**********************按键实验*********************************/
// 公司名称 :飞凌嵌入式技术有限公司
// 描??? 述 :nandflash
// 版??? 权 :飞凌嵌入式技术有限公司
// 网??? 址 :www.witech.com.cn
/***************************************************************/
/*
??????? 本实验接口说明
*/
#include "include.h"
/*-----------------------函数声明----------------------------*/
void InitNandFlash(int info);
void cpy_bpage(void);
void add_bpage(unsigned int seq);
extern void Uart_Printf(char *fmt,...);
extern void Uart_Init(int baud);
extern void Uart_Select(int ch);
/*------------------------------------------------------------/
函数名称:??????? InitNandCfg
功能描述:??????? 配置flash
传??? 参:??????? 无
返 回 值:??????? 无
-------------------------------------------------------------*/
static void InitNandCfg(void)
{
???????
??????? rNFCONF = (TACLS |
|
|
|
|
|
|
|
|