以下是MC9S12XET256.h文件里的中断向量号
#define VectorNumber_Vsi 119
#define VectorNumber_Vsyscall 118
#define VectorNumber_Vmpuaccesserr 117
#define VectorNumber_Vxsei 116
#define VectorNumber_VReserved115 115
#define VectorNumber_VReserved114 114
#define VectorNumber_VReserved113 113
#define VectorNumber_VReserved112 112
#define VectorNumber_VReserved111 111
#define VectorNumber_VReserved110 110
#define VectorNumber_VReserved109 109
#define VectorNumber_VReserved108 108
#define VectorNumber_VReserved107 107
#define VectorNumber_VReserved106 106
#define VectorNumber_VReserved105 105
#define VectorNumber_VReserved104 104
#define VectorNumber_VReserved103 103
#define VectorNumber_VReserved102 102
#define VectorNumber_VReserved101 101
#define VectorNumber_VReserved100 100
#define VectorNumber_VReserved99 99
#define VectorNumber_VReserved98 98
#define VectorNumber_Vatd1compare 97
#define VectorNumber_Vatd0compare 96
#define VectorNumber_VReserved95 95
#define VectorNumber_VReserved94 94
#define VectorNumber_VReserved93 93
#define VectorNumber_VReserved92 92
#define VectorNumber_VReserved91 91
#define VectorNumber_VReserved90 90
#define VectorNumber_VReserved89 89
#define VectorNumber_VReserved88 88
#define VectorNumber_VReserved87 87
#define VectorNumber_VReserved86 86
#define VectorNumber_VReserved85 85
#define VectorNumber_VReserved84 84
#define VectorNumber_VReserved83 83
#define VectorNumber_VReserved82 82
#define VectorNumber_VReserved81 81
#define VectorNumber_VReserved80 80
#define VectorNumber_VReserved79 79
#define VectorNumber_VReserved78 78
#define VectorNumber_Vxst7 77
#define VectorNumber_Vxst6 76
#define VectorNumber_Vxst5 75
#define VectorNumber_Vxst4 74
#define VectorNumber_Vxst3 73
#define VectorNumber_Vxst2 72
#define VectorNumber_Vxst1 71
#define VectorNumber_Vxst0 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_Vsci5 61
#define VectorNumber_Vsci4 60
#define VectorNumber_Vsci3 59
#define VectorNumber_Vsci2 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_Vcan1tx 43
#define VectorNumber_Vcan1rx 42
#define VectorNumber_Vcan1err 41
#define VectorNumber_Vcan1wkup 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_Vspi2 33
#define VectorNumber_Vspi1 32
#define VectorNumber_Viic0 31
#define VectorNumber_Vsci6 30
#define VectorNumber_Vcrgscm 29
#define VectorNumber_Vcrgplllck 28
#define VectorNumber_Vectpabovf 27
#define VectorNumber_Vectmdcu 26
#define VectorNumber_Vporth 25
#define VectorNumber_Vportj 24
#define VectorNumber_Vatd1 23
#define VectorNumber_Vatd0 22
#define VectorNumber_VSCI5 21
#define VectorNumber_Vsci0 20
#define VectorNumber_Vspi0 19
#define VectorNumber_Vectpaie 18
#define VectorNumber_Vectpaaovf 17
#define VectorNumber_Vectovf 16
#define VectorNumber_Vectch7 15
#define VectorNumber_Vectch6 14
#define VectorNumber_Vectch5 13
#define VectorNumber_Vectch4 12
#define VectorNumber_Vectch3 11
#define VectorNumber_Vectch2 10
#define VectorNumber_Vectch1 9
#define VectorNumber_Vectch0 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
串口0中断号是20,那这个是接收中断还是发送中断呢? |