![]() |
|
||||||||||||||
| . 网站首页 . 新闻 . 新品 . 方案 . 专访 . 活动 . DSP . EDA . 评测室 . 技术文库 . 会员区 . 商城 . 服务导航 . 邮购 . 资源 . | ||
|
||
|
|||||
| DSP2407头文件和命令文件示例(2) | |||||
作者:61IC 文章来源:本站原创 点击数: 更新时间:2007-1-16 ![]() |
|||||
|
volatile unsigned int * CANBCR2 = (volatile unsigned int *) 0x7104; /* 位配置寄存器2*/ volatile unsigned int * CANBCR1 = (volatile unsigned int *) 0x7105; /* 位配置寄存器1*/ volatile unsigned int * CANESR = (volatile unsigned int *) 0x7106; /* 错误状态寄存器*/ volatile unsigned int * CANGSR = (volatile unsigned int *) 0x7107; /* 全局状态寄存器 */ volatile unsigned int * CANCEC = (volatile unsigned int *) 0x7108; /* CAN 错误计数寄存器*/ volatile unsigned int * CANIFR = (volatile unsigned int *) 0x7109; /* CAN 中断标志寄存器*/ volatile unsigned int * CANIMR = (volatile unsigned int *) 0x /* CAN 中断屏蔽寄存器 */ volatile unsigned int * CANLAM0H = (volatile unsigned int *) 0x710B; /* 局部接收屏蔽寄存器0 高位*/ volatile unsigned int * CANLAM /* 局部接收屏蔽寄存器0 低位*/ volatile unsigned int * CANLAM1H = (volatile unsigned int *) 0x710D; /* 局部接收屏蔽寄存器1 高位*/ volatile unsigned int * CANLAM /* 局部接收屏蔽寄存器1 低位*/ volatile unsigned int * CANMSGID /* 对于邮包0的信息标志符 低位 */ volatile unsigned int * CANMSGID0H = (volatile unsigned int *) 0x7201; /* 对于邮包0的信息标志符 高位 */ volatile unsigned int * CANMSGCTRL0= (volatile unsigned int *) 0x7202; /*对于邮包0的信息控制域*/ volatile unsigned int * CANMBX /* 邮包 volatile unsigned int * CANMBX0B =(volatile unsigned int *) 0x7205; /* 邮包0 B*/ volatile unsigned int * CANMBX /* 邮包 volatile unsigned int * CANMBX0D = (volatile unsigned int *) 0x7207; /* 邮包 0 D*/ volatile unsigned int * CANMSGID /* 对于邮包1的信息标志符 低位 */ volatile unsigned int * CANMSGID1H = (volatile unsigned int *) 0x7209; /* 对于邮包1的信息标志符 高位 */ volatile unsigned int * CANMSGCTRL1= (volatile unsigned int *) 0x /*对于邮包1的信息控制域*/ volatile unsigned int * CANMBX /*邮包 volatile unsigned int * CANMBX1B = (volatile unsigned int *) 0x720D; /* 邮包 1 B*/ volatile unsigned int * CANMBX /* 邮包 volatile unsigned int * CANMBX1D = (volatile unsigned int *) 0x /* 邮包 1 D*/ volatile unsigned int * CANMSGID /* 对于邮包2的信息标志符 低位 */ volatile unsigned int * CANMSGID2H = (volatile unsigned int *) 0x7211; /* 对于邮包2的信息标志符 高位 */ volatile unsigned int * CANMSGCTRL2 = (volatile unsigned int *) 0x7212; /*对于邮包2的信息控制域*/ volatile unsigned int * CANMBX /* 邮包 volatile unsigned int * CANMBX2B = (volatile unsigned int *) 0x7215; /*邮包2 B*/ volatile unsigned int * CANMBX /*邮包 volatile unsigned int * CANMBX2D = (volatile unsigned int *) 0x7217; /*邮包2 D*/ volatile unsigned int * CANMSGID /* 对于邮包3的信息标志符 低位 */ volatile unsigned int * CANMSGID3H = (volatile unsigned int *) 0x7219; /* 对于邮包3的信息标志符 高位 */ volatile unsigned int * CANMSGCTRL3 = (volatile unsigned int *) 0x /*对于邮包3的信息控制域*/ volatile unsigned int * CANMBX /* 邮包 volatile unsigned int * CANMBX3B = (volatile unsigned int *) 0x721D; /* 邮包 3 B*/ volatile unsigned int * CANMBX /* 邮包 volatile unsigned int * CANMBX3D =(volatile unsigned int *) 0x /* 邮包 3 D*/ volatile unsigned int * CANMSGID /* 对于邮包4的信息标志符 低位 */ volatile unsigned int * CANMSGID4H = (volatile unsigned int *) 0x7221; /* 对于邮包4的信息标志符 高位 */ volatile unsigned int * CANMSGCTRL4= (volatile unsigned int *) 0x7222; /*对于邮包4的信息控制域*/ volatile unsigned int * CANMBX /* 邮包 volatile unsigned int * CANMBX4B = (volatile unsigned int *) 0x7225; /* 邮包 4 B*/ volatile unsigned int * CANMBX /* 邮包 volatile unsigned int * CANMBX4D = (volatile unsigned int *) 0x7227; /* 邮包 4 D*/ volatile unsigned int * CANMSGID /* 对于邮包5的信息标志符 低位 */ volatile unsigned int * CANMSGID5H = (volatile unsigned int *) 0x7229; /* 对于邮包5的信息标志符 高位 */ volatile unsigned int * CANMSGCTRL5 = (volatile unsigned int *) 0x /*对于邮包5的信息控制域*/ volatile unsigned int * CANMBX /* 邮包 volatile unsigned int * CANMBX5B = (volatile unsigned int *) 0x722D; /* 邮包 5 B*/ volatile unsigned int * CANMBX /* 邮包 volatile unsigned int * CANMBX5D = (volatile unsigned int *) 0x /*邮包5 D*/ /*事件管理器 (EV)/ 事件管理器 A (EVA) 寄存器 ;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ volatile unsigned int * GPTCONA = (volatile unsigned int *) 0x7400; /* 通用定时器控制寄存器*/ volatile unsigned int * T1CNT = (volatile unsigned int *) 0x7401; /* T1 计数器*/ volatile unsigned int * T1CMP = (volatile unsigned int *) 0x7402; /* T1 比较值寄存器*/ volatile unsigned int * T1PER = (volatile unsigned int *) 0x7403; /* T1 周期寄存器*/ volatile unsigned int * T1CON = (volatile unsigned int *) 0x7404; /* T1 控制寄存器*/ volatile unsigned int * T2CNT = (volatile unsigned int *) 0x7405; /* T2 计数器*/ volatile unsigned int * T2CMP = (volatile unsigned int *) 0x7406; /* T2 比较值寄存器*/ volatile unsigned int * T2PER = (volatile unsigned int *) 0x7407; /* T2 周期寄存器*/ volatile unsigned int * T2CON = (volatile unsigned int *) 0x7408; /* T2 控制寄存器*/ volatile unsigned int * COMCONA = (volatile unsigned int *) 0x7411; /* 比较控制寄存器*/ volatile unsigned int * ACTRA = (volatile unsigned int *) 0x7413; /* 比较输出动作控制寄存器*/ volatile unsigned int * DBTCONA = (volatile unsigned int *) 0x7415; /* 死区控制寄存器*/ volatile unsigned int * CMPR1 = (volatile unsigned int *) 0x7417; /* 比较值1*/ volatile unsigned int * CMPR2 = (volatile unsigned int *) 0x7418; /* 比较值2*/ volatile unsigned int * CMPR3 = (volatile unsigned int *) 0x7419; /* 比较值3*/ volatile unsigned int * CAPCONA = (volatile unsigned int *) 0x7420; /* 捕捉控制寄存器*/ volatile unsigned int * CAPFIFOA = (volatile unsigned int *) 0x7422; /* 捕捉 FIFO A 状态寄存器*/ volatile unsigned int * CAP1FIFO = (volatile unsigned int *) 0x7423; /* 捕捉1 FIFO 顶部*/ volatile unsigned int * CAP2FIFO = (volatile unsigned int *) 0x7424; /* 捕捉 2 FIFO 顶部*/ volatile unsigned int * CAP3FIFO = (volatile unsigned int *) 0x7425; /* 捕捉 3 FIFO 顶部*/ volatile unsigned int * CAP1FBOT = (volatile unsigned int *) 0x7427; /* 捕捉 1 FIFO 底部 */ volatile unsigned int * CAP2FBOT = (volatile unsigned int *) 0x7428; /* 捕捉 2 FIFO 底部 */ volatile unsigned int * CAP3FBOT = (volatile unsigned int *) 0x7429; /* 捕捉 2 FIFO 底部 */ volatile unsigned int * EVAIMRA = (volatile unsigned int *) 0x /* EVA 中断屏蔽寄存器 A*/ volatile unsigned int * EVAIMRB = (volatile unsigned int *) 0x742D; /* EVA中断屏蔽寄存器 B*/ volatile unsigned int * EVAIMRC = (volatile unsigned int *) 0x742E; /* EVA 中断屏蔽寄存器 C*/ volatile unsigned int * EVAIFRA = (volatile unsigned int *) 0x /* EVA中断标志寄存器 A*/ volatile unsigned int * EVAIFRB = (volatile unsigned int *) 0x7430; /* EVA 中断标志寄存器 B*/ volatile unsigned int * EVAIFRC = (volatile unsigned int *) 0x7431; /* EVA中断标志寄存器 C*/ /*事件管理器 B (EVB) 寄存器 ;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ volatile unsigned int * GPTCONB = (volatile unsigned int *) 0x7500; /*通用定时器控制寄存器*/ volatile unsigned int * T3CNT = (volatile unsigned int *) 0x7501; /* T3计数器*/ volatile unsigned int * T3CMP = (volatile unsigned int *) 0x7502; /* T3比较值寄存器*/ volatile unsigned int * T3PER = (volatile unsigned int *) 0x7503; /* T3周期寄存器*/ volatile unsigned int * T3CON = (volatile unsigned int *) 0x7504; /* T3控制寄存器*/ volatile unsigned int * T4CNT = (volatile unsigned int *) 0x7505; /* T4计数器*/ volatile unsigned int * T4CMP = (volatile unsigned int *) 0x7506; /* T4比较值寄存器*/ volatile unsigned int * T4PER = (volatile unsigned int *) 0x7507; /* T4周期寄存器*/ volatile unsigned int * T4CON = (volatile unsigned int *) 0x7508; /* T4控制寄存器*/ volatile unsigned int * COMCONB = (volatile unsigned int *) 0x7511; /*比较控制寄存器*/ volatile unsigned int * ACTRB = (volatile unsigned int *) 0x7513; /*比较输出动作控制寄存器*/ |
|||||
| 欢迎点击进入:TI德州中文网 (国内唯一针对TI应用的中文技术网站) 文章录入:admin 责任编辑:admin | |||||
| 【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 | |||||
| 网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!) |
| | 设为首页 | 加入收藏 | 联系站长 | 友情链接 | 版权申明 | 网站公告 | 管理登录 | | |||
|
|