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

📄 56807.h

📁 一个串口终端解释程序。用于单片机调试串口的超级终端应用。
💻 H
📖 第 1 页 / 共 3 页
字号:
#define ADCA_ADHLMT5	(unsigned int *)(ADCA_BASE + 0x1e)
#define ADCA_ADHLMT6	(unsigned int *)(ADCA_BASE + 0x1f)
#define ADCA_ADHLMT7	(unsigned int *)(ADCA_BASE + 0x20)
#define ADCA_ADOFS0		(unsigned int *)(ADCA_BASE + 0x21)
#define ADCA_ADOFS1		(unsigned int *)(ADCA_BASE + 0x22)
#define ADCA_ADOFS2		(unsigned int *)(ADCA_BASE + 0x23)
#define ADCA_ADOFS3		(unsigned int *)(ADCA_BASE + 0x24)
#define ADCA_ADOFS4		(unsigned int *)(ADCA_BASE + 0x25)
#define ADCA_ADOFS5		(unsigned int *)(ADCA_BASE + 0x26)
#define ADCA_ADOFS6		(unsigned int *)(ADCA_BASE + 0x27)
#define ADCA_ADOFS7		(unsigned int *)(ADCA_BASE + 0x28)
                        
#define ADCB_BASE	0x12c0

#define ADCB_ADCR1		(unsigned int *)(ADCB_BASE + 0x0 )
#define ADCB_ADCR2		(unsigned int *)(ADCB_BASE + 0x1 )
#define ADCB_ADZCC		(unsigned int *)(ADCB_BASE + 0x2 )
#define ADCB_ADLST1		(unsigned int *)(ADCB_BASE + 0x3 )
#define ADCB_ADLST2		(unsigned int *)(ADCB_BASE + 0x4 )
#define ADCB_ADSDIS		(unsigned int *)(ADCB_BASE + 0x5 )
#define ADCB_ADSTAT		(unsigned int *)(ADCB_BASE + 0x6 )
#define ADCB_ADLSTAT	(unsigned int *)(ADCB_BASE + 0x7 )
#define ADCB_ADZCSTAT	(unsigned int *)(ADCB_BASE + 0x8 )
#define ADCB_ADRSLT0	(unsigned int *)(ADCB_BASE + 0x9 )
#define ADCB_ADRSLT1	(unsigned int *)(ADCB_BASE + 0xa )
#define ADCB_ADRSLT2	(unsigned int *)(ADCB_BASE + 0xb )
#define ADCB_ADRSLT3	(unsigned int *)(ADCB_BASE + 0xc )
#define ADCB_ADRSLT4	(unsigned int *)(ADCB_BASE + 0xd )
#define ADCB_ADRSLT5	(unsigned int *)(ADCB_BASE + 0xe )
#define ADCB_ADRSLT6	(unsigned int *)(ADCB_BASE + 0xf )
#define ADCB_ADRSLT7	(unsigned int *)(ADCB_BASE + 0x10)
#define ADCB_ADDLLMT0	(unsigned int *)(ADCB_BASE + 0x11)
#define ADCB_ADDLLMT1	(unsigned int *)(ADCB_BASE + 0x12)
#define ADCB_ADDLLMT2	(unsigned int *)(ADCB_BASE + 0x13)
#define ADCB_ADDLLMT3	(unsigned int *)(ADCB_BASE + 0x14)
#define ADCB_ADDLLMT4	(unsigned int *)(ADCB_BASE + 0x15)
#define ADCB_ADDLLMT5	(unsigned int *)(ADCB_BASE + 0x16)
#define ADCB_ADDLLMT6	(unsigned int *)(ADCB_BASE + 0x17)
#define ADCB_ADDLLMT7	(unsigned int *)(ADCB_BASE + 0x18)
#define ADCB_ADHLMT0	(unsigned int *)(ADCB_BASE + 0x19)
#define ADCB_ADHLMT1	(unsigned int *)(ADCB_BASE + 0x1a)
#define ADCB_ADHLMT2	(unsigned int *)(ADCB_BASE + 0x1b)
#define ADCB_ADHLMT3	(unsigned int *)(ADCB_BASE + 0x1c)
#define ADCB_ADHLMT4	(unsigned int *)(ADCB_BASE + 0x1d)
#define ADCB_ADHLMT5	(unsigned int *)(ADCB_BASE + 0x1e)
#define ADCB_ADHLMT6	(unsigned int *)(ADCB_BASE + 0x1f)
#define ADCB_ADHLMT7	(unsigned int *)(ADCB_BASE + 0x20)
#define ADCB_ADOFS0		(unsigned int *)(ADCB_BASE + 0x21)
#define ADCB_ADOFS1		(unsigned int *)(ADCB_BASE + 0x22)
#define ADCB_ADOFS2		(unsigned int *)(ADCB_BASE + 0x23)
#define ADCB_ADOFS3		(unsigned int *)(ADCB_BASE + 0x24)
#define ADCB_ADOFS4		(unsigned int *)(ADCB_BASE + 0x25)
#define ADCB_ADOFS5		(unsigned int *)(ADCB_BASE + 0x26)
#define ADCB_ADOFS6		(unsigned int *)(ADCB_BASE + 0x27)
#define ADCB_ADOFS7		(unsigned int *)(ADCB_BASE + 0x28)


/* Serial Coummunications Interface (SCI) */
#define SCI0_BASE	0x1300

#define SCI0_SCIBR	(unsigned int *)(SCI0_BASE + 0)
#define SCI0_SCICR	(unsigned int *)(SCI0_BASE + 1)
#define SCI0_SCISR	(unsigned int *)(SCI0_BASE + 2)
#define SCI0_SCIDR	(unsigned int *)(SCI0_BASE + 3)

#define SCI1_BASE	0x1310

#define SCI1_SCIBR	(unsigned int *)(SCI1_BASE + 0)
#define SCI1_SCICR	(unsigned int *)(SCI1_BASE + 1)
#define SCI1_SCISR	(unsigned int *)(SCI1_BASE + 2)
#define SCI1_SCIDR	(unsigned int *)(SCI1_BASE + 3)


/* Serial Peripheral Interface (SPI) */
#define SPI_BASE	0x1320

#define SPSCR	(unsigned int *)(SPI_BASE + 0)
#define SPDSR	(unsigned int *)(SPI_BASE + 1)
#define SPDRR	(unsigned int *)(SPI_BASE + 2)
#define SPDTR	(unsigned int *)(SPI_BASE + 3)


/* Computer Operating Properly */
#define COP_BASE	0x1330

#define COPCTL	(unsigned int *)(COP_BASE + 0)
#define COPTO	(unsigned int *)(COP_BASE + 1)
#define COPSRV	(unsigned int *)(COP_BASE + 2)


/* Program Flash Interface Unit (PFIU) */
#define PFIU_BASE		0x1340

#define PFIU_CNTL		(unsigned int *)(PFIU_BASE + 0x0 )
#define PFIU_PE			(unsigned int *)(PFIU_BASE + 0x1 )
#define PFIU_EE			(unsigned int *)(PFIU_BASE + 0x2 )
#define PFIU_ADDR		(unsigned int *)(PFIU_BASE + 0x3 )
#define PFIU_DATA		(unsigned int *)(PFIU_BASE + 0x4 )
#define PFIU_IE			(unsigned int *)(PFIU_BASE + 0x5 )
#define PFIU_IS			(unsigned int *)(PFIU_BASE + 0x6 )
#define PFIU_IP			(unsigned int *)(PFIU_BASE + 0x7 )
#define PFIU_CKDVISOR	(unsigned int *)(PFIU_BASE + 0x8 )
#define PFIU_TERASEL	(unsigned int *)(PFIU_BASE + 0x9 )
#define PFIU_TMEL		(unsigned int *)(PFIU_BASE + 0xa )
#define PFIU_TNVSL		(unsigned int *)(PFIU_BASE + 0xb )
#define PFIU_TPGSL		(unsigned int *)(PFIU_BASE + 0xc )
#define PFIU_TPROGL		(unsigned int *)(PFIU_BASE + 0xd )
#define PFIU_TVHL		(unsigned int *)(PFIU_BASE + 0xe )
#define PFIU_TVH1L		(unsigned int *)(PFIU_BASE + 0xf )
#define PFIU_TRCVL		(unsigned int *)(PFIU_BASE + 0x10)

/* Data Flash Interface Unit (DFIU) */
#define DFIU_BASE		0x1360

#define DFIU_CNTL		(unsigned int *)(DFIU_BASE + 0x0 )
#define DFIU_PE			(unsigned int *)(DFIU_BASE + 0x1 )
#define DFIU_EE			(unsigned int *)(DFIU_BASE + 0x2 )
#define DFIU_ADDR		(unsigned int *)(DFIU_BASE + 0x3 )
#define DFIU_DATA		(unsigned int *)(DFIU_BASE + 0x4 )
#define DFIU_IE			(unsigned int *)(DFIU_BASE + 0x5 )
#define DFIU_IS			(unsigned int *)(DFIU_BASE + 0x6 )
#define DFIU_IP			(unsigned int *)(DFIU_BASE + 0x7 )
#define DFIU_CKDVISOR	(unsigned int *)(DFIU_BASE + 0x8 )
#define DFIU_TERASEL	(unsigned int *)(DFIU_BASE + 0x9 )
#define DFIU_TMEL		(unsigned int *)(DFIU_BASE + 0xa )
#define DFIU_TNVSL		(unsigned int *)(DFIU_BASE + 0xb )
#define DFIU_TPGSL		(unsigned int *)(DFIU_BASE + 0xc )
#define DFIU_TPROGL		(unsigned int *)(DFIU_BASE + 0xd )
#define DFIU_TVHL		(unsigned int *)(DFIU_BASE + 0xe )
#define DFIU_TVH1L		(unsigned int *)(DFIU_BASE + 0xf )
#define DFIU_TRCVL		(unsigned int *)(DFIU_BASE + 0x10)


/* Boot Flash Interface Unit (BFIU) */
#define BFIU_BASE		0x1380

#define BFIU_CNTL		(unsigned int *)(BFIU_BASE + 0x0 )
#define BFIU_PE			(unsigned int *)(BFIU_BASE + 0x1 )
#define BFIU_EE			(unsigned int *)(BFIU_BASE + 0x2 )
#define BFIU_ADDR		(unsigned int *)(BFIU_BASE + 0x3 )
#define BFIU_DATA		(unsigned int *)(BFIU_BASE + 0x4 )
#define BFIU_IE			(unsigned int *)(BFIU_BASE + 0x5 )
#define BFIU_IS			(unsigned int *)(BFIU_BASE + 0x6 )
#define BFIU_IP			(unsigned int *)(BFIU_BASE + 0x7 )
#define BFIU_CKDVISOR	(unsigned int *)(BFIU_BASE + 0x8 )
#define BFIU_TERASEL	(unsigned int *)(BFIU_BASE + 0x9 )
#define BFIU_TMEL		(unsigned int *)(BFIU_BASE + 0xa )
#define BFIU_TNVSL		(unsigned int *)(BFIU_BASE + 0xb )
#define BFIU_TPGSL		(unsigned int *)(BFIU_BASE + 0xc )
#define BFIU_TPROGL		(unsigned int *)(BFIU_BASE + 0xd )
#define BFIU_TVHL		(unsigned int *)(BFIU_BASE + 0xe )
#define BFIU_TVH1L		(unsigned int *)(BFIU_BASE + 0xf )
#define BFIU_TRCVL		(unsigned int *)(BFIU_BASE + 0x10)
                       

/* Clock Generation */
#define CLKGEN_BASE	0x13a0

#define PLLCR		(unsigned int *)(CLKGEN_BASE + 0)
#define PLLDB		(unsigned int *)(CLKGEN_BASE + 1)
#define PLLSR		(unsigned int *)(CLKGEN_BASE + 2)
#define TESTR		(unsigned int *)(CLKGEN_BASE + 3)
#define CLKOSR		(unsigned int *)(CLKGEN_BASE + 4)
#define ISOCTL		(unsigned int *)(CLKGEN_BASE + 5)
                    
                    
/* General Purpose I(unsigned int *)nput/Output (GPIO) */

#define GPIOA_BASE		0x13b0

#define GPIO_A_PUR		(unsigned int *)(GPIOA_BASE + 0x0)
#define GPIO_A_DR		(unsigned int *)(GPIOA_BASE + 0x1)
#define GPIO_A_DDR		(unsigned int *)(GPIOA_BASE + 0x2)
#define GPIO_A_PER		(unsigned int *)(GPIOA_BASE + 0x3)
#define GPIO_A_IAR		(unsigned int *)(GPIOA_BASE + 0x4)
#define GPIO_A_IENR		(unsigned int *)(GPIOA_BASE + 0x5)
#define GPIO_A_IPOLR	(unsigned int *)(GPIOA_BASE + 0x6)
#define GPIO_A_IPR		(unsigned int *)(GPIOA_BASE + 0x7)
#define GPIO_A_IESR		(unsigned int *)(GPIOA_BASE + 0x8)


#define GPIOB_BASE		0x13c0

#define GPIO_B_PUR		(unsigned int *)(GPIOB_BASE + 0x0)
#define GPIO_B_DR		(unsigned int *)(GPIOB_BASE + 0x1)
#define GPIO_B_DDR		(unsigned int *)(GPIOB_BASE + 0x2)
#define GPIO_B_PER		(unsigned int *)(GPIOB_BASE + 0x3)
#define GPIO_B_IAR		(unsigned int *)(GPIOB_BASE + 0x4)
#define GPIO_B_IENR		(unsigned int *)(GPIOB_BASE + 0x5)
#define GPIO_B_IPOLR	(unsigned int *)(GPIOB_BASE + 0x6)
#define GPIO_B_IPR		(unsigned int *)(GPIOB_BASE + 0x7)
#define GPIO_B_IESR		(unsigned int *)(GPIOB_BASE + 0x8)


#define GPIOD_BASE		0x13e0

#define GPIO_D_PUR		(unsigned int *)(GPIOD_BASE + 0x0)
#define GPIO_D_DR		(unsigned int *)(GPIOD_BASE + 0x1)
#define GPIO_D_DDR		(unsigned int *)(GPIOD_BASE + 0x2)
#define GPIO_D_PER		(unsigned int *)(GPIOD_BASE + 0x3)
#define GPIO_D_IAR		(unsigned int *)(GPIOD_BASE + 0x4)
#define GPIO_D_IENR		(unsigned int *)(GPIOD_BASE + 0x5)
#define GPIO_D_IPOLR	(unsigned int *)(GPIOD_BASE + 0x6)
#define GPIO_D_IPR		(unsigned int *)(GPIOD_BASE + 0x7)
#define GPIO_D_IESR		(unsigned int *)(GPIOD_BASE + 0x8)


#define GPIOE_BASE		0x13f0

#define GPIO_E_PUR		(unsigned int *)(GPIOE_BASE + 0x0)
#define GPIO_E_DR		(unsigned int *)(GPIOE_BASE + 0x1)
#define GPIO_E_DDR		(unsigned int *)(GPIOE_BASE + 0x2)
#define GPIO_E_PER		(unsigned int *)(GPIOE_BASE + 0x3)
#define GPIO_E_IAR		(unsigned int *)(GPIOE_BASE + 0x4)
#define GPIO_E_IENR		(unsigned int *)(GPIOE_BASE + 0x5)
#define GPIO_E_IPOLR	(unsigned int *)(GPIOE_BASE + 0x6)
#define GPIO_E_IPR		(unsigned int *)(GPIOE_BASE + 0x7)
#define GPIO_E_IESR		(unsigned int *)(GPIOE_BASE + 0x8)
                        
                        
#endif /* _56807_H */   
                        
                        

⌨️ 快捷键说明

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