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

📄 2410addr.h

📁 ⑴ 提供简单命令 A、通过串口加载程序到指定内存 B、将程序烧写到 NANDFLASH 指定位置 C、LCD 操作函数 I、画点 II、画线 III、画圆 IV、显示图像
💻 H
字号:
/*开门狗*/
#define rWTCON (*(volatile unsigned int *)(0x53000000))
#define rWTDAT (*(volatile unsigned int *)(0x53000004))
#define rWTCNT (*(volatile unsigned int *)(0x53000008))

/*中断控制*/
#define rSRCPND (*(volatile unsigned int*)(0x4A000000))
#define rINTMOD (*(volatile unsigned int*)(0x4A000004))
#define rINTMSK (*(volatile unsigned int*)(0x4A000008))
#define rINTPND (*(volatile unsigned int*)(0x4A000010))
#define rINTOFFSET (*(volatile unsigned int *)(0x4A000014))
#define rSUBSRCPND (*(volatile unsigned int *)(0x4A000018))
#define rINTSUBMSK (*(volatile unsigned int *)(0x4A00001C)) 
#define rEXINT0 (*(volatile unsigned int *)(0x56000088))
/*内存控制器*/
 
#define rBWSCON (*(volatile unsigned int*) (0x48000000))
#define rBANKCON0 (*(volatile unsigned int*) (0x48000004))
#define rBANKCON1 (*(volatile unsigned int *)(0x48000008))
#define rBANKCON2 (*(volatile unsigned int *)(0x4800000C))
#define rBANKCON3 (*(volatile unsigned int *)(0x48000010))
#define rBANKCON4 (*(volatile unsigned int *)(0x48000014))
#define rBANKCON5 (*(volatile unsigned int *)(0x48000018))
#define rBANKCON6 (*(volatile unsigned int *)(0x4800001C))
#define rBANKCON7 (*(volatile unsigned int *)(0x48000020))
#define rREFRESH (*(volatile unsigned int *) (0x48000024))
#define rBANKSIZE (*(volatile unsigned int *)(0x48000028))
#define rMRSRB6   (*(volatile unsigned int *)(0x4800002C))
#define rMRSRB7	  (*(volatile unsigned int *)(0x48000030))
/*IO*/

#define rGPBCON (*(volatile unsigned int *)(0x56000010))
#define rGPBDAT (*(volatile unsigned int *)(0x56000014))
#define rGPBUP (*(volatile unsigned int *)(0x56000018))

#define rGPCCON (*(volatile unsigned int *)(0x56000020))
#define rGPCDAT (*(volatile unsigned int *)(0x56000024))
#define rGPCUP  (*(volatile unsigned int *)(0x56000028))

#define rGPDCON (*(volatile unsigned int *)(0x56000030))
#define rGPDDAT (*(volatile unsigned int *)(0x56000034))
#define rGPDUP  (*(volatile unsigned int *)(0x56000038))

#define rGPFCON (*(volatile unsigned int *)(0x56000050))
#define rGPFDAT (*(volatile unsigned int*)(0x56000054))
#define rGPFUP (*(volatile unsigned int*)(0x56000058))

#define rGPHCON (*(volatile unsigned int*)(0x56000070))
#define rGPHDAT (*(volatile unsigned int*)(0x56000074))
#define rGPHUP  (*(volatile unsigned int*)(0x56000078))


#define rGPGCON (*(volatile unsigned int *)(0x56000060))
#define rGPGDAT (*(volatile unsigned int *)(0x56000064))
#define rGPGUP (*(volatile unsigned int *)(0x56000068))

/*电源和时钟控制*/

#define rLOCKTIME (*(volatile unsigned int *)(0x4C000000))
#define rMPLLCON (*(volatile unsigned int *)(0x4C000004))
#define rUPLLCON (*(volatile unsigned int *)(0x4C000008))
#define rCLKCON (*(volatile unsigned int *)(0x4C00000C))
#define rCLKSLOW (*(volatile unsigned int *)(0x4C000010))
#define rCLKDIVN (*(volatile unsigned int*)(0x4C000014))

/*UART0*/
#define rULCON0 (*(volatile unsigned int *)(0x50000000))
#define rUCON0 (*(volatile unsigned int*)(0x50000004))
#define rUMCON0 (*(volatile unsigned int *)(0x5000000C))
#define rUFCON0 (*(volatile unsigned int*)(0x50000008))
#define rUTRSTAT0 (*(volatile unsigned int *)(0x50000010))
#define rUTXH0  (*(volatile unsigned char *)(0x50000020))
#define rUBRDIV0 (*(volatile unsigned int *)(0x50000028))
#define rURXH0 (*(volatile unsigned char *)(0x50000024))
#define rUERSTAT0 (*(volatile unsigned char *)(0x50000014))
/*NAND*/
#define rNFCON (*(volatile unsigned short int*)(0x4E000000))
#define rNFCMD (*(volatile unsigned short int*)(0x4E000004))
#define rNFADD (*(volatile unsigned short int*)(0x4E000008))
#define rNFDATA (*(volatile unsigned short int*)(0x4E00000C))
#define rNFSTAT (*(volatile unsigned short int*)(0x4E000010))
#define rNFECC (*(volatile unsigned short int*)(0x4E000014))
/*lcd*/
#define rLCDCON1 (*(volatile unsigned int *)(0x4D000000))
#define rLCDCON2 (*(volatile unsigned int *)(0x4D000004))
#define rLCDCON3 (*(volatile unsigned int *)(0x4D000008))
#define rLCDCON4 (*(volatile unsigned int *)(0x4D00000C))
#define rLCDCON5 (*(volatile unsigned int *)(0x4D000010))
#define rLCDSADDR1 (*(volatile unsigned int *)(0x4D000014))
#define rLCDSADDR2 (*(volatile unsigned int *)(0x4D000018))
#define rLCDSADDR3 (*(volatile unsigned int *)(0x4D00001C))
#define rDITHMODE (*(volatile unsigned int *)(0x4D00004C))
#define rTPAL (*(volatile unsigned int *)(0x4D000050))
#define rLCDINTPND (*(volatile unsigned int *)(0x4D000054))
#define rLCDSRCPND (*(volatile unsigned int *)(0x4D000058))
#define rLCDINTMSK (*(volatile unsigned int *)(0x4D00005C))
#define rLPCSEL (*(volatile unsigned int *)(0x4D000060))

⌨️ 快捷键说明

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