?? ep7312_sys.h
字號:
/***************************
定義ep7312系統寄存器
***************************/
#ifndef _SYS_EP7312_REG
#define _SYS_EP7312_REG
#define SYSCON1 *(unsigned long*)0xff000100 /* 系統寄存器1 */
#define SYSCON2 *(unsigned long*)0xff001100 /* 系統寄存器2 */
#define PADR *(unsigned char*)0xff000000 /* 端口A數據寄存器 */
#define PADDR *(unsigned char*)0xff000040 /* 端口A方向寄存器 */
#define PBDR *(unsigned char*)0xff000001 /* 端口B數據寄存器 */
#define PBDDR *(unsigned char*)0xff000041 /* 端口B方向寄存器 */
#define LCDCON *(unsigned long*)0xff0002c0 /* LCD控制寄存器 */
#define PALLSW *(unsigned long*)0xff000540 /* 調色板顏色寄存低位有效字 */
#define PALMSW *(unsigned long*)0xff000580 /* 調色板顏色寄存高位有效字 */
#define FBADDR *(unsigned long*)0xff001000 /* LCD顯示幀緩存起始地址 */
#define COM2DATA *(volatile unsigned char *)0xff001480 /* 串口2數據寄存器 */
#define COM2CONTROL *(volatile unsigned long *)0xff001140 /* 串口2控制寄存器 */
#define INTSR *(unsigned long *)0xff000240
#define EINT2 0x00000040
#endif //_SYS_EP7312_REG
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -