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

📄 405cpu.h

📁 qnx powerpc MPC8245的 BSP源文件
💻 H
📖 第 1 页 / 共 3 页
字号:
#define PPC405_UIC0_ER_EIR2E	_ONEBIT32B(27)#define PPC405_UIC0_ER_EIR3E	_ONEBIT32B(28)#define PPC405_UIC0_ER_EIR4E	_ONEBIT32B(29)#define PPC405_UIC0_ER_EIR5E	_ONEBIT32B(30)#define PPC405_UIC0_ER_EIR6E	_ONEBIT32B(31)/* * UIC Masked Status Register */#define PPC405_UIC0_MSR_U0IS	_ONEBIT32B(0)#define PPC405_UIC0_MSR_U1IS	_ONEBIT32B(1)#define PPC405_UIC0_MSR_IICIS	_ONEBIT32B(2)#define PPC405_UIC0_MSR_EMIS	_ONEBIT32B(3)#define PPC405_UIC0_MSR_PCIIS	_ONEBIT32B(4)#define PPC405_UIC0_MSR_D0IS	_ONEBIT32B(5)#define PPC405_UIC0_MSR_D1IS	_ONEBIT32B(6)#define PPC405_UIC0_MSR_D2IS	_ONEBIT32B(7)#define PPC405_UIC0_MSR_D3IS	_ONEBIT32B(8)#define PPC405_UIC0_MSR_EWIS	_ONEBIT32B(9)#define PPC405_UIC0_MSR_MSIS	_ONEBIT32B(10)#define PPC405_UIC0_MSR_MTEIS	_ONEBIT32B(11)#define PPC405_UIC0_MSR_MREIS	_ONEBIT32B(12)#define PPC405_UIC0_MSR_MTDIS	_ONEBIT32B(13)#define PPC405_UIC0_MSR_MRDIS	_ONEBIT32B(14)#define PPC405_UIC0_MSR_EIS		_ONEBIT32B(15)#define PPC405_UIC0_MSR_EPSIS	_ONEBIT32B(16)#define PPC405_UIC0_MSR_ECIS	_ONEBIT32B(17)#define PPC405_UIC0_MSR_PPMIS	_ONEBIT32B(18)#define PPC405_UIC0_MSR_EIR0S	_ONEBIT32B(25)#define PPC405_UIC0_MSR_EIR1S	_ONEBIT32B(26)#define PPC405_UIC0_MSR_EIR2S	_ONEBIT32B(27)#define PPC405_UIC0_MSR_EIR3S	_ONEBIT32B(28)#define PPC405_UIC0_MSR_EIR4S	_ONEBIT32B(29)#define PPC405_UIC0_MSR_EIR5S	_ONEBIT32B(30)#define PPC405_UIC0_MSR_EIR6S	_ONEBIT32B(31)/* * UIC Polarity Register */#define PPC405_UIC0_PR_U0IP		_ONEBIT32B(0)#define PPC405_UIC0_PR_U1IP		_ONEBIT32B(1)#define PPC405_UIC0_PR_IICIP	_ONEBIT32B(2)#define PPC405_UIC0_PR_EMIP		_ONEBIT32B(3)#define PPC405_UIC0_PR_PCIIP	_ONEBIT32B(4)#define PPC405_UIC0_PR_D0IP		_ONEBIT32B(5)#define PPC405_UIC0_PR_D1IP		_ONEBIT32B(6)#define PPC405_UIC0_PR_D2IP		_ONEBIT32B(7)#define PPC405_UIC0_PR_D3IP		_ONEBIT32B(8)#define PPC405_UIC0_PR_EWIP		_ONEBIT32B(9)#define PPC405_UIC0_PR_MSIP		_ONEBIT32B(10)#define PPC405_UIC0_PR_MTEIP	_ONEBIT32B(11)#define PPC405_UIC0_PR_MREIP	_ONEBIT32B(12)#define PPC405_UIC0_PR_MTDIP	_ONEBIT32B(13)#define PPC405_UIC0_PR_MRDIP	_ONEBIT32B(14)#define PPC405_UIC0_PR_EIP		_ONEBIT32B(15)#define PPC405_UIC0_PR_EPSIP	_ONEBIT32B(16)#define PPC405_UIC0_PR_ECIP		_ONEBIT32B(17)#define PPC405_UIC0_PR_PPMIP	_ONEBIT32B(18)#define PPC405_UIC0_PR_EIR0P	_ONEBIT32B(25)#define PPC405_UIC0_PR_EIR1P	_ONEBIT32B(26)#define PPC405_UIC0_PR_EIR2P	_ONEBIT32B(27)#define PPC405_UIC0_PR_EIR3P	_ONEBIT32B(28)#define PPC405_UIC0_PR_EIR4P	_ONEBIT32B(29)#define PPC405_UIC0_PR_EIR5P	_ONEBIT32B(30)#define PPC405_UIC0_PR_EIR6P	_ONEBIT32B(31)/* * UIC Status Register */#define PPC405_UIC0_SR_U0IS		_ONEBIT32B(0)#define PPC405_UIC0_SR_U1IS		_ONEBIT32B(1)#define PPC405_UIC0_SR_IICIS	_ONEBIT32B(2)#define PPC405_UIC0_SR_EMIS		_ONEBIT32B(3)#define PPC405_UIC0_SR_PCIIS	_ONEBIT32B(4)#define PPC405_UIC0_SR_D0IS		_ONEBIT32B(5)#define PPC405_UIC0_SR_D1IS		_ONEBIT32B(6)#define PPC405_UIC0_SR_D2IS		_ONEBIT32B(7)#define PPC405_UIC0_SR_D3IS		_ONEBIT32B(8)#define PPC405_UIC0_SR_EWIS		_ONEBIT32B(9)#define PPC405_UIC0_SR_MSIS		_ONEBIT32B(10)#define PPC405_UIC0_SR_MTEIS	_ONEBIT32B(11)#define PPC405_UIC0_SR_MREIS	_ONEBIT32B(12)#define PPC405_UIC0_SR_MTDIS	_ONEBIT32B(13)#define PPC405_UIC0_SR_MRDIS	_ONEBIT32B(14)#define PPC405_UIC0_SR_EIS		_ONEBIT32B(15)#define PPC405_UIC0_SR_EPSIS	_ONEBIT32B(16)#define PPC405_UIC0_SR_ECIS		_ONEBIT32B(17)#define PPC405_UIC0_SR_PPMIS	_ONEBIT32B(18)#define PPC405_UIC0_SR_EIR0S	_ONEBIT32B(25)#define PPC405_UIC0_SR_EIR1S	_ONEBIT32B(26)#define PPC405_UIC0_SR_EIR2S	_ONEBIT32B(27)#define PPC405_UIC0_SR_EIR3S	_ONEBIT32B(28)#define PPC405_UIC0_SR_EIR4S	_ONEBIT32B(29)#define PPC405_UIC0_SR_EIR5S	_ONEBIT32B(30)#define PPC405_UIC0_SR_EIR6S	_ONEBIT32B(31)/* * UIC Trigger Register */#define PPC405_UIC0_TR_U0IT		_ONEBIT32B(0)#define PPC405_UIC0_TR_U1IT		_ONEBIT32B(1)#define PPC405_UIC0_TR_IICIT	_ONEBIT32B(2)#define PPC405_UIC0_TR_EMIT		_ONEBIT32B(3)#define PPC405_UIC0_TR_PCIIT	_ONEBIT32B(4)#define PPC405_UIC0_TR_D0IT		_ONEBIT32B(5)#define PPC405_UIC0_TR_D1IT		_ONEBIT32B(6)#define PPC405_UIC0_TR_D2IT		_ONEBIT32B(7)#define PPC405_UIC0_TR_D3IT		_ONEBIT32B(8)#define PPC405_UIC0_TR_EWIT		_ONEBIT32B(9)#define PPC405_UIC0_TR_MSIT		_ONEBIT32B(10)#define PPC405_UIC0_TR_MTEIT	_ONEBIT32B(11)#define PPC405_UIC0_TR_MREIT	_ONEBIT32B(12)#define PPC405_UIC0_TR_MTDIT	_ONEBIT32B(13)#define PPC405_UIC0_TR_MRDIT	_ONEBIT32B(14)#define PPC405_UIC0_TR_EIT		_ONEBIT32B(15)#define PPC405_UIC0_TR_EPSIT	_ONEBIT32B(16)#define PPC405_UIC0_TR_ECIT		_ONEBIT32B(17)#define PPC405_UIC0_TR_PPMIT	_ONEBIT32B(18)#define PPC405_UIC0_TR_EIR0T	_ONEBIT32B(25)#define PPC405_UIC0_TR_EIR1T	_ONEBIT32B(26)#define PPC405_UIC0_TR_EIR2T	_ONEBIT32B(27)#define PPC405_UIC0_TR_EIR3T	_ONEBIT32B(28)#define PPC405_UIC0_TR_EIR4T	_ONEBIT32B(29)#define PPC405_UIC0_TR_EIR5T	_ONEBIT32B(30)#define PPC405_UIC0_TR_EIR6T	_ONEBIT32B(31)/* * SPR numbers */#define PPC405_SPR_CCR0		0x3b3#define PPC405_SPR_DBCR0	0x3f2#define PPC405_SPR_DBCR1	0x3bd#define PPC405_SPR_IAC2		0x3f5#define PPC405_SPR_IAC3		0x3b4#define PPC405_SPR_IAC4		0x3b5#define PPC405_SPR_ICDBDR	0x3d3#define PPC405_SPR_SLER		0x3bb#define PPC405_SPR_SU0R		0x3bc/* * DCR numbers */#define PPC405_DCR_SDRAM0_CFGADDR	0x010#define PPC405_DCR_SDRAM0_CFGDATA	0x011#define PPC405_DCR_EBC0_CFGADDR		0x012#define PPC405_DCR_EBC0_CFGDATA		0x013#define PPC405_DCR_DCP0_CFGADDR		0x014#define PPC405_DCR_DCP0_CFGDATA		0x015#define PPC405_DCR_OCM0_ISARC		0x018#define PPC405_DCR_OCM0_ISCNTL		0x019#define PPC405_DCR_OCM0_DSARC		0x01a#define PPC405_DCR_OCM0_DSCNTL		0x01b#define PPC405_DCR_PLB0_BESR		0x084#define PPC405_DCR_PLB0_BEAR		0x086#define PPC405_DCR_PLB0_ACR			0x087#define PPC405_DCR_POB0_BESR0		0x0a0#define PPC405_DCR_POB0_BEAR		0x0a2#define PPC405_DCR_POB0_BESR1		0x0a4#define PPC405_DCR_CPC0_PLLMR		0x0b0#define PPC405_DCR_CPC0_CR0			0x0b1#define PPC405_DCR_CPC0_CR1			0x0b2#define PPC405_DCR_CPC0_PSR			0x0b4#define PPC405_DCR_CPC0_JTAGID		0x0b5#define PPC405_DCR_CPC0_SR			0x0b8#define PPC405_DCR_CPC0_ER			0x0b9#define PPC405_DCR_CPC0_FR			0x0ba#define PPC405_DCRBASE_UIC0			0xc0#define PPC405_DCRBASE_UIC1			0xd0#define PPC405_DCR_UIC0_SR			PPCIBM_DCR_UIC_SR(PPC405_DCRBASE_UIC0)#define PPC405_DCR_UIC0_ER			PPCIBM_DCR_UIC_ER(PPC405_DCRBASE_UIC0)#define PPC405_DCR_UIC0_CR			PPCIBM_DCR_UIC_CR(PPC405_DCRBASE_UIC0)#define PPC405_DCR_UIC0_PR			PPCIBM_DCR_UIC_PR(PPC405_DCRBASE_UIC0)#define PPC405_DCR_UIC0_TR			PPCIBM_DCR_UIC_TR(PPC405_DCRBASE_UIC0)#define PPC405_DCR_UIC0_MSR			PPCIBM_DCR_UIC_MSR(PPC405_DCRBASE_UIC0)#define PPC405_DCR_UIC0_VCR			PPCIBM_DCR_UIC_VCR(PPC405_DCRBASE_UIC0)#define PPC405_DCR_UIC0_VR			PPCIBM_DCR_UIC_VR(PPC405_DCRBASE_UIC0)#define PPC405_DCR_UIC1_SR			PPCIBM_DCR_UIC_SR(PPC405_DCRBASE_UIC1)#define PPC405_DCR_UIC1_ER			PPCIBM_DCR_UIC_ER(PPC405_DCRBASE_UIC1)#define PPC405_DCR_UIC1_CR			PPCIBM_DCR_UIC_CR(PPC405_DCRBASE_UIC1)#define PPC405_DCR_UIC1_PR			PPCIBM_DCR_UIC_PR(PPC405_DCRBASE_UIC1)#define PPC405_DCR_UIC1_TR			PPCIBM_DCR_UIC_TR(PPC405_DCRBASE_UIC1)#define PPC405_DCR_UIC1_MSR			PPCIBM_DCR_UIC_MSR(PPC405_DCRBASE_UIC1)#define PPC405_DCR_UIC1_VCR			PPCIBM_DCR_UIC_VCR(PPC405_DCRBASE_UIC1)#define PPC405_DCR_UIC1_VR			PPCIBM_DCR_UIC_VR(PPC405_DCRBASE_UIC1)#define PPC405_DCR_DMA0_CR0			0x100#define PPC405_DCR_DMA0_CT0			0x101#define PPC405_DCR_DMA0_DA0			0x102#define PPC405_DCR_DMA0_SA0			0x103#define PPC405_DCR_DMA0_SG0			0x104#define PPC405_DCR_DMA0_CR1			0x108#define PPC405_DCR_DMA0_CT1			0x109#define PPC405_DCR_DMA0_DA1			0x10a#define PPC405_DCR_DMA0_SA1			0x10b#define PPC405_DCR_DMA0_SG1			0x10c#define PPC405_DCR_DMA0_CR2			0x110#define PPC405_DCR_DMA0_CT2			0x111#define PPC405_DCR_DMA0_DA2			0x112#define PPC405_DCR_DMA0_SA2			0x113#define PPC405_DCR_DMA0_SG2			0x114#define PPC405_DCR_DMA0_CR3			0x118#define PPC405_DCR_DMA0_CT3			0x119#define PPC405_DCR_DMA0_DA3			0x11a#define PPC405_DCR_DMA0_SA3			0x11b#define PPC405_DCR_DMA0_SG3			0x11c#define PPC405_DCR_DMA0_SR			0x120#define PPC405_DCR_DMA0_SGC			0x123#define PPC405_DCR_DMAADR			0x124#define PPC405_DCR_DMA0_SLP			0x125#define PPC405_DCR_DMA0_POL			0x126#define PPC405_DCR_MAL0_CR			0x180#define PPC405_DCR_MAL0_ESR			0x181#define PPC405_DCR_MAL0_IER			0x182#define PPC405_DCR_MAL0_TXCASR		0x184#define PPC405_DCR_MAL0_TXCARR		0x185#define PPC405_DCR_MAL0_TXEOBISR	0x186#define PPC405_DCR_MAL0_TXDEIR		0x187#define PPC405_DCR_MAL0_RXCASR		0x190#define PPC405_DCR_MAL0_RXCARR		0x191#define PPC405_DCR_MAL0_RXEOBISR	0x192#define PPC405_DCR_MAL0_RXDEIR		0x193#define PPC405_DCR_MAL0_TXCTP0R		0x1a0#define PPC405_DCR_MAL0_TXCTP1R		0x1a1#define PPC405_DCR_MAL0_TXCTP2R		0x1a2#define PPC405_DCR_MAL0_TXCTP3R		0x1a3#define PPC405_DCR_MAL0_RXCTP0R		0x1c0#define PPC405_DCR_MAL0_RXCTP1R		0x1c1#define PPC405_DCR_MAL0_RCBS0		0x1e0#define PPC405_DCR_MAL0_RCBS1		0x1e1/* * Indirect via SDRAM0_CFGADDR/SDRAM_CFGDATA registers */#define PPC405_SDRAM0_BESR0		0x00#define PPC405_SDRAM0_BESR1		0x08#define PPC405_SDRAM0_BEAR		0x10#define PPC405_SDRAM0_CFG		0x20#define PPC405_SDRAM0_RTR		0x30#define PPC405_SDRAM0_PMIT		0x34#define PPC405_SDRAM0_B0CR		0x40#define PPC405_SDRAM0_B1CR		0x44#define PPC405_SDRAM0_B2CR		0x48#define PPC405_SDRAM0_B3CR		0x4c#define PPC405_SDRAM0_TR		0x80#define PPC405_SDRAM0_ECCCFG	0x94#define PPC405_SDRAM0_ECCESR	0x98/* * Indirect via EBC0_CFGADDR/EBC0_CFGDATA registers */#define PPC405_EBC0_B0CR		0x00#define PPC405_EBC0_B1CR		0x01#define PPC405_EBC0_B2CR		0x02#define PPC405_EBC0_B3CR		0x03#define PPC405_EBC0_B4CR		0x04#define PPC405_EBC0_B5CR		0x05#define PPC405_EBC0_B6CR		0x06#define PPC405_EBC0_B7CR		0x07#define PPC405_EBC0_B0AP		0x10#define PPC405_EBC0_B1AP		0x11#define PPC405_EBC0_B2AP		0x12#define PPC405_EBC0_B3AP		0x13#define PPC405_EBC0_B4AP		0x14#define PPC405_EBC0_B5AP		0x15#define PPC405_EBC0_B6AP		0x16#define PPC405_EBC0_B7AP		0x17#define PPC405_EBC0_BEAR		0x20#define PPC405_EBC0_BESR0		0x21#define PPC405_EBC0_BESR1		0x22#define PPC405_EBC0_CFG			0x23/* * Indirect via DCP0_CFGADDR/DCP0_CFGDATA registers */#define PPC405_DCP0_ITOR0		0x00#define PPC405_DCP0_ITOR1		0x01#define PPC405_DCP0_ITOR2		0x02#define PPC405_DCP0_ITOR3		0x03#define PPC405_DCP0_ADDR0		0x04#define PPC405_DCP0_ADDR1		0x05#define PPC405_DCP0_CFG			0x40#define PPC405_DCP0_ID			0x41#define PPC405_DCP0_VER			0x42#define PPC405_DCP0_PLBBEAR		0x50#define PPC405_DCP0_MEMBEAR		0x51#define PPC405_DCP0_ESR			0x52#define PPC405_DCP0_RAM0		0x400#define PPC405_DCP0_RAM3ff		0x7ff/* * Memory mapped */#define PPC405_PCIC0_BASE			0xeec00000#define PPC405_PCIC0_CFGADR			0x00#define PPC405_PCIC0_CFGDATA		0x04#define PCC405_PCIC0_CFGADR			PPC405_PCIC0_CFGADR#define PCC405_PCIC0_CFGDATA		PPC405_PCIC0_CFGDATA#define PPC405_PCIL0_BASE			0xef400000#define PPC405_PCIL0_PMM0LA			0x00#define PPC405_PCIL0_PMM0MA			0x04#define PPC405_PCIL0_PMM0PCILA		0x08#define PPC405_PCIL0_PMM0PCIHA		0x0c#define PPC405_PCIL0_PMM1LA			0x10#define PPC405_PCIL0_PMM1MA			0x14#define PPC405_PCIL0_PMM1PCILA		0x18#define PPC405_PCIL0_PMM1PCIHA		0x1c#define PPC405_PCIL0_PMM2LA			0x20#define PPC405_PCIL0_PMM2MA			0x24#define PPC405_PCIL0_PMM2PCILA		0x28#define PPC405_PCIL0_PMM2PCIHA		0x2c#define PPC405_PCIL0_PTM1MS			0x30#define PPC405_PCIL0_PTM1LA			0x34#define PPC405_PCIL0_PTM2MS			0x38#define PPC405_PCIL0_PTM2LA			0x3c#define PPC405_UART0_BASE		0xef600300#define PPC405_UART1_BASE		0xef600400#define PPC405_IIC0_BASE		0xef600500#define PPC405_IIC0_MDBUF		0x00#define PPC405_IIC0_SDBUF		0x02#define PPC405_IIC0_LMADR		0x04#define PPC405_IIC0_HMADR		0x05#define PPC405_IIC0_CNTL		0x06#define PPC405_IIC0_MDCNTL		0x07#define PPC405_IIC0_STS			0x08#define PPC405_IIC0_EXTSTS		0x09#define PPC405_IIC0_LSADR		0x0a#define PPC405_IIC0_HSADR		0x0b#define PPC405_IIC0_CLKDIV		0x0c#define PPC405_IIC0_INTRMSK		0x0d#define PPC405_IIC0_XFRCNT		0x0e#define PPC405_IIC0_XTCNTLSS	0x0f#define PPC405_IIC0_DIRECTCNTL	0x10#define PPC405_OPBA0_BASE		0xef600600#define PPC405_OPBA0_PR			0x00#define PPC405_OPBA0_CR			0x01#define PPC405_GPIO0_BASE		0xef600700#define PPC405_GPIO0_OR			0x00#define PPC405_GPIO0_TCR		0x04#define PPC405_GPIO0_ODR		0x18#define PPC405_GPIO0_IR			0x1c#define PPC405_EMAC0_BASE		0xef600800#define PPC405_EMAC0_MR0		0x00#define PPC405_EMAC0_MR1		0x04#define PPC405_EMAC0_TMR0		0x08#define PPC405_EMAC0_TMR1		0x0c#define PPC405_EMAC0_RMR		0x10#define PPC405_EMAC0_ISR		0x14#define PPC405_EMAC0_ISER		0x18#define PPC405_EMAC0_IAHR		0x1c#define PPC405_EMAC0_IALR		0x20#define PPC405_EMAC0_VTPID		0x24#define PPC405_EMAC0_VTCI		0x28#define PPC405_EMAC0_PTR		0x2c#define PPC405_EMAC0_IAHT1		0x30#define PPC405_EMAC0_IAHT2		0x34#define PPC405_EMAC0_IAHT3		0x38#define PPC405_EMAC0_IAHT4		0x3c#define PPC405_EMAC0_GAHT1		0x40#define PPC405_EMAC0_GAHT2		0x44#define PPC405_EMAC0_GAHT3		0x48#define PPC405_EMAC0_GAHT4		0x4c#define PPC405_EMAC0_LSAL		0x50#define PPC405_EMAC0_LSAH		0x54#define PPC405_EMAC0_IPGVR		0x58#define PPC405_EMAC0_STACR		0x5c#define PPC405_EMAC0_TRTR		0x60#define PPC405_EMAC0_RWMR		0x64#define PPC405_ZMII_BASE		0xef600c10#define PPC405_ZMII_FER			0x00#define PPC405_ZMII_SSR			0x04#define PPC405_ZMII_SMIISR		0x08#endif/* __SRCVERSION("$IQ: 405cpu.h,v 1.10.2.3 $"); */

⌨️ 快捷键说明

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