IER和IFR在CCS中的定义.doc
《IER和IFR在CCS中的定义.doc》由会员分享,可在线阅读,更多相关《IER和IFR在CCS中的定义.doc(2页珍藏版)》请在三一办公上搜索。
1、IER和IFR在CCS中的定义看源程序(TMS320F2812)的时候在main函数中看到这样一段:/ Disable and clear all CPU interrupts:DINT;IER = 0x0000;IFR = 0x0000;就想看看这个IER和IFR的地址,结果找来找去都找不到,只在Device.h中有这样两段:extern cregister volatile unsigned int IFR;extern cregister volatile unsigned int IER;就感觉很奇怪呀,没有地址怎么操作呀?所以上网查了查,才知道答案了。在官方资料中(TMS320C28
2、x Optimizing C/C+ Compiler.pdf)中有这样的说明:The compiler extends the C/C+ language by adding the cregister keyword to allow high level language access to control registers.When you use the cregister keyword on an object, the compiler compares the name of the object to a list of standard control registers
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- IER IFR CCS 中的 定义
![提示](https://www.31ppt.com/images/bang_tan.gif)
链接地址:https://www.31ppt.com/p-3900132.html