📄 registers.h.bak
字号:
/*DMA REGISTERAS*/
#define DMA_CSDP0 (volatile ioport unsigned int *)0x0C00
#define DMA_CCR0 (volatile ioport unsigned int *)0x0C01
#define DMA_CICR0 (volatile ioport unsigned int *)0x0C02
#define DMA_CSR0 (volatile ioport unsigned int *)0x0C03
#define DMA_CCSA_L0 (volatile ioport unsigned int *)0x0C04
#define DMA_CCSA_U0 (volatile ioport unsigned int *)0x0C05
#define DMA_CDSA_L0 (volatile ioport unsigned int *)0x0806
#define DMA_CDSA_U0 (volatile ioport unsigned int *)0x0C07
#define DMA_CEN0 (volatile ioport unsigned int *)0x0C08
#define DMA_CFN0 (volatile ioport unsigned int *)0x0809
#define DMA_CFI0 (volatile ioport unsigned int *)0x0C0A
#define DMA_CEI0 (volatile ioport unsigned int *)0x0C0B
/*CLOCK GENERATOR REGISTER*/
#define CLKMD (volatile ioport unsigned int *)0x01C00
#define TIM0 (volatile ioport unsigned int *)0x1000
#define PRD0 (volatile ioport unsigned int *)0x1001
#define TCR0 (volatile ioport unsigned int *)0x1002
#define PRSC0 (volatile ioport unsigned int *)0x1003
#define TIM1 (volatile ioport unsigned int *)0x2400
#define PRD1 (volatile ioport unsigned int *)0x2401
#define TCR1 (volatile ioport unsigned int *)0x2402
#define PRSC1 (volatile ioport unsigned int *)0x2403
/*McBSP0 REGISTERS*/
#define DRR2_0 (volatile ioport unsigned int *)0x02800
#define DRR1_0 (volatile ioport unsigned int *)0x02801
#define DXR2_0 (volatile ioport unsigned int *)0x02802
#define DXR1_0 (volatile ioport unsigned int *)0x02803
#define SPCR2_0 (volatile ioport unsigned int *)0x02804
#define SPCR1_0 (volatile ioport unsigned int *)0x02805
#define RCR2_0 (volatile ioport unsigned int *)0x02806
#define RCR1_0 (volatile ioport unsigned int *)0x02807
#define XCR2_0 (volatile ioport unsigned int *)0x02808
#define XCR1_0 (volatile ioport unsigned int *)0x02809
#define SRGR2_0 (volatile ioport unsigned int *)0x0280A
#define SRGR1_0 (volatile ioport unsigned int *)0x0280B
#define MCR2_0 (volatile ioport unsigned int *)0x0280C
#define MCR1_0 (volatile ioport unsigned int *)0x0280D
#define RCERA_0 (volatile ioport unsigned int *)0x0280E
#define RCERB_0 (volatile ioport unsigned int *)0x0280F
#define XCERA_0 (volatile ioport unsigned int *)0x02810
#define XCERB_0 (volatile ioport unsigned int *)0x02811
#define PCR0 (volatile ioport unsigned int *)0x02812
#define RCERC_0 (volatile ioport unsigned int *)0x02813
#define RCERD_0 (volatile ioport unsigned int *)0x02814
#define XCERC_0 (volatile ioport unsigned int *)0x02815
#define XCERD_0 (volatile ioport unsigned int *)0x02816
#define RCERE_0 (volatile ioport unsigned int *)0x02817
#define RCERF_0 (volatile ioport unsigned int *)0x02818
#define XCERE_0 (volatile ioport unsigned int *)0x02819
#define XCERF_0 (volatile ioport unsigned int *)0x0281A
#define RCERG_0 (volatile ioport unsigned int *)0x0281B
#define RCERH_0 (volatile ioport unsigned int *)0x0281C
#define XCERG_0 (volatile ioport unsigned int *)0x0281D
#define XCERH_0 (volatile ioport unsigned int *)0x0281E
/*McBSP1 REGISTERS*/
#define DRR2_1 (volatile ioport unsigned int *)0x02C00
#define DRR1_1 (volatile ioport unsigned int *)0x02C01
#define DXR2_1 (volatile ioport unsigned int *)0x02C02
#define DXR1_1 (volatile ioport unsigned int *)0x02C03
#define SPCR2_1 (volatile ioport unsigned int *)0x02C04
#define SPCR1_1 (volatile ioport unsigned int *)0x02C05
#define RCR2_1 (volatile ioport unsigned int *)0x02C06
#define RCR1_1 (volatile ioport unsigned int *)0x02C07
#define XCR2_1 (volatile ioport unsigned int *)0x02C08
#define XCR1_1 (volatile ioport unsigned int *)0x02C09
#define SRGR2_1 (volatile ioport unsigned int *)0x02C0A
#define SRGR1_1 (volatile ioport unsigned int *)0x02C0B
#define MCR2_1 (volatile ioport unsigned int *)0x02C0C
#define MCR1_1 (volatile ioport unsigned int *)0x02C0D
#define RCERA_1 (volatile ioport unsigned int *)0x02C0E
#define RCERB_1 (volatile ioport unsigned int *)0x02C0F
#define XCERA_1 (volatile ioport unsigned int *)0x02C10
#define XCERB_1 (volatile ioport unsigned int *)0x02C11
#define PCR1 (volatile ioport unsigned int *)0x02C12
#define RCERC_1 (volatile ioport unsigned int *)0x02C13
#define RCERD_1 (volatile ioport unsigned int *)0x02C14
#define XCERC_1 (volatile ioport unsigned int *)0x02C15
#define XCERD_1 (volatile ioport unsigned int *)0x02C16
#define RCERE_1 (volatile ioport unsigned int *)0x02C17
#define RCERF_1 (volatile ioport unsigned int *)0x02C18
#define XCERE_1 (volatile ioport unsigned int *)0x02C19
#define XCERF_1 (volatile ioport unsigned int *)0x02C1A
#define RCERG_1 (volatile ioport unsigned int *)0x02C1B
#define RCERH_1 (volatile ioport unsigned int *)0x02C1C
#define XCERG_1 (volatile ioport unsigned int *)0x02C1D
#define XCERH_1 (volatile ioport unsigned int *)0x02C1E
/*McBSP2 REGISTERS*/
#define DRR2_2 (volatile ioport unsigned int *)0x03000
#define DRR1_2 (volatile ioport unsigned int *)0x03001
#define DXR2_2 (volatile ioport unsigned int *)0x03002
#define DXR1_2 (volatile ioport unsigned int *)0x03003
#define SPCR2_2 (volatile ioport unsigned int *)0x03004
#define SPCR1_2 (volatile ioport unsigned int *)0x03005
#define RCR2_2 (volatile ioport unsigned int *)0x03006
#define RCR1_2 (volatile ioport unsigned int *)0x03007
#define XCR2_2 (volatile ioport unsigned int *)0x03008
#define XCR1_2 (volatile ioport unsigned int *)0x03009
#define SRGR2_2 (volatile ioport unsigned int *)0x0300A
#define SRGR1_2 (volatile ioport unsigned int *)0x0300B
#define MCR2_2 (volatile ioport unsigned int *)0x0300C
#define MCR1_2 (volatile ioport unsigned int *)0x0300D
#define RCERA_2 (volatile ioport unsigned int *)0x0300E
#define RCERB_2 (volatile ioport unsigned int *)0x0300F
#define XCERA_2 (volatile ioport unsigned int *)0x03010
#define XCERB_2 (volatile ioport unsigned int *)0x03011
#define PCR2 (volatile ioport unsigned int *)0x03012
#define RCERC_2 (volatile ioport unsigned int *)0x03013
#define RCERD_2 (volatile ioport unsigned int *)0x03014
#define XCERC_2 (volatile ioport unsigned int *)0x03015
#define XCERD_2 (volatile ioport unsigned int *)0x03016
#define RCERE_2 (volatile ioport unsigned int *)0x03017
#define RCERF_2 (volatile ioport unsigned int *)0x03018
#define XCERE_2 (volatile ioport unsigned int *)0x03019
#define XCERF_2 (volatile ioport unsigned int *)0x0301A
#define RCERG_2 (volatile ioport unsigned int *)0x0301B
#define RCERH_2 (volatile ioport unsigned int *)0x0301C
#define XCERG_2 (volatile ioport unsigned int *)0x0301D
#define XCERH_2 (volatile ioport unsigned int *)0x0301E
/*GPIO REGISTERS*/
#define IODOR (volatile unsigned int *)0x03400
#define IODATA (volatile unsigned int *)0x03401
/*INTERUPT*/
#define IER0 (volatile unsigned int *)0x00000
#define IFR0 (volatile unsigned int *)0x00001
#define IER1 (volatile unsigned int *)0x00045
#define IFR1 (volatile unsigned int *)0x00046
#define IVPD (volatile unsigned int *)0x00049
#define IVPH (volatile unsigned int *)0x0004A
#define ST0_55 (volatile unsigned int *)0x00002
#define ST1_55 (volatile unsigned int *)0x00003
#define ST2_55 (volatile unsigned int *)0x0004B
#define ST3_55 (volatile unsigned int *)0x00004
/*DATA PAGE*/
#define DP (volatile unsigned int *)0x0002e
#define DPH (volatile unsigned int *)0x0002b
#define PDP (volatile unsigned int *)0x0002f
#define SP (volatile unsigned int *)0x0004d
#define SPH (volatile unsigned int *)0x0004e
/* ASSISTANT REGISTERS*/
#define AR0 (volatile unsigned int *)0x00010
#define AR1 (volatile unsigned int *)0x00011
#define AR2 (volatile unsigned int *)0x00012
#define AR3 (volatile unsigned int *)0x00013
#define AR4 (volatile unsigned int *)0x00014
#define AR5 (volatile unsigned int *)0x00015
#define AR6 (volatile unsigned int *)0x00016
#define AR7 (volatile unsigned int *)0x00017
/*EMIF REGISTERAS*/
#define EGCR (volatile ioport unsigned int *)0x0800
#define EMIRST (volatile ioport unsigned int *)0x0801
#define EMIBE (volatile ioport unsigned int *)0x0802
#define CE01 (volatile ioport unsigned int *)0x0803
#define CE02 (volatile ioport unsigned int *)0x0804
#define CE03 (volatile ioport unsigned int *)0x0805
#define CE11 (volatile ioport unsigned int *)0x0806
#define CE12 (volatile ioport unsigned int *)0x0807
#define CE13 (volatile ioport unsigned int *)0x0808
#define CE21 (volatile ioport unsigned int *)0x0809
#define CE22 (volatile ioport unsigned int *)0x080A
#define CE23 (volatile ioport unsigned int *)0x080B
#define CE31 (volatile ioport unsigned int *)0x080C
#define CE32 (volatile ioport unsigned int *)0x080D
#define CE33 (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
//////////
#define DMA_src (volatile unsigned int *)0x100000
#define DMA_dst (volatile unsigned int *)0x4000
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -