智能车制作
标题:
关于中断号是怎么对应的,谢谢
[打印本页]
作者:
fanfankaka123
时间:
2011-2-12 00:22
标题:
关于中断号是怎么对应的,谢谢
写程序的时候参考一本书,IC/OC通道0的中断号是9,可参考别人的程序的时候好像是8,自己试了一下 好像确实是8.请问下,中断号是怎么对应的。。。
作者:
少林旋龟
时间:
2011-2-12 00:22
看mc9s12xs128.h
/**************** interrupt vector numbers ****************/
#define VectorNumber_Vsi 119U
#define VectorNumber_Vsyscall 118U
#define VectorNumber_VReserved118 117U
#define VectorNumber_VReserved117 116U
#define VectorNumber_VReserved116 115U
#define VectorNumber_VReserved115 114U
#define VectorNumber_VReserved114 113U
#define VectorNumber_VReserved113 112U
#define VectorNumber_VReserved112 111U
#define VectorNumber_VReserved111 110U
#define VectorNumber_VReserved110 109U
#define VectorNumber_VReserved109 108U
#define VectorNumber_VReserved108 107U
#define VectorNumber_VReserved107 106U
#define VectorNumber_VReserved106 105U
#define VectorNumber_VReserved105 104U
#define VectorNumber_VReserved104 103U
#define VectorNumber_VReserved103 102U
#define VectorNumber_VReserved102 101U
#define VectorNumber_VReserved101 100U
#define VectorNumber_VReserved100 99U
#define VectorNumber_VReserved99 98U
#define VectorNumber_VReserved98 97U
#define VectorNumber_Vatd0compare 96U
#define VectorNumber_VReserved96 95U
#define VectorNumber_VReserved95 94U
#define VectorNumber_VReserved94 93U
#define VectorNumber_VReserved93 92U
#define VectorNumber_VReserved92 91U
#define VectorNumber_VReserved91 90U
#define VectorNumber_VReserved90 89U
#define VectorNumber_VReserved89 88U
#define VectorNumber_VReserved88 87U
#define VectorNumber_VReserved87 86U
#define VectorNumber_VReserved86 85U
#define VectorNumber_VReserved85 84U
#define VectorNumber_VReserved84 83U
#define VectorNumber_VReserved83 82U
#define VectorNumber_VReserved82 81U
#define VectorNumber_VReserved81 80U
#define VectorNumber_VReserved79 79U
#define VectorNumber_VReserved78 78U
#define VectorNumber_VReserved77 77U
#define VectorNumber_VReserved76 76U
#define VectorNumber_VReserved75 75U
#define VectorNumber_VReserved74 74U
#define VectorNumber_VReserved73 73U
#define VectorNumber_VReserved72 72U
#define VectorNumber_VReserved71 71U
#define VectorNumber_VReserved70 70U
#define VectorNumber_Vpit3 69U
#define VectorNumber_Vpit2 68U
#define VectorNumber_Vpit1 67U
#define VectorNumber_Vpit0 66U
#define VectorNumber_Vhti 65U
#define VectorNumber_Vapi 64U
#define VectorNumber_Vlvi 63U
#define VectorNumber_VReserved62 62U
#define VectorNumber_VReserved61 61U
#define VectorNumber_VReserved60 60U
#define VectorNumber_VReserved59 59U
#define VectorNumber_VReserved58 58U
#define VectorNumber_Vpwmesdn 57U
#define VectorNumber_Vportp 56U
#define VectorNumber_VReserved55 55U
#define VectorNumber_VReserved54 54U
#define VectorNumber_VReserved53 53U
#define VectorNumber_VReserved52 52U
#define VectorNumber_VReserved51 51U
#define VectorNumber_VReserved50 50U
#define VectorNumber_VReserved49 49U
#define VectorNumber_VReserved48 48U
#define VectorNumber_VReserved47 47U
#define VectorNumber_VReserved46 46U
#define VectorNumber_VReserved45 45U
#define VectorNumber_VReserved44 44U
#define VectorNumber_VReserved43 43U
#define VectorNumber_VReserved42 42U
#define VectorNumber_VReserved41 41U
#define VectorNumber_VReserved40 40U
#define VectorNumber_Vcan0tx 39U
#define VectorNumber_Vcan0rx 38U
#define VectorNumber_Vcan0err 37U
#define VectorNumber_Vcan0wkup 36U
#define VectorNumber_Vflash 35U
#define VectorNumber_Vflashfd 34U
#define VectorNumber_VReserved33 33U
#define VectorNumber_VReserved32 32U
#define VectorNumber_VReserved31 31U
#define VectorNumber_VReserved30 30U
#define VectorNumber_Vcrgscm 29U
#define VectorNumber_Vcrgplllck 28U
#define VectorNumber_VReserved27 27U
#define VectorNumber_VReserved26 26U
#define VectorNumber_Vporth 25U
#define VectorNumber_Vportj 24U
#define VectorNumber_VReserved23 23U
#define VectorNumber_Vatd0 22U
#define VectorNumber_Vsci1 21U
#define VectorNumber_Vsci0 20U
#define VectorNumber_Vspi0 19U
#define VectorNumber_Vtimpaie 18U
#define VectorNumber_Vtimpaaovf 17U
#define VectorNumber_Vtimovf 16U
#define VectorNumber_Vtimch7 15U
#define VectorNumber_Vtimch6 14U
#define VectorNumber_Vtimch5 13U
#define VectorNumber_Vtimch4 12U
#define VectorNumber_Vtimch3 11U
#define VectorNumber_Vtimch2 10U
#define VectorNumber_Vtimch1 9U
#define VectorNumber_Vtimch0 8U
#define VectorNumber_Vrti 7U
#define VectorNumber_Virq 6U
#define VectorNumber_Vxirq 5U
#define VectorNumber_Vswi 4U
#define VectorNumber_Vtrap 3U
#define VectorNumber_Vcop 2U
#define VectorNumber_Vclkmon 1U
#define VectorNumber_Vreset 0U
作者:
小灰灰
时间:
2011-2-12 08:24
同求
作者:
少林旋龟
时间:
2011-2-12 16:29
看mc9s12xs128.h
/**************** interrupt vector numbers ****************/
#define VectorNumber_Vsi 119U
#define VectorNumber_Vsyscall 118U
#define VectorNumber_VReserved118 117U
#define VectorNumber_VReserved117 116U
#define VectorNumber_VReserved116 115U
#define VectorNumber_VReserved115 114U
#define VectorNumber_VReserved114 113U
#define VectorNumber_VReserved113 112U
#define VectorNumber_VReserved112 111U
#define VectorNumber_VReserved111 110U
#define VectorNumber_VReserved110 109U
#define VectorNumber_VReserved109 108U
#define VectorNumber_VReserved108 107U
#define VectorNumber_VReserved107 106U
#define VectorNumber_VReserved106 105U
#define VectorNumber_VReserved105 104U
#define VectorNumber_VReserved104 103U
#define VectorNumber_VReserved103 102U
#define VectorNumber_VReserved102 101U
#define VectorNumber_VReserved101 100U
#define VectorNumber_VReserved100 99U
#define VectorNumber_VReserved99 98U
#define VectorNumber_VReserved98 97U
#define VectorNumber_Vatd0compare 96U
#define VectorNumber_VReserved96 95U
#define VectorNumber_VReserved95 94U
#define VectorNumber_VReserved94 93U
#define VectorNumber_VReserved93 92U
#define VectorNumber_VReserved92 91U
#define VectorNumber_VReserved91 90U
#define VectorNumber_VReserved90 89U
#define VectorNumber_VReserved89 88U
#define VectorNumber_VReserved88 87U
#define VectorNumber_VReserved87 86U
#define VectorNumber_VReserved86 85U
#define VectorNumber_VReserved85 84U
#define VectorNumber_VReserved84 83U
#define VectorNumber_VReserved83 82U
#define VectorNumber_VReserved82 81U
#define VectorNumber_VReserved81 80U
#define VectorNumber_VReserved79 79U
#define VectorNumber_VReserved78 78U
#define VectorNumber_VReserved77 77U
#define VectorNumber_VReserved76 76U
#define VectorNumber_VReserved75 75U
#define VectorNumber_VReserved74 74U
#define VectorNumber_VReserved73 73U
#define VectorNumber_VReserved72 72U
#define VectorNumber_VReserved71 71U
#define VectorNumber_VReserved70 70U
#define VectorNumber_Vpit3 69U
#define VectorNumber_Vpit2 68U
#define VectorNumber_Vpit1 67U
#define VectorNumber_Vpit0 66U
#define VectorNumber_Vhti 65U
#define VectorNumber_Vapi 64U
#define VectorNumber_Vlvi 63U
#define VectorNumber_VReserved62 62U
#define VectorNumber_VReserved61 61U
#define VectorNumber_VReserved60 60U
#define VectorNumber_VReserved59 59U
#define VectorNumber_VReserved58 58U
#define VectorNumber_Vpwmesdn 57U
#define VectorNumber_Vportp 56U
#define VectorNumber_VReserved55 55U
#define VectorNumber_VReserved54 54U
#define VectorNumber_VReserved53 53U
#define VectorNumber_VReserved52 52U
#define VectorNumber_VReserved51 51U
#define VectorNumber_VReserved50 50U
#define VectorNumber_VReserved49 49U
#define VectorNumber_VReserved48 48U
#define VectorNumber_VReserved47 47U
#define VectorNumber_VReserved46 46U
#define VectorNumber_VReserved45 45U
#define VectorNumber_VReserved44 44U
#define VectorNumber_VReserved43 43U
#define VectorNumber_VReserved42 42U
#define VectorNumber_VReserved41 41U
#define VectorNumber_VReserved40 40U
#define VectorNumber_Vcan0tx 39U
#define VectorNumber_Vcan0rx 38U
#define VectorNumber_Vcan0err 37U
#define VectorNumber_Vcan0wkup 36U
#define VectorNumber_Vflash 35U
#define VectorNumber_Vflashfd 34U
#define VectorNumber_VReserved33 33U
#define VectorNumber_VReserved32 32U
#define VectorNumber_VReserved31 31U
#define VectorNumber_VReserved30 30U
#define VectorNumber_Vcrgscm 29U
#define VectorNumber_Vcrgplllck 28U
#define VectorNumber_VReserved27 27U
#define VectorNumber_VReserved26 26U
#define VectorNumber_Vporth 25U
#define VectorNumber_Vportj 24U
#define VectorNumber_VReserved23 23U
#define VectorNumber_Vatd0 22U
#define VectorNumber_Vsci1 21U
#define VectorNumber_Vsci0 20U
#define VectorNumber_Vspi0 19U
#define VectorNumber_Vtimpaie 18U
#define VectorNumber_Vtimpaaovf 17U
#define VectorNumber_Vtimovf 16U
#define VectorNumber_Vtimch7 15U
#define VectorNumber_Vtimch6 14U
#define VectorNumber_Vtimch5 13U
#define VectorNumber_Vtimch4 12U
#define VectorNumber_Vtimch3 11U
#define VectorNumber_Vtimch2 10U
#define VectorNumber_Vtimch1 9U
#define VectorNumber_Vtimch0 8U
#define VectorNumber_Vrti 7U
#define VectorNumber_Virq 6U
#define VectorNumber_Vxirq 5U
#define VectorNumber_Vswi 4U
#define VectorNumber_Vtrap 3U
#define VectorNumber_Vcop 2U
#define VectorNumber_Vclkmon 1U
#define VectorNumber_Vreset 0U
作者:
I08690127
时间:
2011-2-15 11:50
#define VectorNumber_Vtimch0 8U
作者:
bhwxl
时间:
2011-2-15 23:49
是不是单片机型号不一样?具体查头文件
作者:
sunhao11
时间:
2011-2-17 22:05
顶四楼的,可以在MC9s12xs128.h里找到相应的地址和中断向量号。
作者:
梦境梧桐
时间:
2011-4-4 21:44
学习了 谢谢
作者:
诗雨依然
时间:
2011-4-23 17:42
疑惑中
作者:
薛耳首
时间:
2011-4-25 17:12
本商行是厂家直接订货加工生产香烟,
电话13560495973 ;qq1319224214
中华(硬盒) 200元/条
中华(软盒) 220元/条
云南省各品牌香烟
玉溪 (金装) 90元/条
玉溪 (硬盒) 90元/条
玉溪 (软盒) 100元/条
红塔山(软) 40元/条
红塔山(世纪) 40元/条
江苏省各品牌香烟
红南京 50/元
南京(精品) 100元/条
浙江省各品牌香烟
利群(硬盒) 50元/条
利群(软盒) 55元/条
广东省各品牌香烟
五叶神(硬盒) 55元/条
五叶神(红色硬盒) 75元/条
好日子(硬盒) 35元/条
好日子(软盒) 35元/条
广州红双喜(软 35元/条
广州红双喜(盒包装) 40元/条
广州精典红双喜(软 60元/条
广州精典红双喜(盒包装) 65元/条
湖南省各品牌香烟
芙蓉王(硬盒) 90元/条
芙蓉王(软包装) 95元/条
芙蓉王(至尊) 120元/条
白沙(精品硬盒) 35元/条
芙蓉王.(黄硬盒) .....................90元
黄鹤楼.(1916硬盒.软包) 木制条盒......230元
黄鹤楼.(漫天游硬盒.软包) 木制条盒....200元
苏烟.(金砂软包) .....................120元
玉溪.(硬盒.软包) ....................80元
云烟.(特制珍品硬盒.软包) ............80元
南京.九五之尊 木制条盒 .... .........180元
和天下.(硬盒) 木制条盒 .... .........180元
芙蓉王.(钻石)木制条盒................180元
南京.九五之尊 木制条盒(真烟接支).....300元
和天下.(硬盒) 木制条盒(真烟接支).....300元
芙蓉王.(钻石)木制条盒 (真烟接支).....200元
本仓库货齐全.质量绝对保证,欢迎有诚意的商家来电洽谈!香烟的质量关键在于包装和口感质量。我处系列名烟,全部按照烟草烟丝调制:烟丝金黄光泽,无刺激味.入喉醇和,品吸时顺畅饱满,烟灰白且收缩,是我烟最大优点。价格方面相当优惠.样品二条起邮,绝对的信誉,绝对的质量!诚意寻求有实力的商家来电洽谈!(只求低价格不求高质量的
电话;13560495973
作者:
什么你说
时间:
2012-3-25 15:48
中断向量表在头文件中吗?
欢迎光临 智能车制作 (http://dns.znczz.com/)
Powered by Discuz! X3.2