📄 registers.h
字号:
//C5509A registers
//Peripheral Registers below
/*Idle Control,Status,and System Registers*/
#define ICR (volatile ioport unsigned int *)0x0001
#define ISTR (volatile ioport unsigned int *)0x0002
#define SYSR (volatile ioport unsigned int *)0x07FD
/* EMIF REGISTERS*/
#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
#define SDC3 (volatile ioport unsigned int *)0x0814
/*DMA Global Register*/
#define DMA_GCR (volatile ioport unsigned int *)0x0E00
#define DMA_GSCR (volatile ioport unsigned int *)0x0E02
#define DMA_GTCR (volatile ioport unsigned int *)0x0E03
/*DMA Channel #0 Regiters*/
#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_CSSA_L0 (volatile ioport unsigned int *)0x0C04
#define DMA_CSSA_U0 (volatile ioport unsigned int *)0x0C05
#define DMA_CDSA_L0 (volatile ioport unsigned int *)0x0C06
#define DMA_CDSA_U0 (volatile ioport unsigned int *)0x0C07
#define DMA_CEN0 (volatile ioport unsigned int *)0x0C08
#define DMA_CFN0 (volatile ioport unsigned int *)0x0C09
#define DMA_CSFI0 (volatile ioport unsigned int *)0x0C0A
#define DMA_CFI0 (volatile ioport unsigned int *)0x0C0A
#define DMA_CSEI0 (volatile ioport unsigned int *)0x0C0B
#define DMA_CEI0 (volatile ioport unsigned int *)0x0C0B
#define DMA_CSAC0 (volatile ioport unsigned int *)0x0C0C
#define DMA_CDAC0 (volatile ioport unsigned int *)0x0C0D
#define DMA_CDEI0 (volatile ioport unsigned int *)0x0C0E
#define DMA_CDFI0 (volatile ioport unsigned int *)0x0C0F
/*DMA Channel #1 Regiters*/
#define DMA_CSDP1 (volatile ioport unsigned int *)0x0C20
#define DMA_CCR1 (volatile ioport unsigned int *)0x0C21
#define DMA_CICR1 (volatile ioport unsigned int *)0x0C22
#define DMA_CSR1 (volatile ioport unsigned int *)0x0C23
#define DMA_CSSA_L1 (volatile ioport unsigned int *)0x0C24
#define DMA_CSSA_U1 (volatile ioport unsigned int *)0x0C25
#define DMA_CDSA_L1 (volatile ioport unsigned int *)0x0C26
#define DMA_CDSA_U1 (volatile ioport unsigned int *)0x0C27
#define DMA_CEN1 (volatile ioport unsigned int *)0x0C28
#define DMA_CFN1 (volatile ioport unsigned int *)0x0C29
#define DMA_CSFI1 (volatile ioport unsigned int *)0x0C2A
#define DMA_CFI1 (volatile ioport unsigned int *)0x0C2A
#define DMA_CSEI1 (volatile ioport unsigned int *)0x0C2B
#define DMA_CEI1 (volatile ioport unsigned int *)0x0C2B
#define DMA_CSAC1 (volatile ioport unsigned int *)0x0C2C
#define DMA_CDAC1 (volatile ioport unsigned int *)0x0C2D
#define DMA_CDEI1 (volatile ioport unsigned int *)0x0C2E
#define DMA_CDFI1 (volatile ioport unsigned int *)0x0C2F
/*DMA Channel #2 Regiters*/
#define DMA_CSDP2 (volatile ioport unsigned int *)0x0C40
#define DMA_CCR2 (volatile ioport unsigned int *)0x0C41
#define DMA_CICR2 (volatile ioport unsigned int *)0x0C42
#define DMA_CSR2 (volatile ioport unsigned int *)0x0C43
#define DMA_CSSA_L2 (volatile ioport unsigned int *)0x0C44
#define DMA_CSSA_U2 (volatile ioport unsigned int *)0x0C45
#define DMA_CDSA_L2 (volatile ioport unsigned int *)0x0C46
#define DMA_CDSA_U2 (volatile ioport unsigned int *)0x0C47
#define DMA_CEN2 (volatile ioport unsigned int *)0x0C48
#define DMA_CFN2 (volatile ioport unsigned int *)0x0C49
#define DMA_CSFI2 (volatile ioport unsigned int *)0x0C4A
#define DMA_CFI2 (volatile ioport unsigned int *)0x0C4A
#define DMA_CSEI2 (volatile ioport unsigned int *)0x0C4B
#define DMA_CEI2 (volatile ioport unsigned int *)0x0C4B
#define DMA_CSAC2 (volatile ioport unsigned int *)0x0C4C
#define DMA_CDAC2 (volatile ioport unsigned int *)0x0C4D
#define DMA_CDEI2 (volatile ioport unsigned int *)0x0C4E
#define DMA_CDFI2 (volatile ioport unsigned int *)0x0C4F
/*DMA Channel #3 Regiters*/
#define DMA_CSDP3 (volatile ioport unsigned int *)0x0C60
#define DMA_CCR3 (volatile ioport unsigned int *)0x0C61
#define DMA_CICR3 (volatile ioport unsigned int *)0x0C62
#define DMA_CSR3 (volatile ioport unsigned int *)0x0C63
#define DMA_CSSA_L3 (volatile ioport unsigned int *)0x0C64
#define DMA_CSSA_U3 (volatile ioport unsigned int *)0x0C65
#define DMA_CDSA_L3 (volatile ioport unsigned int *)0x0C66
#define DMA_CDSA_U3 (volatile ioport unsigned int *)0x0C67
#define DMA_CEN3 (volatile ioport unsigned int *)0x0C68
#define DMA_CFN3 (volatile ioport unsigned int *)0x0C69
#define DMA_CSFI3 (volatile ioport unsigned int *)0x0C6A
#define DMA_CFI3 (volatile ioport unsigned int *)0x0C6A
#define DMA_CSEI3 (volatile ioport unsigned int *)0x0C6B
#define DMA_CEI3 (volatile ioport unsigned int *)0x0C6B
#define DMA_CSAC3 (volatile ioport unsigned int *)0x0C6C
#define DMA_CDAC3 (volatile ioport unsigned int *)0x0C6D
#define DMA_CDEI3 (volatile ioport unsigned int *)0x0C6E
#define DMA_CDFI3 (volatile ioport unsigned int *)0x0C6F
/*DMA Channel #4 Regiters*/
#define DMA_CSDP4 (volatile ioport unsigned int *)0x0C80
#define DMA_CCR4 (volatile ioport unsigned int *)0x0C81
#define DMA_CICR4 (volatile ioport unsigned int *)0x0C82
#define DMA_CSR4 (volatile ioport unsigned int *)0x0C83
#define DMA_CSSA_L4 (volatile ioport unsigned int *)0x0C84
#define DMA_CSSA_U4 (volatile ioport unsigned int *)0x0C85
#define DMA_CDSA_L4 (volatile ioport unsigned int *)0x0C86
#define DMA_CDSA_U4 (volatile ioport unsigned int *)0x0C87
#define DMA_CEN4 (volatile ioport unsigned int *)0x0C88
#define DMA_CFN4 (volatile ioport unsigned int *)0x0C89
#define DMA_CSFI4 (volatile ioport unsigned int *)0x0C8A
#define DMA_CFI4 (volatile ioport unsigned int *)0x0C8A
#define DMA_CSEI4 (volatile ioport unsigned int *)0x0C8B
#define DMA_CEI4 (volatile ioport unsigned int *)0x0C8B
#define DMA_CSAC4 (volatile ioport unsigned int *)0x0C8C
#define DMA_CDAC4 (volatile ioport unsigned int *)0x0C8D
#define DMA_CDEI4 (volatile ioport unsigned int *)0x0C8E
#define DMA_CDFI4 (volatile ioport unsigned int *)0x0C8F
/*DMA Channel #5 Regiters*/
#define DMA_CSDP5 (volatile ioport unsigned int *)0x0CA0
#define DMA_CCR5 (volatile ioport unsigned int *)0x0CA1
#define DMA_CICR5 (volatile ioport unsigned int *)0x0CA2
#define DMA_CSR5 (volatile ioport unsigned int *)0x0CA3
#define DMA_CSSA_L5 (volatile ioport unsigned int *)0x0CA4
#define DMA_CSSA_U5 (volatile ioport unsigned int *)0x0CA5
#define DMA_CDSA_L5 (volatile ioport unsigned int *)0x0CA6
#define DMA_CDSA_U5 (volatile ioport unsigned int *)0x0CA7
#define DMA_CEN5 (volatile ioport unsigned int *)0x0CA8
#define DMA_CFN5 (volatile ioport unsigned int *)0x0CA9
#define DMA_CSFI5 (volatile ioport unsigned int *)0x0CAA
#define DMA_CFI5 (volatile ioport unsigned int *)0x0CAA
#define DMA_CSEI5 (volatile ioport unsigned int *)0x0CAB
#define DMA_CEI5 (volatile ioport unsigned int *)0x0CAB
#define DMA_CSAC5 (volatile ioport unsigned int *)0x0CAC
#define DMA_CDAC5 (volatile ioport unsigned int *)0x0CAD
#define DMA_CDEI5 (volatile ioport unsigned int *)0x0CAE
#define DMA_CDFI5 (volatile ioport unsigned int *)0x0CAF
/*CLOCK GENERATOR REGISTER*/
#define CLKMD (volatile ioport unsigned int *)0x01C00
#define USBDPLL (volatile ioport unsigned int *)0x01E00
#define USBPLLSEL (volatile ioport unsigned int *)0x01E80
#define USBAPLL (volatile ioport unsigned int *)0x01F00
/*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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -