首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

9s12 中断程序和中断向量如何联系

9s12 中断程序和中断向量如何联系

在mc9s12dp256.h中定义了中断向量
如下:
#define Vtimch7                 0x0000FFE0
#define Vtimch6                 0x0000FFE2
#define Vtimch5                 0x0000FFE4
#define Vtimch4                 0x0000FFE6
#define Vtimch3                 0x0000FFE8
#define Vtimch2                 0x0000FFEA
#define Vtimch1                 0x0000FFEC
#define Vtimch0                 0x0000FFEE
#define Vrti                    0x0000FFF0
#define Virq                    0x0000FFF2
#define Vxirq                   0x0000FFF4
#define Vswi                    0x0000FFF6
#define Vtrap                   0x0000FFF8
#define Vcop                    0x0000FFFA
#define Vclkmon                 0x0000FFFC
#define Vreset                  0x0000FFFE
在cv3.1中如何把中断程序和上面的中断向量联系起来,如有例程更好发给我,在下不胜感激,我的email是 wrui@crscd.com.cn
我用的是mc9s12dp256,freescale 的资料太少了,
hi  thank you for your help
谢谢 yunfeng strongchen.以后还要多请教你们了
hi  thank you for your help
返回列表