提交 ee318bb0 编写于 作者: qiuyiuestc's avatar qiuyiuestc

fix micro define error

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1380 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 790fff9d
......@@ -131,14 +131,14 @@ extern "C" {
// NAND flash
#define NFCONF (*(volatile unsigned *)0x4e000000) //NAND Flash configuration
#define NFCMD (*(volatile U8 *)0x4e000004) //NADD Flash command
#define NFADDR (*(volatile U8 *)0x4e000008) //NAND Flash address
#define NFDATA (*(volatile U8 *)0x4e00000c) //NAND Flash data
#define NFCMD (*(volatile unsigned *)0x4e000004) //NADD Flash command
#define NFADDR (*(volatile unsigned *)0x4e000008) //NAND Flash address
#define NFDATA (*(volatile unsigned *)0x4e00000c) //NAND Flash data
#define NFSTAT (*(volatile unsigned *)0x4e000010) //NAND Flash operation status
#define NFECC (*(volatile unsigned *)0x4e000014) //NAND Flash ECC
#define NFECC0 (*(volatile U8 *)0x4e000014)
#define NFECC1 (*(volatile U8 *)0x4e000015)
#define NFECC2 (*(volatile U8 *)0x4e000016)
#define NFECC0 (*(volatile unsigned *)0x4e000014)
#define NFECC1 (*(volatile unsigned *)0x4e000015)
#define NFECC2 (*(volatile unsigned *)0x4e000016)
// UART
#define U0BASE (*(volatile unsigned *)0x50000000) //UART 0 Line control
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册