teensy-3-6-interrupt-vectors.s 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. @———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
  2. @ INTERRUPT VECTORS
  3. @———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
  4. .syntax unified
  5. .cpu cortex-m4
  6. .thumb
  7. @———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
  8. .section isr.vectors, "a", %progbits
  9. @———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
  10. .word __system_stack_end
  11. @--- ARM Core System Handler Vectors
  12. .word reset.handler @ 1
  13. .word interrupt.NMI @ 2
  14. .word interrupt.HardFault @ 3
  15. .word interrupt.MemManage @ 4
  16. .word interrupt.BusFault @ 5
  17. .word interrupt.UsageFault @ 6
  18. .word -1 @ 7, reserved
  19. .word -1 @ 8, reserved
  20. .word -1 @ 9, reserved
  21. .word -1 @ 10, reserved
  22. .word interrupt.SVC @ 11
  23. .word interrupt.DebugMonitor @ 12
  24. .word -1 @ 13, reserved
  25. .word interrupt.PendSV @ 14
  26. .word interrupt.SysTick @ 15
  27. @--- Non-Core Vectors
  28. .word interrupt.DMA0_DMA16 @ 16
  29. .word interrupt.DMA1_DMA17 @ 17
  30. .word interrupt.DMA2_DMA18 @ 18
  31. .word interrupt.DMA3_DMA19 @ 19
  32. .word interrupt.DMA4_DMA20 @ 20
  33. .word interrupt.DMA5_DMA21 @ 21
  34. .word interrupt.DMA6_DMA22 @ 22
  35. .word interrupt.DMA7_DMA23 @ 23
  36. .word interrupt.DMA8_DMA24 @ 24
  37. .word interrupt.DMA9_DMA25 @ 25
  38. .word interrupt.DMA10_DMA26 @ 26
  39. .word interrupt.DMA11_DMA27 @ 27
  40. .word interrupt.DMA12_DMA28 @ 28
  41. .word interrupt.DMA13_DMA29 @ 29
  42. .word interrupt.DMA14_DMA30 @ 30
  43. .word interrupt.DMA15_DMA31 @ 31
  44. .word interrupt.DMA_Error @ 32
  45. .word interrupt.MCM @ 33
  46. .word interrupt.FTFE @ 34
  47. .word interrupt.Read_Collision @ 35
  48. .word interrupt.LVD_LVW @ 36
  49. .word interrupt.LLWU @ 37
  50. .word interrupt.WDOG_EWM @ 38
  51. .word interrupt.RNG @ 39
  52. .word interrupt.I2C0 @ 40
  53. .word interrupt.I2C1 @ 41
  54. .word interrupt.SPI0 @ 42
  55. .word interrupt.SPI1 @ 43
  56. .word interrupt.I2S0_Tx @ 44
  57. .word interrupt.I2S0_Rx @ 45
  58. .word -1 @ 46 (unused)
  59. .word interrupt.UART0_RX_TX @ 47
  60. .word interrupt.UART0_ERR @ 48
  61. .word interrupt.UART1_RX_TX @ 49
  62. .word interrupt.UART1_ERR @ 50
  63. .word interrupt.UART2_RX_TX @ 51
  64. .word interrupt.UART2_ERR @ 52
  65. .word interrupt.UART3_RX_TX @ 53
  66. .word interrupt.UART3_ERR @ 54
  67. .word interrupt.ADC0 @ 55
  68. .word interrupt.CMP0 @ 56
  69. .word interrupt.CMP1 @ 57
  70. .word interrupt.FTM0 @ 58
  71. .word interrupt.FTM1 @ 59
  72. .word interrupt.FTM2 @ 60
  73. .word interrupt.CMT @ 61
  74. .word interrupt.RTC @ 62
  75. .word interrupt.RTC_Seconds @ 63
  76. .word interrupt.PIT0 @ 64
  77. .word interrupt.PIT1 @ 65
  78. .word interrupt.PIT2 @ 66
  79. .word interrupt.PIT3 @ 67
  80. .word interrupt.PDB0 @ 68
  81. .word interrupt.USB0 @ 69
  82. .word interrupt.USBDCD @ 70
  83. .word -1 @ 71 (unused)
  84. .word interrupt.DAC0 @ 72
  85. .word interrupt.MCG @ 73
  86. .word interrupt.LPTMR0 @ 74
  87. .word interrupt.PORTA @ 75
  88. .word interrupt.PORTB @ 76
  89. .word interrupt.PORTC @ 77
  90. .word interrupt.PORTD @ 78
  91. .word interrupt.PORTE @ 79
  92. .word interrupt.SWINT @ 80
  93. .word interrupt.SPI2 @ 81
  94. .word interrupt.UART4_RX_TX @ 82
  95. .word interrupt.UART4_ERR @ 83
  96. .word -1 @ 84 (unused)
  97. .word -1 @ 85 (unused)
  98. .word interrupt.CMP2 @ 86
  99. .word interrupt.FTM3 @ 87
  100. .word interrupt.DAC1 @ 88
  101. .word interrupt.ADC1 @ 89
  102. .word interrupt.I2C2 @ 90
  103. .word interrupt.CAN0_ORed_Message_buffer @ 91
  104. .word interrupt.CAN0_Bus_Off @ 92
  105. .word interrupt.CAN0_Error @ 93
  106. .word interrupt.CAN0_Tx_Warning @ 94
  107. .word interrupt.CAN0_Rx_Warning @ 95
  108. .word interrupt.CAN0_Wake_Up @ 96
  109. .word interrupt.SDHC @ 97
  110. .word interrupt.ENET_1588_Timer @ 98
  111. .word interrupt.ENET_Transmit @ 99
  112. .word interrupt.ENET_Receive @ 100
  113. .word interrupt.ENET_Error @ 101
  114. .word interrupt.LPUART0 @ 102
  115. .word interrupt.TSI0 @ 103
  116. .word interrupt.TPM1 @ 104
  117. .word interrupt.TPM2 @ 105
  118. .word interrupt.USBHSDCD @ 106
  119. .word interrupt.I2C3 @ 107
  120. .word interrupt.CMP3 @ 108
  121. .word interrupt.USBHS @ 109
  122. .word interrupt.CAN1_ORed_Message_buffer @ 110
  123. .word interrupt.CAN1_Bus_Off @ 111
  124. .word interrupt.CAN1_Error @ 112
  125. .word interrupt.CAN1_Tx_Warning @ 113
  126. .word interrupt.CAN1_Rx_Warning @ 114
  127. .word interrupt.CAN1_Wake_Up @ 115
  128. .word -1 @ 116 (unused)
  129. .word -1 @ 117 (unused)
  130. .word -1 @ 118 (unused)
  131. .word -1 @ 119 (unused)
  132. .word -1 @ 120 (unused)
  133. .word -1 @ 121 (unused)
  134. .word -1 @ 122 (unused)
  135. .word -1 @ 123 (unused)
  136. .word -1 @ 124 (unused)
  137. .word -1 @ 125 (unused)
  138. .word -1 @ 126 (unused)
  139. .word -1 @ 127 (unused)
  140. .word -1 @ 128 (unused)
  141. .word -1 @ 129 (unused)
  142. .word -1 @ 130 (unused)
  143. .word -1 @ 131 (unused)
  144. .word -1 @ 132 (unused)
  145. .word -1 @ 133 (unused)
  146. .word -1 @ 134 (unused)
  147. .word -1 @ 135 (unused)
  148. .word -1 @ 136 (unused)
  149. .word -1 @ 137 (unused)
  150. .word -1 @ 138 (unused)
  151. .word -1 @ 139 (unused)
  152. .word -1 @ 140 (unused)
  153. .word -1 @ 141 (unused)
  154. .word -1 @ 142 (unused)
  155. .word -1 @ 143 (unused)
  156. .word -1 @ 144 (unused)
  157. .word -1 @ 145 (unused)
  158. .word -1 @ 146 (unused)
  159. .word -1 @ 147 (unused)
  160. .word -1 @ 148 (unused)
  161. .word -1 @ 149 (unused)
  162. .word -1 @ 150 (unused)
  163. .word -1 @ 151 (unused)
  164. .word -1 @ 152 (unused)
  165. .word -1 @ 153 (unused)
  166. .word -1 @ 154 (unused)
  167. .word -1 @ 155 (unused)
  168. .word -1 @ 156 (unused)
  169. .word -1 @ 157 (unused)
  170. .word -1 @ 158 (unused)
  171. .word -1 @ 159 (unused)
  172. .word -1 @ 160 (unused)
  173. .word -1 @ 161 (unused)
  174. .word -1 @ 162 (unused)
  175. .word -1 @ 163 (unused)
  176. .word -1 @ 164 (unused)
  177. .word -1 @ 165 (unused)
  178. .word -1 @ 166 (unused)
  179. .word -1 @ 167 (unused)
  180. .word -1 @ 168 (unused)
  181. .word -1 @ 169 (unused)
  182. .word -1 @ 170 (unused)
  183. .word -1 @ 171 (unused)
  184. .word -1 @ 172 (unused)
  185. .word -1 @ 173 (unused)
  186. .word -1 @ 174 (unused)
  187. .word -1 @ 175 (unused)
  188. .word -1 @ 176 (unused)
  189. .word -1 @ 177 (unused)
  190. .word -1 @ 178 (unused)
  191. .word -1 @ 179 (unused)
  192. .word -1 @ 180 (unused)
  193. .word -1 @ 181 (unused)
  194. .word -1 @ 182 (unused)
  195. .word -1 @ 183 (unused)
  196. .word -1 @ 184 (unused)
  197. .word -1 @ 185 (unused)
  198. .word -1 @ 186 (unused)
  199. .word -1 @ 187 (unused)
  200. .word -1 @ 188 (unused)
  201. .word -1 @ 189 (unused)
  202. .word -1 @ 190 (unused)
  203. .word -1 @ 191 (unused)
  204. .word -1 @ 192 (unused)
  205. .word -1 @ 193 (unused)
  206. .word -1 @ 194 (unused)
  207. .word -1 @ 195 (unused)
  208. .word -1 @ 196 (unused)
  209. .word -1 @ 197 (unused)
  210. .word -1 @ 198 (unused)
  211. .word -1 @ 199 (unused)
  212. .word -1 @ 200 (unused)
  213. .word -1 @ 201 (unused)
  214. .word -1 @ 202 (unused)
  215. .word -1 @ 203 (unused)
  216. .word -1 @ 204 (unused)
  217. .word -1 @ 205 (unused)
  218. .word -1 @ 206 (unused)
  219. .word -1 @ 207 (unused)
  220. .word -1 @ 208 (unused)
  221. .word -1 @ 209 (unused)
  222. .word -1 @ 210 (unused)
  223. .word -1 @ 211 (unused)
  224. .word -1 @ 212 (unused)
  225. .word -1 @ 213 (unused)
  226. .word -1 @ 214 (unused)
  227. .word -1 @ 215 (unused)
  228. .word -1 @ 216 (unused)
  229. .word -1 @ 217 (unused)
  230. .word -1 @ 218 (unused)
  231. .word -1 @ 219 (unused)
  232. .word -1 @ 220 (unused)
  233. .word -1 @ 221 (unused)
  234. .word -1 @ 222 (unused)
  235. .word -1 @ 223 (unused)
  236. .word -1 @ 224 (unused)
  237. .word -1 @ 225 (unused)
  238. .word -1 @ 226 (unused)
  239. .word -1 @ 227 (unused)
  240. .word -1 @ 228 (unused)
  241. .word -1 @ 229 (unused)
  242. .word -1 @ 230 (unused)
  243. .word -1 @ 231 (unused)
  244. .word -1 @ 232 (unused)
  245. .word -1 @ 233 (unused)
  246. .word -1 @ 234 (unused)
  247. .word -1 @ 235 (unused)
  248. .word -1 @ 236 (unused)
  249. .word -1 @ 237 (unused)
  250. .word -1 @ 238 (unused)
  251. .word -1 @ 239 (unused)
  252. .word -1 @ 240 (unused)
  253. .word -1 @ 241 (unused)
  254. .word -1 @ 242 (unused)
  255. .word -1 @ 243 (unused)
  256. .word -1 @ 244 (unused)
  257. .word -1 @ 245 (unused)
  258. .word -1 @ 246 (unused)
  259. .word -1 @ 247 (unused)
  260. .word -1 @ 248 (unused)
  261. .word -1 @ 249 (unused)
  262. .word -1 @ 250 (unused)
  263. .word -1 @ 251 (unused)
  264. .word -1 @ 252 (unused)
  265. .word -1 @ 253 (unused)
  266. .word -1 @ 254 (unused)
  267. .word -1 @ 255 (unused)
  268. @———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————