飞思卡尔9S12XS128单片机的中断向量和中断号,在芯片手册里怎么查询?

 我来答
百度网友8301212
推荐于2016-06-20 · TA获得超过581个赞
知道小有建树答主
回答量:88
采纳率:0%
帮助的人:81.5万
展开全部
工程下面有个文件夹“Includes”,里面包含文件“mc9s12xs128.h”。把这个文件打开,往下拉一点就能看到中断号的定义“/**************** interrupt vector numbers ****************/”

我把它复制下来吧,供你参考:

/**************** interrupt vector numbers ****************/
#define VectorNumber_Vsi 119
#define VectorNumber_Vsyscall 118
#define VectorNumber_VReserved118 117
#define VectorNumber_VReserved117 116
#define VectorNumber_VReserved116 115
#define VectorNumber_VReserved115 114
#define VectorNumber_VReserved114 113
#define VectorNumber_VReserved113 112
#define VectorNumber_VReserved112 111
#define VectorNumber_VReserved111 110
#define VectorNumber_VReserved110 109
#define VectorNumber_VReserved109 108
#define VectorNumber_VReserved108 107
#define VectorNumber_VReserved107 106
#define VectorNumber_VReserved106 105
#define VectorNumber_VReserved105 104
#define VectorNumber_VReserved104 103
#define VectorNumber_VReserved103 102
#define VectorNumber_VReserved102 101
#define VectorNumber_VReserved101 100
#define VectorNumber_VReserved100 99
#define VectorNumber_VReserved99 98
#define VectorNumber_VReserved98 97
#define VectorNumber_Vatd0compare 96
#define VectorNumber_VReserved96 95
#define VectorNumber_VReserved95 94
#define VectorNumber_VReserved94 93
#define VectorNumber_VReserved93 92
#define VectorNumber_VReserved92 91
#define VectorNumber_VReserved91 90
#define VectorNumber_VReserved90 89
#define VectorNumber_VReserved89 88
#define VectorNumber_VReserved88 87
#define VectorNumber_VReserved87 86
#define VectorNumber_VReserved86 85
#define VectorNumber_VReserved85 84
#define VectorNumber_VReserved84 83
#define VectorNumber_VReserved83 82
#define VectorNumber_VReserved82 81
#define VectorNumber_VReserved81 80
#define VectorNumber_VReserved79 79
#define VectorNumber_VReserved78 78
#define VectorNumber_VReserved77 77
#define VectorNumber_VReserved76 76
#define VectorNumber_VReserved75 75
#define VectorNumber_VReserved74 74
#define VectorNumber_VReserved73 73
#define VectorNumber_VReserved72 72
#define VectorNumber_VReserved71 71
#define VectorNumber_VReserved70 70
#define VectorNumber_Vpit3 69
#define VectorNumber_Vpit2 68
#define VectorNumber_Vpit1 67
#define VectorNumber_Vpit0 66
#define VectorNumber_Vhti 65
#define VectorNumber_Vapi 64
#define VectorNumber_Vlvi 63
#define VectorNumber_VReserved62 62
#define VectorNumber_VReserved61 61
#define VectorNumber_VReserved60 60
#define VectorNumber_VReserved59 59
#define VectorNumber_VReserved58 58
#define VectorNumber_Vpwmesdn 57
#define VectorNumber_Vportp 56
#define VectorNumber_VReserved55 55
#define VectorNumber_VReserved54 54
#define VectorNumber_VReserved53 53
#define VectorNumber_VReserved52 52
#define VectorNumber_VReserved51 51
#define VectorNumber_VReserved50 50
#define VectorNumber_VReserved49 49
#define VectorNumber_VReserved48 48
#define VectorNumber_VReserved47 47
#define VectorNumber_VReserved46 46
#define VectorNumber_VReserved45 45
#define VectorNumber_VReserved44 44
#define VectorNumber_VReserved43 43
#define VectorNumber_VReserved42 42
#define VectorNumber_VReserved41 41
#define VectorNumber_VReserved40 40
#define VectorNumber_Vcan0tx 39
#define VectorNumber_Vcan0rx 38
#define VectorNumber_Vcan0err 37
#define VectorNumber_Vcan0wkup 36
#define VectorNumber_Vflash 35
#define VectorNumber_Vflashfd 34
#define VectorNumber_VReserved33 33
#define VectorNumber_VReserved32 32
#define VectorNumber_VReserved31 31
#define VectorNumber_VReserved30 30
#define VectorNumber_Vcrgscm 29
#define VectorNumber_Vcrgplllck 28
#define VectorNumber_VReserved27 27
#define VectorNumber_VReserved26 26
#define VectorNumber_Vporth 25
#define VectorNumber_Vportj 24
#define VectorNumber_VReserved23 23
#define VectorNumber_Vatd0 22
#define VectorNumber_Vsci1 21
#define VectorNumber_Vsci0 20
#define VectorNumber_Vspi0 19
#define VectorNumber_Vtimpaie 18
#define VectorNumber_Vtimpaaovf 17
#define VectorNumber_Vtimovf 16
#define VectorNumber_Vtimch7 15
#define VectorNumber_Vtimch6 14
#define VectorNumber_Vtimch5 13
#define VectorNumber_Vtimch4 12
#define VectorNumber_Vtimch3 11
#define VectorNumber_Vtimch2 10
#define VectorNumber_Vtimch1 9
#define VectorNumber_Vtimch0 8
#define VectorNumber_Vrti 7
#define VectorNumber_Virq 6
#define VectorNumber_Vxirq 5
#define VectorNumber_Vswi 4
#define VectorNumber_Vtrap 3
#define VectorNumber_Vcop 2
#define VectorNumber_Vclkmon 1
#define VectorNumber_Vreset 0
优视嵌入执法记录仪智能安全帽
推荐于2016-01-04 · 超过46用户采纳过TA的回答
知道小有建树答主
回答量:186
采纳率:100%
帮助的人:53.7万
展开全部
一般都是exception的章节里面,或者看BSP代码相关的.h里面看那些宏即可。
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
wodesanmaoqian
2011-10-24 · TA获得超过152个赞
知道答主
回答量:103
采纳率:0%
帮助的人:56.5万
展开全部
第一章,1.6Resets and Interrupts
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
出群W
2011-10-23 · TA获得超过653个赞
知道小有建树答主
回答量:450
采纳率:100%
帮助的人:307万
展开全部
嗯 楼上那位列出的那个文件 里面的#define 就是了
不过你要看懂里面的名字的意思 像SCI PIT SPI CAN PORT 那些
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
战艺M
2011-10-23 · TA获得超过127个赞
知道答主
回答量:608
采纳率:0%
帮助的人:166万
展开全部
32132321312
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 3条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式