智能车制作
标题:
中断标号
[打印本页]
作者:
而而非无人
时间:
2011-4-9 16:16
标题:
中断标号
在ETC中设中断函数时用interrupt 66 66指的是中断标号,但他只是一个口的中断,我想设置其他口的中断,但不知怎么查中断标号,中断向量表我还不明白里面的含义,求指教,最好写上几个标号,我来直接用就好了,不胜感激
作者:
long_road
时间:
2011-4-13 20:15
mc9s12xs128.h里面有中断向量表,你在里面找到中断号是66的标号对应的,其他的中断口也可以在那里面找到。那个表大概在201行吧~
作者:
1065400208
时间:
2011-5-29 01:42
#define VectorNumber_VReserved63 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_Vcan4tx 55
#define VectorNumber_Vcan4rx 54
#define VectorNumber_Vcan4err 53
#define VectorNumber_Vcan4wkup 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_Veeprom 34
#define VectorNumber_VReserved33 33
#define VectorNumber_Vspi1 32
#define VectorNumber_Viic 31
#define VectorNumber_VReserved30 30
#define VectorNumber_Vcrgscm 29
#define VectorNumber_Vcrgplllck 28
#define VectorNumber_Vtimpabovf 27
#define VectorNumber_Vtimmdcu 26
#define VectorNumber_Vporth 25
#define VectorNumber_Vportj 24
#define VectorNumber_Vatd1 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
作者:
xlfd1
时间:
2011-8-15 21:57
mc9s12xs128.h里面有中断向量表,你在里面找到中断号是66的标号对应的,其他的中断口也可以在那里面找到。那 ...
long_road 发表于 2011-4-13 20:15
非常感谢。记得到哪一行,让我一下子找到了。之前面对这个一万多行的代码的文件,有点汗颜。
欢迎光临 智能车制作 (http://111.231.132.190/)
Powered by Discuz! X3.2