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

📄 regs2407.h

📁 TMS320F2407 filter 滤波程序
💻 H
📖 第 1 页 / 共 2 页
字号:
   
#define CAN_MSGID1L	*(volatile unsigned int *)0x7208	/* CAN Message ID for MB1 , low		*/
#define CAN_MSGID1H	*(volatile unsigned int *)0x7209	/* CAN Message ID for MB1 , high	*/
#define CAN_MSGCTRL1 *(volatile unsigned int *)0x720A	/* CAN Message Control Field 1		*/
#define CAN_MBX1A	*(volatile unsigned int *)0x720C	/* CAN 2 of 8 Bytes of Mailbox 1	*/
#define CAN_MBX1B	*(volatile unsigned int *)0x720D	/* CAN 2 of 8 Bytes of Mailbox 1	*/
#define CAN_MBX1C	*(volatile unsigned int *)0x720E	/* CAN 2 of 8 Bytes of Mailbox 1	*/
#define CAN_MBX1D	*(volatile unsigned int *)0x720F	/* CAN 2 of 8 Bytes of Mailbox 1	*/ 

#define CAN_MSGID2L	*(volatile unsigned int *)0x7210	/* CAN Message ID for MB2 , low		*/
#define CAN_MSGID2H	*(volatile unsigned int *)0x7211	/* CAN Message ID for MB2 , high	*/
#define CAN_MSGCTRL2 *(volatile unsigned int *)0x7212	/* CAN Message Control Field 2		*/
#define CAN_MBX2A	*(volatile unsigned int *)0x7214	/* CAN 2 of 8 Bytes of Mailbox 2	*/
#define CAN_MBX2B	*(volatile unsigned int *)0x7215	/* CAN 2 of 8 Bytes of Mailbox 2	*/
#define CAN_MBX2C	*(volatile unsigned int *)0x7216	/* CAN 2 of 8 Bytes of Mailbox 2	*/
#define CAN_MBX2D	*(volatile unsigned int *)0x7217	/* CAN 2 of 8 Bytes of Mailbox 2	*/

#define CAN_MSGID3L	*(volatile unsigned int *)0x7218	/* CAN Message ID for MB3 , low		*/
#define CAN_MSGID3H	*(volatile unsigned int *)0x7219	/* CAN Message ID for MB3 , high	*/
#define CAN_MSGCTRL3 *(volatile unsigned int *)0x721A	/* CAN Message Control Field 3		*/
#define CAN_MBX3A	*(volatile unsigned int *)0x721C	/* CAN 2 of 8 Bytes of Mailbox 3	*/
#define CAN_MBX3B	*(volatile unsigned int *)0x721D	/* CAN 2 of 8 Bytes of Mailbox 3	*/
#define CAN_MBX3C	*(volatile unsigned int *)0x721E	/* CAN 2 of 8 Bytes of Mailbox 3	*/
#define CAN_MBX3D	*(volatile unsigned int *)0x721F	/* CAN 2 of 8 Bytes of Mailbox 3	*/

#define CAN_MSGID4L	*(volatile unsigned int *)0x7220	/* CAN Message ID for MB4 , low		*/
#define CAN_MSGID4H	*(volatile unsigned int *)0x7221	/* CAN Message ID for MB4 , high	*/
#define CAN_MSGCTRL4 *(volatile unsigned int *)0x7222	/* CAN Message Control Field 4		*/
#define CAN_MBX4A	*(volatile unsigned int *)0x7224	/* CAN 2 of 8 Bytes of Mailbox 4	*/
#define CAN_MBX4B	*(volatile unsigned int *)0x7225	/* CAN 2 of 8 Bytes of Mailbox 4	*/
#define CAN_MBX4C	*(volatile unsigned int *)0x7226	/* CAN 2 of 8 Bytes of Mailbox 4	*/
#define CAN_MBX4D	*(volatile unsigned int *)0x7227	/* CAN 2 of 8 Bytes of Mailbox 4	*/  

#define CAN_MSGID5L	*(volatile unsigned int *)0x7228	/* CAN Message ID for MB5 , low		*/
#define CAN_MSGID5H	*(volatile unsigned int *)0x7229	/* CAN Message ID for MB5 , high	*/
#define CAN_MSGCTRL5 *(volatile unsigned int *)0x722A	/* CAN Message Control Field 5		*/
#define CAN_MBX5A	*(volatile unsigned int *)0x722C	/* CAN 2 of 8 Bytes of Mailbox 5	*/
#define CAN_MBX5B	*(volatile unsigned int *)0x722D	/* CAN 2 of 8 Bytes of Mailbox 5	*/
#define CAN_MBX5C	*(volatile unsigned int *)0x722E	/* CAN 2 of 8 Bytes of Mailbox 5	*/
#define CAN_MBX5D	*(volatile unsigned int *)0x722F	/* CAN 2 of 8 Bytes of Mailbox 5	*/   

#define GPTCONA		*(volatile unsigned int *)0x7400    /* GP Timer Control Register EVA	*/
#define T1CNT		*(volatile unsigned int *)0x7401    /* GP Timer 1 Counter Register		*/
#define T1CMPR		*(volatile unsigned int *)0x7402  	/* GP Timer 1 Compare Register		*/
#define T1PR		*(volatile unsigned int *)0x7403    /* GP Timer 1 Period Register		*/
#define T1CON		*(volatile unsigned int *)0x7404    /* GP Timer 1 Control Register		*/
#define T2CNT		*(volatile unsigned int *)0x7405    /* GP Timer 2 Counter Register		*/
#define T2CMPR		*(volatile unsigned int *)0x7406    /* GP Timer 2 Compare Register		*/
#define T2PR		*(volatile unsigned int *)0x7407    /* GP Timer 2 Period Register		*/
#define T2CON		*(volatile unsigned int *)0x7408    /* GP Timer 2 Control Register		*/

#define COMCONA		*(volatile unsigned int *)0x7411    /* Compare Control Register	EVA		*/
#define ACTRA		*(volatile unsigned int *)0x7413    /* Full-Compare Action Register		*/
#define DBTCONA		*(volatile unsigned int *)0x7415 	/* Dead-Band Timer Control Register */
#define CMPR1		*(volatile unsigned int *)0x7417    /* Full Compare Unit Compare Register 1 */
#define CMPR2		*(volatile unsigned int *)0x7418    /* Full Compare Unit Compare Register 2 */
#define CMPR3		*(volatile unsigned int *)0x7419    /* Full Compare Unit Compare Register 3 */
#define CAPCONA		*(volatile unsigned int *)0x7420	/* Capture Control Register	EVA			*/
#define CAPFIFOA	*(volatile unsigned int *)0x7422	/* Capture FIFO Status Register EVA		*/
#define CAP1FIFO	*(volatile unsigned int *)0x7423 	/* Two-Level-Deep Capture FIFO Stack 1 	*/
#define CAP2FIFO	*(volatile unsigned int *)0x7424 	/* Two-Level-Deep Capture FIFO Stack 2 	*/
#define CAP3FIFO	*(volatile unsigned int *)0x7425 	/* Two-Level-Deep Capture FIFO Stack 3 	*/ 
#define CAP1FBOT	*(volatile unsigned int *)0x7427 	/* Capture 1 Bottom Stack Register	 */
#define CAP2FBOT	*(volatile unsigned int *)0x7428 	/* Capture 2 Bottom Stack Register	 */
#define CAP3FBOT	*(volatile unsigned int *)0x7429 	/* Capture 3 Bottom Stack Register	 */

#define EVAIMRA		*(volatile unsigned int *)0x742C    /* EVA Interrupt Mask Register A	*/
#define EVAIMRB		*(volatile unsigned int *)0x742D    /* EVA Interrupt Mask Register B	*/
#define EVAIMRC		*(volatile unsigned int *)0x742E    /* EVA Interrupt Mask Register C	*/
#define EVAIFRA		*(volatile unsigned int *)0x742F    /* EVA Interrupt Flag Register A	*/
#define EVAIFRB		*(volatile unsigned int *)0x7430    /* EVA Interrupt Flag Register B	*/
#define EVAIFRC		*(volatile unsigned int *)0x7431    /* EVA Interrupt Flag Register C	*/

#define GPTCONB		*(volatile unsigned int *)0x7500    /* GP Timer Control Register EVB	*/
#define T3CNT		*(volatile unsigned int *)0x7501    /* GP Timer 3 Counter Register		*/
#define T3CMPR		*(volatile unsigned int *)0x7502  	/* GP Timer 3 Compare Register		*/
#define T3PR		*(volatile unsigned int *)0x7503    /* GP Timer 3 Period Register		*/
#define T3CON		*(volatile unsigned int *)0x7504    /* GP Timer 3 Control Register		*/
#define T4CNT		*(volatile unsigned int *)0x7505    /* GP Timer 4 Counter Register		*/
#define T4CMPR		*(volatile unsigned int *)0x7506    /* GP Timer 4 Compare Register		*/
#define T4PR		*(volatile unsigned int *)0x7507    /* GP Timer 4 Period Register		*/
#define T4CON		*(volatile unsigned int *)0x7508    /* GP Timer 4 Control Register		*/

#define COMCONB		*(volatile unsigned int *)0x7511    /* Compare Control Register	EVB		*/
#define ACTRB		*(volatile unsigned int *)0x7513    /* Full-Compare Action Register EVB	*/
#define DBTCONB		*(volatile unsigned int *)0x7515 	/* Dead-Band Timer Control Register EVB */
#define CMPR4		*(volatile unsigned int *)0x7517    /* Full Compare Unit Compare Register 4 */
#define CMPR5		*(volatile unsigned int *)0x7518    /* Full Compare Unit Compare Register 5 */
#define CMPR6		*(volatile unsigned int *)0x7519    /* Full Compare Unit Compare Register 6 */
#define CAPCONB		*(volatile unsigned int *)0x7520	/* Capture Control Register EVB			*/
#define CAPFIFOB	*(volatile unsigned int *)0x7522	/* Capture FIFO Status Register EVB		*/
#define CAP4FIFO	*(volatile unsigned int *)0x7523 	/* Two-Level-Deep Capture FIFO Stack 4 */
#define CAP5FIFO	*(volatile unsigned int *)0x7524 	/* Two-Level-Deep Capture FIFO Stack 5 */
#define CAP6FIFO	*(volatile unsigned int *)0x7525 	/* Two-Level-Deep Capture FIFO Stack 6 */ 
#define CAP4FBOT	*(volatile unsigned int *)0x7527 	/* Capture 4 Bottom Stack Register	*/
#define CAP5FBOT	*(volatile unsigned int *)0x7528 	/* Capture 5 Bottom Stack Register	*/
#define CAP6FBOT	*(volatile unsigned int *)0x7529 	/* Capture 6 Bottom Stack Register	*/

#define EVBIMRA		*(volatile unsigned int *)0x752C    /* EVB Interrupt Mask Register A	*/
#define EVBIMRB		*(volatile unsigned int *)0x752D    /* EVB Interrupt Mask Register B	*/
#define EVBIMRC		*(volatile unsigned int *)0x752E    /* EVB Interrupt Mask Register C	*/
#define EVBIFRA		*(volatile unsigned int *)0x752F    /* EVB Interrupt Flag Register A	*/
#define EVBIFRB		*(volatile unsigned int *)0x7530    /* EVB Interrupt Flag Register B	*/
#define EVBIFRC		*(volatile unsigned int *)0x7531    /* EVB Interrupt Flag Register C	*/

/*--------------------------------------------------------------------------------------+		*/
/* I/O Space Mapped Registers						IO SPACE 0xffff	|		*/
/* -------------------------------------------------------------------------------------+		*/
ioport	unsigned	portFFFF;				/* Declare unsigned port 0xffff in I/O	*/
#define	WSGR				portFFFF		/* Define WSGR to point to ioport	*/

⌨️ 快捷键说明

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