?? cpld.h
字號:
/************************************************************/
/* define base addresses */
/************************************************************/
#define pLED (volatile unsigned char *)0x203C0000
#define p7Section (volatile unsigned char *)0x203C4000
#define pCtrlReg1 (volatile unsigned char *)0x203C8000
#define pCtrlReg2 (volatile unsigned char *)0x203CC000
#define p1582BaseAddr (volatile unsigned char *)0x203D0000
#define pNetBaseAddr (volatile unsigned char *)0x203D4000
#define pSL811BaseAddr (volatile unsigned char *)0x203D8000
#define pLcdBaseAddr (volatile unsigned char *)0x203DC000
#define pIDECS0BaseAddr (volatile unsigned short *)0x203E0000
#define pNAND_CtrlBaseaAddr (volatile unsigned char *)0x203E8000
#define pNAND_BaseaAddr (volatile unsigned char *)0x203EC000
#define pSPI_CtrlBaseaAddr (volatile unsigned char *)0x203F0000
/************************************************************/
/* define LCD port address */
/************************************************************/
#define pLcdCtrlL (volatile unsigned char *)0x203DC800
#define pLcdStatusL (volatile unsigned char *)0x203DCc00
#define pLcdWriteL (volatile unsigned char *)0x203DCa00
#define pLcdReadL (volatile unsigned char *)0x203DCe00
#define pLcdCtrlR (volatile unsigned char *)0x203DD000
#define pLcdStatusR (volatile unsigned char *)0x203DD400
#define pLcdWriteR (volatile unsigned char *)0x203DD200
#define pLcdReadR (volatile unsigned char *)0x203DD300
/************************************************************/
/* define Register Union structure */
/************************************************************/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -