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

📄 2460addr.h

📁 三星s3c2460开发板完整功能测试代码
💻 H
📖 第 1 页 / 共 4 页
字号:
#define	rALMMIN				(*(volatile unsigned char*)0x44200058)
#define	rALMHOUR			(*(volatile unsigned char*)0x4420005C)
#define	rALMDATE			(*(volatile unsigned char*)0x44200060)
#define	rALMMON				(*(volatile unsigned char*)0x44200064)
#define	rALMYEAR			(*(volatile unsigned char*)0x44200068)
#define	rRTCRST				(*(volatile unsigned char*)0x4420006C)
#define	rBCDSEC				(*(volatile unsigned char*)0x44200070)
#define	rBCDMIN				(*(volatile unsigned char*)0x44200074)
#define	rBCDHOUR			(*(volatile unsigned char*)0x44200078)
#define	rBCDDATE			(*(volatile unsigned char*)0x4420007C)
#define	rBCDDAY				(*(volatile unsigned char*)0x44200080)
#define	rBCDMON				(*(volatile unsigned char*)0x44200084)
#define	rBCDYEAR			(*(volatile unsigned char*)0x44200088)


// Teak DSP

#define	rDSPDISRC0			(*(volatile unsigned *)0x40300000)
#define	rDSPDISRCC0			(*(volatile unsigned *)0x40300004)
#define	rDSPDIDST0			(*(volatile unsigned *)0x40300008)
#define	rDSPDIDSTC0			(*(volatile unsigned *)0x4030000C)
#define	rDSPDCON0			(*(volatile unsigned *)0x40300010)
#define	rDSPDSTAT0			(*(volatile unsigned *)0x40300014)
#define	rDSPDCSRC0			(*(volatile unsigned *)0x40300018)
#define	rDSPDCDST0			(*(volatile unsigned *)0x4030001C)
#define	rDSPDMASKTRIG0		(*(volatile unsigned *)0x40300020)
#define	rDSPDMAREQSEL0		(*(volatile unsigned *)0x40300024)

#define	rDSPDISRC1			(*(volatile unsigned *)0x40301000)
#define	rDSPDISRCC1			(*(volatile unsigned *)0x40301004)
#define	rDSPDIDST1			(*(volatile unsigned *)0x40301008)
#define	rDSPDIDSTC1			(*(volatile unsigned *)0x4030100C)
#define	rDSPDCON1			(*(volatile unsigned *)0x40301010)
#define	rDSPDSTAT1			(*(volatile unsigned *)0x40301014)
#define	rDSPDCSRC1			(*(volatile unsigned *)0x40301018)
#define	rDSPDCDST1			(*(volatile unsigned *)0x4030101C)
#define	rDSPDMASKTRIG1		(*(volatile unsigned *)0x40301020)
#define	rDSPDMAREQSEL1		(*(volatile unsigned *)0x40301024)

#define	rDSPDISRC2			(*(volatile unsigned *)0x40302000)
#define	rDSPDISRCC2			(*(volatile unsigned *)0x40302004)
#define	rDSPDIDST2			(*(volatile unsigned *)0x40302008)
#define	rDSPDIDSTC2			(*(volatile unsigned *)0x4030200C)
#define	rDSPDCON2			(*(volatile unsigned *)0x40302010)
#define	rDSPDSTAT2			(*(volatile unsigned *)0x40302014)
#define	rDSPDCSRC2			(*(volatile unsigned *)0x40302018)
#define	rDSPDCDST2			(*(volatile unsigned *)0x4030201C)
#define	rDSPDMASKTRIG2		(*(volatile unsigned *)0x40302020)
#define	rDSPDMAREQSEL2		(*(volatile unsigned *)0x40302024)

#define	rDSPDISRC3			(*(volatile unsigned *)0x40303000)
#define	rDSPDISRCC3			(*(volatile unsigned *)0x40303004)
#define	rDSPDIDST3			(*(volatile unsigned *)0x40303008)
#define	rDSPDIDSTC3			(*(volatile unsigned *)0x4030300C)
#define	rDSPDCON3			(*(volatile unsigned *)0x40303010)
#define	rDSPDSTAT3			(*(volatile unsigned *)0x40303014)
#define	rDSPDCSRC3			(*(volatile unsigned *)0x40303018)
#define	rDSPDCDST3			(*(volatile unsigned *)0x4030301C)
#define	rDSPDMASKTRIG3		(*(volatile unsigned *)0x40303020)
#define	rDSPDMAREQSEL3		(*(volatile unsigned *)0x40303024)

#define	DSP_PRAM_BANK0		0x40800000
#define	DSP_PRAM_BANK1		0x40808000
#define	DSP_XRAM_BANK0		0x40810000
#define	DSP_XRAM_BANK1		0x40818000
#define	DSP_YRAM_BANK0		0x40820000
#define	DSP_YRAM_BANK1		0x40824000

#define	DSP_PRAM_BANK1C		0x40848000
#define	DSP_XRAM_BANK1C		0x40850000
#define	DSP_YRAM_BANK0C		0x40858000

#define	rDSP2ARM_CTRL		(*(volatile unsigned *)0x44300000)
#define	rDSP2ARM_0			(*(volatile unsigned *)0x44300004)
#define	rDSP2ARM_2			(*(volatile unsigned *)0x44300008)
#define	rDSP2ARM_4			(*(volatile unsigned *)0x4430000c)
#define	rARM2DSP_CTRL		(*(volatile unsigned *)0x44300010)
#define	rARM2DSP_0			(*(volatile unsigned *)0x44300014)
#define	rARM2DSP_2			(*(volatile unsigned *)0x44300018)
#define	rARM2DSP_4			(*(volatile unsigned *)0x4430001c)


//UART - added UART2		
#define rULCON0				(*(volatile unsigned *)0x44400000)
#define rUCON0				(*(volatile unsigned *)0x44400004)
#define rUFCON0				(*(volatile unsigned *)0x44400008)
#define rUMCON0				(*(volatile unsigned *)0x4440000C)
#define rUTRSTAT0 			(*(volatile unsigned *)0x44400010)
#define rUERSTAT0 			(*(volatile unsigned *)0x44400014)
#define rUFSTAT0			(*(volatile unsigned *)0x44400018)
#define rUMSTAT0			(*(volatile unsigned *)0x4440001C)
#define rUTXH0				(*(volatile unsigned *)0x44400020)
#define rURXH0				(*(volatile unsigned *)0x44400024)
#define rUBRDIV0			(*(volatile unsigned *)0x44400028)
#define rUDIVSLOT0 			(*(volatile unsigned *)0x4440002C)
#define rUINTP0				(*(volatile unsigned *)0x44400030)
#define rUINTSP0			(*(volatile unsigned *)0x44400034)
#define rUINTM0				(*(volatile unsigned *)0x44400038)
#define rULCON1				(*(volatile unsigned *)0x44404000)
#define rUCON1				(*(volatile unsigned *)0x44404004)
#define rUFCON1				(*(volatile unsigned *)0x44404008)
#define rUMCON1				(*(volatile unsigned *)0x4440400C)
#define rUTRSTAT1 			(*(volatile unsigned *)0x44404010)
#define rUERSTAT1 			(*(volatile unsigned *)0x44404014)
#define rUFSTAT1			(*(volatile unsigned *)0x44404018)
#define rUMSTAT1			(*(volatile unsigned *)0x4440401C)
#define rUTXH1				(*(volatile unsigned *)0x44404020)
#define rURXH1				(*(volatile unsigned *)0x44404024)
#define rUBRDIV1			(*(volatile unsigned *)0x44404028)
#define rUDIVSLOT1 			(*(volatile unsigned *)0x4440402C)
#define rUINTP1				(*(volatile unsigned *)0x4440402C)
#define rUINTSP1			(*(volatile unsigned *)0x44404034)
#define rUINTM1				(*(volatile unsigned *)0x44404038)
#define rULCON2				(*(volatile unsigned *)0x44408000)
#define rUCON2				(*(volatile unsigned *)0x44408004)
#define rUFCON2				(*(volatile unsigned *)0x44408008)
#define rUMCON2				(*(volatile unsigned *)0x4440800C)
#define rUTRSTAT2 			(*(volatile unsigned *)0x44408010)
#define rUERSTAT2 			(*(volatile unsigned *)0x44408014)
#define rUFSTAT2			(*(volatile unsigned *)0x44408018)
#define rUMSTAT2			(*(volatile unsigned *)0x4440801C)
#define rUTXH2				(*(volatile unsigned *)0x44408020)
#define rURXH2				(*(volatile unsigned *)0x44408024)
#define rUBRDIV2			(*(volatile unsigned *)0x44408028)
#define rUDIVSLOT2 			(*(volatile unsigned *)0x4440802C)
#define rUINTP2				(*(volatile unsigned *)0x44408030)
#define rUINTSP2			(*(volatile unsigned *)0x44408034)
#define rUINTM2				(*(volatile unsigned *)0x44408038)
#define WrUTXH0(ch) 		(*(volatile unsigned char *)0x44400020)=(unsigned char)(ch)																															
#define RdURXH0()   		(*(volatile unsigned char *)0x44400024)                    																															
#define WrUTXH1(ch) 		(*(volatile unsigned char *)0x44404020)=(unsigned char)(ch)																															
#define RdURXH1()   		(*(volatile unsigned char *)0x44404024)                    																															
#define WrUTXH2(ch) 		(*(volatile unsigned char *)0x44408020)=(unsigned char)(ch)																															
#define RdURXH2()   		(*(volatile unsigned char *)0x44408024)                    																															

//IrDA - address edited                                
#define	rIrDA_CNT			(*(volatile unsigned *)0x44C00000)
#define	rIrDA_MDR			(*(volatile unsigned *)0x44C00004)
#define	rIrDA_CNF			(*(volatile unsigned *)0x44C00008)
#define	rIrDA_IER			(*(volatile unsigned *)0x44C0000C)
#define	rIrDA_IIR			(*(volatile unsigned *)0x44C00010)
#define	rIrDA_LSR			(*(volatile unsigned *)0x44C00014)
#define	rIrDA_FCR			(*(volatile unsigned *)0x44C00018)
#define	rIrDA_PLR			(*(volatile unsigned *)0x44C0001C)
#define	rIrDA_RBR			(*(volatile unsigned *)0x44C00020)
#define	rIrDA_TXNO			(*(volatile unsigned *)0x44C00024)
#define	rIrDA_RXNO			(*(volatile unsigned *)0x44C00028)
#define	rIrDA_TXFLL			(*(volatile unsigned *)0x44C0002C)
#define	rIrDA_TXFLH			(*(volatile unsigned *)0x44C00030)
#define	rIrDA_RXFLL			(*(volatile unsigned *)0x44C00034)
#define	rIrDA_RXFLH			(*(volatile unsigned *)0x44C00038)

//SPI 			
#define	rSPCON0				(*(volatile unsigned *)0x44500000)
#define	rSPSTA0				(*(volatile unsigned *)0x44500004)
#define	rSPPIN0				(*(volatile unsigned *)0x44500008)
#define	rSPPRE0				(*(volatile unsigned *)0x4450000C)
#define	rSPTDAT0			(*(volatile unsigned *)0x44500010)
#define	rSPRDAT0			(*(volatile unsigned *)0x44500014)
#define	rSPCON1				(*(volatile unsigned *)0x44500020)
#define	rSPSTA1				(*(volatile unsigned *)0x44500024)
#define	rSPPIN1				(*(volatile unsigned *)0x44500028)
#define	rSPPRE1				(*(volatile unsigned *)0x4450002C)
#define	rSPTDAT1			(*(volatile unsigned *)0x44500030)
#define	rSPRDAT1			(*(volatile unsigned *)0x44500034)

//IIC
#define	rIICCON				(*(volatile unsigned *)0x44600000)
#define	rIICSTAT			(*(volatile unsigned *)0x44600004)
#define	rIICADD				(*(volatile unsigned *)0x44600008)
#define	rIICDS				(*(volatile unsigned *)0x4460000C)
#define	rIICLC				(*(volatile unsigned *)0x44600010)

//USB Host			 
#define	rHcRevision			(*(volatile unsigned *)0x41000000)
#define	rHcControl			(*(volatile unsigned *)0x41000004)
#define	rHcCommonStatus		(*(volatile unsigned *)0x41000008)
#define	rHcInterruptStatus	(*(volatile unsigned *)0x4100000C)
#define	rHcInterruptEnable	(*(volatile unsigned *)0x41000010)
#define	rHcInterruptDisable	(*(volatile unsigned *)0x41000014)
#define	rHcHCCA				(*(volatile unsigned *)0x41000018)
#define	rHcPeriodCuttentED	(*(volatile unsigned *)0x4100001C)
#define	rHcControlHeadED	(*(volatile unsigned *)0x41000020)
#define	rHcControlCurrentED	(*(volatile unsigned *)0x41000024)
#define	rHcBulkHeadED		(*(volatile unsigned *)0x41000028)
#define	rHcBulkCurrentED	(*(volatile unsigned *)0x4100002C)
#define	rHcDoneHead			(*(volatile unsigned *)0x41000030)
#define	rHcRmInterval		(*(volatile unsigned *)0x41000034)
#define	rHcFmRemaining		(*(volatile unsigned *)0x41000038)
#define	rHcFmNumber			(*(volatile unsigned *)0x4100003C)
#define	rHcPeriodicStart	(*(volatile unsigned *)0x41000040)
#define	rHcLSThreshold		(*(volatile unsigned *)0x41000044)
#define	rHcRhDescriptorA	(*(volatile unsigned *)0x41000048)
#define	rHcRhDescriptorB	(*(volatile unsigned *)0x4100004C)
#define	rHcRhStatus			(*(volatile unsigned *)0x41000050)
#define	rHcRhPortStatus1	(*(volatile unsigned *)0x41000054)
#define	rHcRhPortStatus2	(*(volatile unsigned *)0x41000058)

//USB Device
#define	rFUNC_ADDR_REG		(*(volatile unsigned char*)0x44A00140)
#define	rPWR_REG			(*(volatile unsigned char*)0x44A00144)
#define	rEP_INT_REG			(*(volatile unsigned char*)0x44A00148)
#define	rUSB_INT_REG		(*(volatile unsigned char*)0x44A00158)
#define	rEP_INT_EN_REG		(*(volatile unsigned char*)0x44A0015C)
#define	rUSB_INT_EN_REG		(*(volatile unsigned char*)0x44A0016C)
#define	rFRAME_NUM1_REG		(*(volatile unsigned char*)0x44A00170)
#define	rINDEX_REG			(*(volatile unsigned char*)0x44A00178)
#define	rEP0_CSR			(*(volatile unsigned char*)0x44A00184)
#define	rIN_CSR1_REG		(*(volatile unsigned char*)0x44A00184)
#define	rIN_CSR2_REG		(*(volatile unsigned char*)0x44A00188)
#define	rMAXP_REG			(*(volatile unsigned char*)0x44A00180)
#define	rOUT_CSR1_REG		(*(volatile unsigned char*)0x44A00190)
#define	rOUT_CSR2_REG		(*(volatile unsigned char*)0x44A00194)
#define	rOUT_FIFO_CNT1_REG	(*(volatile unsigned char*)0x44A00198)
#define	rOUT_FIFO_CNT2_REG	(*(volatile unsigned char*)0x44A0019C)
#define	rEP0_FIFO			(*(volatile unsigned char*)0x44A001C0)
#define	rEP1_FIFO			(*(volatile unsigned char*)0x44A001C4)
#define	rEP2_FIFO			(*(volatile unsigned char*)0x44A001C8)
#define	rEP3_FIFO			(*(volatile unsigned char*)0x44A001CC)
#define	rEP4_FIFO			(*(volatile unsigned char*)0x44A001D0)
#define	rEP1_DMA_CON		(*(volatile unsigned char*)0x44A00200)
#define	rEP1_DMA_UNIT		(*(volatile unsigned char*)0x44A00204)
#define	rEP1_DMA_FIFO		(*(volatile unsigned char*)0x44A00208)
#define	rEP1_DMA_TTC_L		(*(volatile unsigned char*)0x44A0020C)
#define	rEP1_DMA_TTC_M		(*(volatile unsigned char*)0x44A00210)
#define	rEP1_DMA_TTC_H		(*(volatile unsigned char*)0x44A00214)
#define	rEP2_DMA_CON		(*(volatile unsigned char*)0x44A00218)
#define	rEP2_DMA_UNIT		(*(volatile unsigned char*)0x44A0021C)
#define	rEP2_DMA_FIFO		(*(volatile unsigned char*)0x44A00220)
#define	rEP2_DMA_TTC_L		(*(volatile unsigned char*)0x44A00224)
#define	rEP2_DMA_TTC_M		(*(volatile unsigned char*)0x44A00228)
#define	rEP2_DMA_TTC_H		(*(volatile unsigned char*)0x44A0022C)
#define	rEP3_DMA_CON		(*(volatile unsigned char*)0x44A00240)
#define	rEP3_DMA_UNIT		(*(volatile unsigned char*)0x44A00244)
#define	rEP3_DMA_FIFO		(*(volatile unsigned char*)0x44A00248)
#define	rEP3_DMA_TTC_L		(*(volatile unsigned char*)0x44A0024C)
#define	rEP3_DMA_TTC_M		(*(volatile unsigned char*)0x44A00250)
#define	rEP3_DMA_TTC_H		(*(volatile unsigned char*)0x44A00254)
#define	rEP4_DMA_CON		(*(volatile unsigned char*)0x44A00258)
#define	rEP4_DMA_UNIT		(*(volatile unsigned char*)0x44A0025C)
#define	rEP4_DMA_FIFO		(*(volatile unsigned char*)0x44A00260)
#define	rEP4_DMA_TTC_L		(*(volatile unsigned char*)0x44A00264)
#define	rEP4_DMA_TTC_M		(*(volatile unsigned char*)0x44A00268)
#define	rEP4_DMA_TTC_H		(*(volatile unsigned char*)0x44A0026C)


///////////////////////////////////////////////////////////////////////////////////////////////////
//OTG TLI-specific SFRs (USB Device Mode)
#define IN_EP0_CON 				(*(volatile unsigned*)0x41944000) 	// Endpoint 0 Control Register
#define	IN_EP0_STA 				(*(volatile unsigned*)0x41944004)	// Endpoint 0 Status Register
#define IN_EP0_FIFO_SIZE 			(*(volatile unsigned*)0x41944008)	// Endpoint 0 FIFO Size Register
#define IN_EP0_TRANS_SIZE			(*(volatile unsigned*)0x4194400c) 	// Endpoint 0 Transfer Size Register

#define	IN_EP1_CON					(*(volatile unsigned*)0x41944010)	// Endpoint 1 Control Register

⌨️ 快捷键说明

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