c5509reg.h

来自「dsp5509a USB 驱动 pc端程序 下面还有 dsp端程序」· C头文件 代码 · 共 44 行

H
44
字号
//ADC Registers
#define	ADCR		*((volatile ioport unsigned int *)0x6800)
#define	ADDR		*((volatile ioport unsigned int *)0x6801)
#define	ADCDR		*((volatile ioport unsigned int *)0x6802)
#define	ADCCR		*((volatile ioport unsigned int *)0x6803)

//Clock Mode Registers
#define	CLKMD		*((volatile ioport unsigned int *)0x1C00)

//EMIF Registers
/*
#define	EGCR		*((volatile ioport unsigned int *)0x6800)
#define	EMI_RST		*((volatile ioport unsigned int *)0x6801)
#define	EMI_BE		*((volatile ioport unsigned int *)0x6802)
*/
#define	EGCR		*((volatile ioport unsigned int *)0x0800)
#define	EMI_RST		*((volatile ioport unsigned int *)0x0801)
#define	EMI_BE		*((volatile ioport unsigned int *)0x0802)
#define	CE0_1		*((volatile ioport unsigned int *)0x0803)
#define	CE0_2		*((volatile ioport unsigned int *)0x0804)
#define	CE0_3		*((volatile ioport unsigned int *)0x0805)
#define	CE1_1		*((volatile ioport unsigned int *)0x0806)
#define	CE1_2		*((volatile ioport unsigned int *)0x0807)
#define	CE1_3		*((volatile ioport unsigned int *)0x0808)
#define	CE2_1		*((volatile ioport unsigned int *)0x0809)
#define	CE2_2		*((volatile ioport unsigned int *)0x080A)
#define	CE2_3		*((volatile ioport unsigned int *)0x080B)
#define	CE3_1		*((volatile ioport unsigned int *)0x080C)
#define	CE3_2		*((volatile ioport unsigned int *)0x080D)
#define	CE3_3		*((volatile ioport unsigned int *)0x080E)
#define	SDC1		*((volatile ioport unsigned int *)0x080F)
#define	SDPER		*((volatile ioport unsigned int *)0x0810)
#define	SDCNT		*((volatile ioport unsigned int *)0x0811)
#define	INIT		*((volatile ioport unsigned int *)0x0812)
#define	SDC2		*((volatile ioport unsigned int *)0x0813)

//GPIO Registers Added by lz on 2004/06/04
#define IODIR           (volatile ioport unsigned int *)0x3400    /* General-purpose I/O Register */
#define IODATA          (volatile ioport unsigned int *)0x3401    /* General-purpose I/O Data Register */

#define EBSEL           (volatile ioport unsigned int *)0x6C00    /* External Bus Selection Register */


⌨️ 快捷键说明

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