spc5_registry.h 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676
  1. /*
  2. SPC5 HAL - Copyright (C) 2013 STMicroelectronics
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. /**
  14. * @file SPC560Bxx/spc560b_registry.h
  15. * @brief SPC560Bxx capabilities registry.
  16. *
  17. * @addtogroup HAL
  18. * @{
  19. */
  20. #ifndef SPC5_REGISTRY_H
  21. #define SPC5_REGISTRY_H
  22. /*===========================================================================*/
  23. /* Derived constants and error checks. */
  24. /*===========================================================================*/
  25. #if defined(_SPC560B54L3_)
  26. #define SPC5_NUM_DSPI 3
  27. #define SPC5_NUM_LINFLEX 4
  28. #define SPC5_NUM_GPIO 77
  29. #elif defined(_SPC560B54L5_)
  30. #define SPC5_NUM_DSPI 5
  31. #define SPC5_NUM_LINFLEX 6
  32. #define SPC5_NUM_GPIO 121
  33. #elif defined(_SPC560B60L3_)
  34. #define SPC5_NUM_DSPI 3
  35. #define SPC5_NUM_LINFLEX 6
  36. #define SPC5_NUM_GPIO 77
  37. #elif defined(_SPC560B60L5_)
  38. #define SPC5_NUM_DSPI 5
  39. #define SPC5_NUM_LINFLEX 6
  40. #define SPC5_NUM_GPIO 121
  41. #elif defined(_SPC560B60L7_)
  42. #define SPC5_NUM_DSPI 6
  43. #define SPC5_NUM_LINFLEX 8
  44. #define SPC5_NUM_GPIO 149
  45. #elif defined(_SPC560B64L5_)
  46. #define SPC5_NUM_DSPI 5
  47. #define SPC5_NUM_LINFLEX 8
  48. #define SPC5_NUM_GPIO 149
  49. #elif defined(_SPC560B64L7_)
  50. #define SPC5_NUM_DSPI 6
  51. #define SPC5_NUM_LINFLEX 10
  52. #define SPC5_NUM_GPIO 149
  53. #else
  54. #error "SPC560Bxx platform not defined"
  55. #endif
  56. /*===========================================================================*/
  57. /* Platform capabilities. */
  58. /*===========================================================================*/
  59. /**
  60. * @name SPC560Bxx capabilities
  61. * @{
  62. */
  63. /* DSPI attribures.*/
  64. #define SPC5_DSPI_FIFO_DEPTH 4
  65. #if SPC5_NUM_DSPI > 0
  66. #define SPC5_HAS_DSPI0 TRUE
  67. #define SPC5_DSPI0_PCTL 4
  68. #define SPC5_DSPI0_TX1_DMA_DEV_ID 1
  69. #define SPC5_DSPI0_TX2_DMA_DEV_ID 0
  70. #define SPC5_DSPI0_RX_DMA_DEV_ID 2
  71. #define SPC5_DSPI0_TFFF_HANDLER vector76
  72. #define SPC5_DSPI0_TFFF_NUMBER 76
  73. #define SPC5_DSPI0_RFDF_HANDLER vector78
  74. #define SPC5_DSPI0_RFDF_NUMBER 78
  75. #define SPC5_DSPI0_ENABLE_CLOCK() \
  76. halSPCSetPeripheralClockMode(SPC5_DSPI0_PCTL, SPC5_SPI_DSPI0_START_PCTL)
  77. #define SPC5_DSPI0_DISABLE_CLOCK() \
  78. halSPCSetPeripheralClockMode(SPC5_DSPI0_PCTL, SPC5_SPI_DSPI0_STOP_PCTL)
  79. #else
  80. #define SPC5_HAS_DSPI0 FALSE
  81. #endif
  82. #if SPC5_NUM_DSPI > 1
  83. #define SPC5_HAS_DSPI1 TRUE
  84. #define SPC5_DSPI1_PCTL 5
  85. #define SPC5_DSPI1_TX1_DMA_DEV_ID 3
  86. #define SPC5_DSPI1_TX2_DMA_DEV_ID 0
  87. #define SPC5_DSPI1_RX_DMA_DEV_ID 4
  88. #define SPC5_DSPI1_TFFF_HANDLER vector96
  89. #define SPC5_DSPI1_TFFF_NUMBER 96
  90. #define SPC5_DSPI1_RFDF_HANDLER vector98
  91. #define SPC5_DSPI1_RFDF_NUMBER 98
  92. #define SPC5_DSPI1_ENABLE_CLOCK() \
  93. halSPCSetPeripheralClockMode(SPC5_DSPI1_PCTL, SPC5_SPI_DSPI1_START_PCTL)
  94. #define SPC5_DSPI1_DISABLE_CLOCK() \
  95. halSPCSetPeripheralClockMode(SPC5_DSPI1_PCTL, SPC5_SPI_DSPI1_STOP_PCTL)
  96. #else
  97. #define SPC5_HAS_DSPI1 FALSE
  98. #endif
  99. #if SPC5_NUM_DSPI > 2
  100. #define SPC5_HAS_DSPI2 TRUE
  101. #define SPC5_DSPI2_PCTL 6
  102. #define SPC5_DSPI2_TX1_DMA_DEV_ID 5
  103. #define SPC5_DSPI2_TX2_DMA_DEV_ID 0
  104. #define SPC5_DSPI2_RX_DMA_DEV_ID 6
  105. #define SPC5_DSPI2_TFFF_HANDLER vector116
  106. #define SPC5_DSPI2_TFFF_NUMBER 116
  107. #define SPC5_DSPI2_RFDF_HANDLER vector118
  108. #define SPC5_DSPI2_RFDF_NUMBER 118
  109. #define SPC5_DSPI2_ENABLE_CLOCK() \
  110. halSPCSetPeripheralClockMode(SPC5_DSPI2_PCTL, SPC5_SPI_DSPI2_START_PCTL)
  111. #define SPC5_DSPI2_DISABLE_CLOCK() \
  112. halSPCSetPeripheralClockMode(SPC5_DSPI2_PCTL, SPC5_SPI_DSPI2_STOP_PCTL)
  113. #else
  114. #define SPC5_HAS_DSPI2 FALSE
  115. #endif
  116. #if SPC5_NUM_DSPI > 3
  117. #define SPC5_HAS_DSPI3 TRUE
  118. #define SPC5_DSPI3_PCTL 7
  119. #define SPC5_DSPI3_TX1_DMA_DEV_ID 7
  120. #define SPC5_DSPI3_TX2_DMA_DEV_ID 0
  121. #define SPC5_DSPI3_RX_DMA_DEV_ID 8
  122. #define SPC5_DSPI3_TFFF_HANDLER vector184
  123. #define SPC5_DSPI3_TFFF_NUMBER 184
  124. #define SPC5_DSPI3_RFDF_HANDLER vector186
  125. #define SPC5_DSPI3_RFDF_NUMBER 186
  126. #define SPC5_DSPI3_ENABLE_CLOCK() \
  127. halSPCSetPeripheralClockMode(SPC5_DSPI3_PCTL, SPC5_SPI_DSPI3_START_PCTL)
  128. #define SPC5_DSPI3_DISABLE_CLOCK() \
  129. halSPCSetPeripheralClockMode(SPC5_DSPI3_PCTL, SPC5_SPI_DSPI3_STOP_PCTL)
  130. #else
  131. #define SPC5_HAS_DSPI3 FALSE
  132. #endif
  133. #if SPC5_NUM_DSPI > 4
  134. #define SPC5_HAS_DSPI4 TRUE
  135. #define SPC5_DSPI4_PCTL 8
  136. #define SPC5_DSPI4_TX1_DMA_DEV_ID 9
  137. #define SPC5_DSPI4_TX2_DMA_DEV_ID 0
  138. #define SPC5_DSPI4_RX_DMA_DEV_ID 10
  139. #define SPC5_DSPI4_TFFF_HANDLER vector213
  140. #define SPC5_DSPI4_TFFF_NUMBER 213
  141. #define SPC5_DSPI4_RFDF_HANDLER vector215
  142. #define SPC5_DSPI4_RFDF_NUMBER 215
  143. #define SPC5_DSPI4_ENABLE_CLOCK() \
  144. halSPCSetPeripheralClockMode(SPC5_DSPI4_PCTL, SPC5_SPI_DSPI4_START_PCTL)
  145. #define SPC5_DSPI4_DISABLE_CLOCK() \
  146. halSPCSetPeripheralClockMode(SPC5_DSPI4_PCTL, SPC5_SPI_DSPI4_STOP_PCTL)
  147. #else
  148. #define SPC5_HAS_DSPI4 FALSE
  149. #endif
  150. #if SPC5_NUM_DSPI > 5
  151. #define SPC5_HAS_DSPI5 TRUE
  152. #define SPC5_DSPI5_PCTL 9
  153. #define SPC5_DSPI5_TX1_DMA_DEV_ID 11
  154. #define SPC5_DSPI5_TX2_DMA_DEV_ID 0
  155. #define SPC5_DSPI5_RX_DMA_DEV_ID 12
  156. #define SPC5_DSPI5_TFFF_HANDLER vector221
  157. #define SPC5_DSPI5_TFFF_NUMBER 221
  158. #define SPC5_DSPI5_RFDF_HANDLER vector223
  159. #define SPC5_DSPI5_RFDF_NUMBER 223
  160. #define SPC5_DSPI5_ENABLE_CLOCK() \
  161. halSPCSetPeripheralClockMode(SPC5_DSPI5_PCTL, SPC5_SPI_DSPI5_START_PCTL)
  162. #define SPC5_DSPI5_DISABLE_CLOCK() \
  163. halSPCSetPeripheralClockMode(SPC5_DSPI5_PCTL, SPC5_SPI_DSPI5_STOP_PCTL)
  164. #else
  165. #define SPC5_HAS_DSPI5 FALSE
  166. #endif
  167. #define SPC5_HAS_DSPI6 FALSE
  168. #define SPC5_HAS_DSPI7 FALSE
  169. /* eDMA attributes.*/
  170. #define SPC5_HAS_EDMA TRUE
  171. #define SPC5_EDMA_NCHANNELS 16
  172. #define SPC5_EDMA_HAS_MUX TRUE
  173. #define SPC5_EDMA_MUX_PCTL 23
  174. /* LINFlex attributes.*/
  175. #if SPC5_NUM_LINFLEX > 0
  176. #define SPC5_HAS_LINFLEX0 TRUE
  177. #define SPC5_LINFLEX0_PCTL 48
  178. #define SPC5_LINFLEX0_RXI_HANDLER vector79
  179. #define SPC5_LINFLEX0_TXI_HANDLER vector80
  180. #define SPC5_LINFLEX0_ERR_HANDLER vector81
  181. #define SPC5_LINFLEX0_RXI_NUMBER 79
  182. #define SPC5_LINFLEX0_TXI_NUMBER 80
  183. #define SPC5_LINFLEX0_ERR_NUMBER 81
  184. #define SPC5_LINFLEX0_CLK (halSPCGetSystemClock() / \
  185. SPC5_PERIPHERAL1_CLK_DIV_VALUE)
  186. #else
  187. #define SPC5_HAS_LINFLEX0 FALSE
  188. #endif
  189. #if SPC5_NUM_LINFLEX > 1
  190. #define SPC5_HAS_LINFLEX1 TRUE
  191. #define SPC5_LINFLEX1_PCTL 49
  192. #define SPC5_LINFLEX1_RXI_HANDLER vector99
  193. #define SPC5_LINFLEX1_TXI_HANDLER vector100
  194. #define SPC5_LINFLEX1_ERR_HANDLER vector101
  195. #define SPC5_LINFLEX1_RXI_NUMBER 99
  196. #define SPC5_LINFLEX1_TXI_NUMBER 100
  197. #define SPC5_LINFLEX1_ERR_NUMBER 101
  198. #define SPC5_LINFLEX1_CLK (halSPCGetSystemClock() / \
  199. SPC5_PERIPHERAL1_CLK_DIV_VALUE)
  200. #else
  201. #define SPC5_HAS_LINFLEX1 FALSE
  202. #endif
  203. #if SPC5_NUM_LINFLEX > 2
  204. #define SPC5_HAS_LINFLEX2 TRUE
  205. #define SPC5_LINFLEX2_PCTL 50
  206. #define SPC5_LINFLEX2_RXI_HANDLER vector119
  207. #define SPC5_LINFLEX2_TXI_HANDLER vector120
  208. #define SPC5_LINFLEX2_ERR_HANDLER vector121
  209. #define SPC5_LINFLEX2_RXI_NUMBER 119
  210. #define SPC5_LINFLEX2_TXI_NUMBER 120
  211. #define SPC5_LINFLEX2_ERR_NUMBER 121
  212. #define SPC5_LINFLEX2_CLK (halSPCGetSystemClock() / \
  213. SPC5_PERIPHERAL1_CLK_DIV_VALUE)
  214. #else
  215. #define SPC5_HAS_LINFLEX2 FALSE
  216. #endif
  217. #if SPC5_NUM_LINFLEX > 3
  218. #define SPC5_HAS_LINFLEX3 TRUE
  219. #define SPC5_LINFLEX3_PCTL 51
  220. #define SPC5_LINFLEX3_RXI_HANDLER vector122
  221. #define SPC5_LINFLEX3_TXI_HANDLER vector123
  222. #define SPC5_LINFLEX3_ERR_HANDLER vector124
  223. #define SPC5_LINFLEX3_RXI_NUMBER 122
  224. #define SPC5_LINFLEX3_TXI_NUMBER 123
  225. #define SPC5_LINFLEX3_ERR_NUMBER 124
  226. #define SPC5_LINFLEX3_CLK (halSPCGetSystemClock() / \
  227. SPC5_PERIPHERAL1_CLK_DIV_VALUE)
  228. #else
  229. #define SPC5_HAS_LINFLEX3 FALSE
  230. #endif
  231. #if SPC5_NUM_LINFLEX > 4
  232. #define SPC5_HAS_LINFLEX4 TRUE
  233. #define SPC5_LINFLEX4_PCTL 52
  234. #define SPC5_LINFLEX4_RXI_HANDLER vector187
  235. #define SPC5_LINFLEX4_TXI_HANDLER vector188
  236. #define SPC5_LINFLEX4_ERR_HANDLER vector189
  237. #define SPC5_LINFLEX4_RXI_NUMBER 187
  238. #define SPC5_LINFLEX4_TXI_NUMBER 188
  239. #define SPC5_LINFLEX4_ERR_NUMBER 189
  240. #define SPC5_LINFLEX4_CLK (halSPCGetSystemClock() / \
  241. SPC5_PERIPHERAL1_CLK_DIV_VALUE)
  242. #else
  243. #define SPC5_HAS_LINFLEX4 FALSE
  244. #endif
  245. #if SPC5_NUM_LINFLEX > 5
  246. #define SPC5_HAS_LINFLEX5 TRUE
  247. #define SPC5_LINFLEX5_PCTL 53
  248. #define SPC5_LINFLEX5_RXI_HANDLER vector199
  249. #define SPC5_LINFLEX5_TXI_HANDLER vector200
  250. #define SPC5_LINFLEX5_ERR_HANDLER vector201
  251. #define SPC5_LINFLEX5_RXI_NUMBER 199
  252. #define SPC5_LINFLEX5_TXI_NUMBER 200
  253. #define SPC5_LINFLEX5_ERR_NUMBER 201
  254. #define SPC5_LINFLEX5_CLK (halSPCGetSystemClock() / \
  255. SPC5_PERIPHERAL1_CLK_DIV_VALUE)
  256. #else
  257. #define SPC5_HAS_LINFLEX5 FALSE
  258. #endif
  259. #if SPC5_NUM_LINFLEX > 6
  260. #define SPC5_HAS_LINFLEX6 TRUE
  261. #define SPC5_LINFLEX6_PCTL 54
  262. #define SPC5_LINFLEX6_RXI_HANDLER vector216
  263. #define SPC5_LINFLEX6_TXI_HANDLER vector217
  264. #define SPC5_LINFLEX6_ERR_HANDLER vector218
  265. #define SPC5_LINFLEX6_RXI_NUMBER 216
  266. #define SPC5_LINFLEX6_TXI_NUMBER 217
  267. #define SPC5_LINFLEX6_ERR_NUMBER 218
  268. #define SPC5_LINFLEX6_CLK (halSPCGetSystemClock() / \
  269. SPC5_PERIPHERAL1_CLK_DIV_VALUE)
  270. #else
  271. #define SPC5_HAS_LINFLEX6 FALSE
  272. #endif
  273. #if SPC5_NUM_LINFLEX > 7
  274. #define SPC5_HAS_LINFLEX7 TRUE
  275. #define SPC5_LINFLEX7_PCTL 55
  276. #define SPC5_LINFLEX7_RXI_HANDLER vector224
  277. #define SPC5_LINFLEX7_TXI_HANDLER vector225
  278. #define SPC5_LINFLEX7_ERR_HANDLER vector226
  279. #define SPC5_LINFLEX7_RXI_NUMBER 224
  280. #define SPC5_LINFLEX7_TXI_NUMBER 225
  281. #define SPC5_LINFLEX7_ERR_NUMBER 226
  282. #define SPC5_LINFLEX7_CLK (halSPCGetSystemClock() / \
  283. SPC5_PERIPHERAL1_CLK_DIV_VALUE)
  284. #else
  285. #define SPC5_HAS_LINFLEX7 FALSE
  286. #endif
  287. #if SPC5_NUM_LINFLEX > 8
  288. #define SPC5_HAS_LINFLEX8 TRUE
  289. #define SPC5_LINFLEX8_PCTL 12
  290. #define SPC5_LINFLEX8_RXI_HANDLER vector227
  291. #define SPC5_LINFLEX8_TXI_HANDLER vector228
  292. #define SPC5_LINFLEX8_ERR_HANDLER vector229
  293. #define SPC5_LINFLEX8_RXI_NUMBER 227
  294. #define SPC5_LINFLEX8_TXI_NUMBER 228
  295. #define SPC5_LINFLEX8_ERR_NUMBER 229
  296. #define SPC5_LINFLEX8_CLK (halSPCGetSystemClock() / \
  297. SPC5_PERIPHERAL1_CLK_DIV_VALUE)
  298. #else
  299. #define SPC5_HAS_LINFLEX8 FALSE
  300. #endif
  301. #if SPC5_NUM_LINFLEX > 9
  302. #define SPC5_HAS_LINFLEX9 TRUE
  303. #define SPC5_LINFLEX9_PCTL 13
  304. #define SPC5_LINFLEX9_RXI_HANDLER vector230
  305. #define SPC5_LINFLEX9_TXI_HANDLER vector231
  306. #define SPC5_LINFLEX9_ERR_HANDLER vector232
  307. #define SPC5_LINFLEX9_RXI_NUMBER 230
  308. #define SPC5_LINFLEX9_TXI_NUMBER 231
  309. #define SPC5_LINFLEX9_ERR_NUMBER 232
  310. #define SPC5_LINFLEX9_CLK (halSPCGetSystemClock() / \
  311. SPC5_PERIPHERAL1_CLK_DIV_VALUE)
  312. #else
  313. #define SPC5_HAS_LINFLEX9 FALSE
  314. #endif
  315. /* SIUL attributes.*/
  316. #define SPC5_HAS_SIUL TRUE
  317. #define SPC5_SIUL_PCTL 68
  318. #define SPC5_SIUL_NUM_PORTS 10
  319. #define SPC5_SIUL_NUM_PCRS 149
  320. #define SPC5_SIUL_NUM_PADSELS 64
  321. #define SPC5_SIUL_SYSTEM_PINS 32,33,121,122
  322. /* eMIOS attributes.*/
  323. #define SPC5_HAS_EMIOS0 TRUE
  324. #define SPC5_EMIOS0_PCTL 72
  325. #define SPC5_EMIOS0_GFR_F0F1_HANDLER vector141
  326. #define SPC5_EMIOS0_GFR_F2F3_HANDLER vector142
  327. #define SPC5_EMIOS0_GFR_F4F5_HANDLER vector143
  328. #define SPC5_EMIOS0_GFR_F6F7_HANDLER vector144
  329. #define SPC5_EMIOS0_GFR_F8F9_HANDLER vector145
  330. #define SPC5_EMIOS0_GFR_F10F11_HANDLER vector146
  331. #define SPC5_EMIOS0_GFR_F12F13_HANDLER vector147
  332. #define SPC5_EMIOS0_GFR_F14F15_HANDLER vector148
  333. #define SPC5_EMIOS0_GFR_F16F17_HANDLER vector149
  334. #define SPC5_EMIOS0_GFR_F18F19_HANDLER vector150
  335. #define SPC5_EMIOS0_GFR_F20F21_HANDLER vector151
  336. #define SPC5_EMIOS0_GFR_F22F23_HANDLER vector152
  337. #define SPC5_EMIOS0_GFR_F24F25_HANDLER vector153
  338. #define SPC5_EMIOS0_GFR_F26F27_HANDLER vector154
  339. #define SPC5_EMIOS0_GFR_F0F1_NUMBER 141
  340. #define SPC5_EMIOS0_GFR_F2F3_NUMBER 142
  341. #define SPC5_EMIOS0_GFR_F4F5_NUMBER 143
  342. #define SPC5_EMIOS0_GFR_F6F7_NUMBER 144
  343. #define SPC5_EMIOS0_GFR_F8F9_NUMBER 145
  344. #define SPC5_EMIOS0_GFR_F10F11_NUMBER 146
  345. #define SPC5_EMIOS0_GFR_F12F13_NUMBER 147
  346. #define SPC5_EMIOS0_GFR_F14F15_NUMBER 148
  347. #define SPC5_EMIOS0_GFR_F16F17_NUMBER 149
  348. #define SPC5_EMIOS0_GFR_F18F19_NUMBER 150
  349. #define SPC5_EMIOS0_GFR_F20F21_NUMBER 151
  350. #define SPC5_EMIOS0_GFR_F22F23_NUMBER 152
  351. #define SPC5_EMIOS0_GFR_F24F25_NUMBER 153
  352. #define SPC5_EMIOS0_GFR_F26F27_NUMBER 154
  353. #define SPC5_EMIOS0_CLK (halSPCGetSystemClock() / \
  354. SPC5_PERIPHERAL3_CLK_DIV_VALUE / \
  355. SPC5_EMIOS0_GPRE_VALUE)
  356. #define SPC5_HAS_EMIOS1 TRUE
  357. #define SPC5_EMIOS1_PCTL 73
  358. #define SPC5_EMIOS1_GFR_F0F1_HANDLER vector157
  359. #define SPC5_EMIOS1_GFR_F2F3_HANDLER vector158
  360. #define SPC5_EMIOS1_GFR_F4F5_HANDLER vector159
  361. #define SPC5_EMIOS1_GFR_F6F7_HANDLER vector160
  362. #define SPC5_EMIOS1_GFR_F8F9_HANDLER vector161
  363. #define SPC5_EMIOS1_GFR_F10F11_HANDLER vector162
  364. #define SPC5_EMIOS1_GFR_F12F13_HANDLER vector163
  365. #define SPC5_EMIOS1_GFR_F14F15_HANDLER vector164
  366. #define SPC5_EMIOS1_GFR_F16F17_HANDLER vector165
  367. #define SPC5_EMIOS1_GFR_F18F19_HANDLER vector166
  368. #define SPC5_EMIOS1_GFR_F20F21_HANDLER vector167
  369. #define SPC5_EMIOS1_GFR_F22F23_HANDLER vector168
  370. #define SPC5_EMIOS1_GFR_F24F25_HANDLER vector169
  371. #define SPC5_EMIOS1_GFR_F26F27_HANDLER vector170
  372. #define SPC5_EMIOS1_GFR_F0F1_NUMBER 157
  373. #define SPC5_EMIOS1_GFR_F2F3_NUMBER 158
  374. #define SPC5_EMIOS1_GFR_F4F5_NUMBER 159
  375. #define SPC5_EMIOS1_GFR_F6F7_NUMBER 160
  376. #define SPC5_EMIOS1_GFR_F8F9_NUMBER 161
  377. #define SPC5_EMIOS1_GFR_F10F11_NUMBER 162
  378. #define SPC5_EMIOS1_GFR_F12F13_NUMBER 163
  379. #define SPC5_EMIOS1_GFR_F14F15_NUMBER 164
  380. #define SPC5_EMIOS1_GFR_F16F17_NUMBER 165
  381. #define SPC5_EMIOS1_GFR_F18F19_NUMBER 166
  382. #define SPC5_EMIOS1_GFR_F20F21_NUMBER 167
  383. #define SPC5_EMIOS1_GFR_F22F23_NUMBER 168
  384. #define SPC5_EMIOS1_GFR_F24F25_NUMBER 169
  385. #define SPC5_EMIOS1_GFR_F26F27_NUMBER 170
  386. #define SPC5_EMIOS1_CLK (halSPCGetSystemClock() / \
  387. SPC5_PERIPHERAL3_CLK_DIV_VALUE / \
  388. SPC5_EMIOS1_GPRE_VALUE)
  389. /* FlexCAN attributes.*/
  390. #define SPC5_HAS_FLEXCAN0 TRUE
  391. #define SPC5_FLEXCAN0_PCTL 16
  392. #define SPC5_FLEXCAN0_MB 64
  393. #define SPC5_FLEXCAN0_SHARED_IRQ TRUE
  394. #define SPC5_FLEXCAN0_FLEXCAN_ESR_ERR_INT_HANDLER vector65
  395. #define SPC5_FLEXCAN0_FLEXCAN_ESR_BOFF_HANDLER vector66
  396. #define SPC5_FLEXCAN0_FLEXCAN_BUF_00_03_HANDLER vector68
  397. #define SPC5_FLEXCAN0_FLEXCAN_BUF_04_07_HANDLER vector69
  398. #define SPC5_FLEXCAN0_FLEXCAN_BUF_08_11_HANDLER vector70
  399. #define SPC5_FLEXCAN0_FLEXCAN_BUF_12_15_HANDLER vector71
  400. #define SPC5_FLEXCAN0_FLEXCAN_BUF_16_31_HANDLER vector72
  401. #define SPC5_FLEXCAN0_FLEXCAN_BUF_32_63_HANDLER vector73
  402. #define SPC5_FLEXCAN0_FLEXCAN_ESR_ERR_INT_NUMBER 65
  403. #define SPC5_FLEXCAN0_FLEXCAN_ESR_BOFF_NUMBER 66
  404. #define SPC5_FLEXCAN0_FLEXCAN_BUF_00_03_NUMBER 68
  405. #define SPC5_FLEXCAN0_FLEXCAN_BUF_04_07_NUMBER 69
  406. #define SPC5_FLEXCAN0_FLEXCAN_BUF_08_11_NUMBER 70
  407. #define SPC5_FLEXCAN0_FLEXCAN_BUF_12_15_NUMBER 71
  408. #define SPC5_FLEXCAN0_FLEXCAN_BUF_16_31_NUMBER 72
  409. #define SPC5_FLEXCAN0_FLEXCAN_BUF_32_63_NUMBER 73
  410. #define SPC5_FLEXCAN0_ENABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN0_PCTL, SPC5_CAN_FLEXCAN0_START_PCTL);
  411. #define SPC5_FLEXCAN0_DISABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN0_PCTL, SPC5_CAN_FLEXCAN0_STOP_PCTL);
  412. #define SPC5_HAS_FLEXCAN1 TRUE
  413. #define SPC5_FLEXCAN1_PCTL 17
  414. #define SPC5_FLEXCAN1_MB 64
  415. #define SPC5_FLEXCAN1_SHARED_IRQ TRUE
  416. #define SPC5_FLEXCAN1_FLEXCAN_ESR_ERR_INT_HANDLER vector85
  417. #define SPC5_FLEXCAN1_FLEXCAN_ESR_BOFF_HANDLER vector86
  418. #define SPC5_FLEXCAN1_FLEXCAN_BUF_00_03_HANDLER vector88
  419. #define SPC5_FLEXCAN1_FLEXCAN_BUF_04_07_HANDLER vector89
  420. #define SPC5_FLEXCAN1_FLEXCAN_BUF_08_11_HANDLER vector90
  421. #define SPC5_FLEXCAN1_FLEXCAN_BUF_12_15_HANDLER vector91
  422. #define SPC5_FLEXCAN1_FLEXCAN_BUF_16_31_HANDLER vector92
  423. #define SPC5_FLEXCAN1_FLEXCAN_BUF_32_63_HANDLER vector93
  424. #define SPC5_FLEXCAN1_FLEXCAN_ESR_ERR_INT_NUMBER 85
  425. #define SPC5_FLEXCAN1_FLEXCAN_ESR_BOFF_NUMBER 86
  426. #define SPC5_FLEXCAN1_FLEXCAN_BUF_00_03_NUMBER 88
  427. #define SPC5_FLEXCAN1_FLEXCAN_BUF_04_07_NUMBER 89
  428. #define SPC5_FLEXCAN1_FLEXCAN_BUF_08_11_NUMBER 90
  429. #define SPC5_FLEXCAN1_FLEXCAN_BUF_12_15_NUMBER 91
  430. #define SPC5_FLEXCAN1_FLEXCAN_BUF_16_31_NUMBER 92
  431. #define SPC5_FLEXCAN1_FLEXCAN_BUF_32_63_NUMBER 93
  432. #define SPC5_FLEXCAN1_ENABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN1_PCTL, SPC5_CAN_FLEXCAN1_START_PCTL);
  433. #define SPC5_FLEXCAN1_DISABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN1_PCTL, SPC5_CAN_FLEXCAN1_STOP_PCTL);
  434. #define SPC5_HAS_FLEXCAN2 TRUE
  435. #define SPC5_FLEXCAN2_PCTL 18
  436. #define SPC5_FLEXCAN2_MB 64
  437. #define SPC5_FLEXCAN2_SHARED_IRQ TRUE
  438. #define SPC5_FLEXCAN2_FLEXCAN_ESR_ERR_INT_HANDLER vector105
  439. #define SPC5_FLEXCAN2_FLEXCAN_ESR_BOFF_HANDLER vector106
  440. #define SPC5_FLEXCAN2_FLEXCAN_BUF_00_03_HANDLER vector108
  441. #define SPC5_FLEXCAN2_FLEXCAN_BUF_04_07_HANDLER vector109
  442. #define SPC5_FLEXCAN2_FLEXCAN_BUF_08_11_HANDLER vector110
  443. #define SPC5_FLEXCAN2_FLEXCAN_BUF_12_15_HANDLER vector111
  444. #define SPC5_FLEXCAN2_FLEXCAN_BUF_16_31_HANDLER vector112
  445. #define SPC5_FLEXCAN2_FLEXCAN_BUF_32_63_HANDLER vector113
  446. #define SPC5_FLEXCAN2_FLEXCAN_ESR_ERR_INT_NUMBER 105
  447. #define SPC5_FLEXCAN2_FLEXCAN_ESR_BOFF_NUMBER 106
  448. #define SPC5_FLEXCAN2_FLEXCAN_BUF_00_03_NUMBER 108
  449. #define SPC5_FLEXCAN2_FLEXCAN_BUF_04_07_NUMBER 109
  450. #define SPC5_FLEXCAN2_FLEXCAN_BUF_08_11_NUMBER 110
  451. #define SPC5_FLEXCAN2_FLEXCAN_BUF_12_15_NUMBER 111
  452. #define SPC5_FLEXCAN2_FLEXCAN_BUF_16_31_NUMBER 112
  453. #define SPC5_FLEXCAN2_FLEXCAN_BUF_32_63_NUMBER 113
  454. #define SPC5_FLEXCAN2_ENABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN2_PCTL, SPC5_CAN_FLEXCAN2_START_PCTL);
  455. #define SPC5_FLEXCAN2_DISABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN2_PCTL, SPC5_CAN_FLEXCAN2_START_PCTL);
  456. #define SPC5_HAS_FLEXCAN3 TRUE
  457. #define SPC5_FLEXCAN3_PCTL 19
  458. #define SPC5_FLEXCAN3_MB 64
  459. #define SPC5_FLEXCAN3_SHARED_IRQ TRUE
  460. #define SPC5_FLEXCAN3_FLEXCAN_ESR_ERR_INT_HANDLER vector173
  461. #define SPC5_FLEXCAN3_FLEXCAN_ESR_BOFF_HANDLER vector174
  462. #define SPC5_FLEXCAN3_FLEXCAN_BUF_00_03_HANDLER vector176
  463. #define SPC5_FLEXCAN3_FLEXCAN_BUF_04_07_HANDLER vector177
  464. #define SPC5_FLEXCAN3_FLEXCAN_BUF_08_11_HANDLER vector178
  465. #define SPC5_FLEXCAN3_FLEXCAN_BUF_12_15_HANDLER vector179
  466. #define SPC5_FLEXCAN3_FLEXCAN_BUF_16_31_HANDLER vector180
  467. #define SPC5_FLEXCAN3_FLEXCAN_BUF_32_63_HANDLER vector181
  468. #define SPC5_FLEXCAN3_FLEXCAN_ESR_ERR_INT_NUMBER 173
  469. #define SPC5_FLEXCAN3_FLEXCAN_ESR_BOFF_NUMBER 174
  470. #define SPC5_FLEXCAN3_FLEXCAN_BUF_00_03_NUMBER 176
  471. #define SPC5_FLEXCAN3_FLEXCAN_BUF_04_07_NUMBER 177
  472. #define SPC5_FLEXCAN3_FLEXCAN_BUF_08_11_NUMBER 178
  473. #define SPC5_FLEXCAN3_FLEXCAN_BUF_12_15_NUMBER 179
  474. #define SPC5_FLEXCAN3_FLEXCAN_BUF_16_31_NUMBER 180
  475. #define SPC5_FLEXCAN3_FLEXCAN_BUF_32_63_NUMBER 181
  476. #define SPC5_FLEXCAN3_ENABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN3_PCTL, SPC5_CAN_FLEXCAN3_START_PCTL);
  477. #define SPC5_FLEXCAN3_DISABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN3_PCTL, SPC5_CAN_FLEXCAN3_STOP_PCTL);
  478. #define SPC5_HAS_FLEXCAN4 TRUE
  479. #define SPC5_FLEXCAN4_PCTL 20
  480. #define SPC5_FLEXCAN4_MB 64
  481. #define SPC5_FLEXCAN4_SHARED_IRQ TRUE
  482. #define SPC5_FLEXCAN4_FLEXCAN_ESR_ERR_INT_HANDLER vector190
  483. #define SPC5_FLEXCAN4_FLEXCAN_ESR_BOFF_HANDLER vector191
  484. #define SPC5_FLEXCAN4_FLEXCAN_BUF_00_03_HANDLER vector193
  485. #define SPC5_FLEXCAN4_FLEXCAN_BUF_04_07_HANDLER vector194
  486. #define SPC5_FLEXCAN4_FLEXCAN_BUF_08_11_HANDLER vector195
  487. #define SPC5_FLEXCAN4_FLEXCAN_BUF_12_15_HANDLER vector196
  488. #define SPC5_FLEXCAN4_FLEXCAN_BUF_16_31_HANDLER vector197
  489. #define SPC5_FLEXCAN4_FLEXCAN_BUF_32_63_HANDLER vector198
  490. #define SPC5_FLEXCAN4_FLEXCAN_ESR_ERR_INT_NUMBER 190
  491. #define SPC5_FLEXCAN4_FLEXCAN_ESR_BOFF_NUMBER 191
  492. #define SPC5_FLEXCAN4_FLEXCAN_BUF_00_03_NUMBER 193
  493. #define SPC5_FLEXCAN4_FLEXCAN_BUF_04_07_NUMBER 194
  494. #define SPC5_FLEXCAN4_FLEXCAN_BUF_08_11_NUMBER 195
  495. #define SPC5_FLEXCAN4_FLEXCAN_BUF_12_15_NUMBER 196
  496. #define SPC5_FLEXCAN4_FLEXCAN_BUF_16_31_NUMBER 197
  497. #define SPC5_FLEXCAN4_FLEXCAN_BUF_32_63_NUMBER 198
  498. #define SPC5_FLEXCAN4_ENABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN4_PCTL, SPC5_CAN_FLEXCAN4_START_PCTL);
  499. #define SPC5_FLEXCAN4_DISABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN4_PCTL, SPC5_CAN_FLEXCAN4_STOP_PCTL);
  500. #define SPC5_HAS_FLEXCAN5 TRUE
  501. #define SPC5_FLEXCAN5_PCTL 21
  502. #define SPC5_FLEXCAN5_MB 64
  503. #define SPC5_FLEXCAN5_SHARED_IRQ TRUE
  504. #define SPC5_FLEXCAN5_FLEXCAN_ESR_ERR_INT_HANDLER vector202
  505. #define SPC5_FLEXCAN5_FLEXCAN_ESR_BOFF_HANDLER vector203
  506. #define SPC5_FLEXCAN5_FLEXCAN_BUF_00_03_HANDLER vector205
  507. #define SPC5_FLEXCAN5_FLEXCAN_BUF_04_07_HANDLER vector206
  508. #define SPC5_FLEXCAN5_FLEXCAN_BUF_08_11_HANDLER vector207
  509. #define SPC5_FLEXCAN5_FLEXCAN_BUF_12_15_HANDLER vector208
  510. #define SPC5_FLEXCAN5_FLEXCAN_BUF_16_31_HANDLER vector209
  511. #define SPC5_FLEXCAN5_FLEXCAN_BUF_32_63_HANDLER vector210
  512. #define SPC5_FLEXCAN5_FLEXCAN_ESR_ERR_INT_NUMBER 202
  513. #define SPC5_FLEXCAN5_FLEXCAN_ESR_BOFF_NUMBER 203
  514. #define SPC5_FLEXCAN5_FLEXCAN_BUF_00_03_NUMBER 205
  515. #define SPC5_FLEXCAN5_FLEXCAN_BUF_04_07_NUMBER 206
  516. #define SPC5_FLEXCAN5_FLEXCAN_BUF_08_11_NUMBER 207
  517. #define SPC5_FLEXCAN5_FLEXCAN_BUF_12_15_NUMBER 208
  518. #define SPC5_FLEXCAN5_FLEXCAN_BUF_16_31_NUMBER 209
  519. #define SPC5_FLEXCAN5_FLEXCAN_BUF_32_63_NUMBER 210
  520. #define SPC5_FLEXCAN5_ENABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN5_PCTL, SPC5_CAN_FLEXCAN5_START_PCTL);
  521. #define SPC5_FLEXCAN5_DISABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN5_PCTL, SPC5_CAN_FLEXCAN5_STOP_PCTL);
  522. /* ADC attributes.*/
  523. #define SPC5_ADC_HAS_TRC FALSE
  524. #define SPC5_HAS_ADC0 TRUE
  525. #define SPC5_ADC_ADC0_HAS_CTR0 TRUE
  526. #define SPC5_ADC_ADC0_HAS_CTR1 TRUE
  527. #define SPC5_ADC_ADC0_HAS_CTR2 TRUE
  528. #define SPC5_ADC_ADC0_HAS_NCMR0 TRUE
  529. #define SPC5_ADC_ADC0_HAS_NCMR1 TRUE
  530. #define SPC5_ADC_ADC0_HAS_NCMR2 TRUE
  531. #define SPC5_ADC_ADC0_HAS_THRHLR0 TRUE
  532. #define SPC5_ADC_ADC0_HAS_THRHLR1 TRUE
  533. #define SPC5_ADC_ADC0_HAS_THRHLR2 TRUE
  534. #define SPC5_ADC_ADC0_HAS_THRHLR3 TRUE
  535. #define SPC5_ADC_ADC0_HAS_THRHLR4 TRUE
  536. #define SPC5_ADC_ADC0_HAS_THRHLR5 TRUE
  537. #define SPC5_ADC_ADC0_HAS_THRHLR6 FALSE
  538. #define SPC5_ADC_ADC0_HAS_THRHLR7 FALSE
  539. #define SPC5_ADC_ADC0_HAS_THRHLR8 FALSE
  540. #define SPC5_ADC_ADC0_HAS_THRHLR9 FALSE
  541. #define SPC5_ADC_ADC0_HAS_THRHLR10 FALSE
  542. #define SPC5_ADC_ADC0_HAS_THRHLR11 FALSE
  543. #define SPC5_ADC_ADC0_HAS_THRHLR12 FALSE
  544. #define SPC5_ADC_ADC0_HAS_THRHLR13 FALSE
  545. #define SPC5_ADC_ADC0_HAS_THRHLR14 FALSE
  546. #define SPC5_ADC_ADC0_HAS_THRHLR15 FALSE
  547. #define SPC5_ADC_ADC0_HAS_CWENR0 TRUE
  548. #define SPC5_ADC_ADC0_HAS_CWENR1 TRUE
  549. #define SPC5_ADC_ADC0_HAS_CWENR2 TRUE
  550. #define SPC5_ADC_ADC0_HAS_CWSEL0 TRUE
  551. #define SPC5_ADC_ADC0_HAS_CWSEL1 TRUE
  552. #define SPC5_ADC_ADC0_HAS_CWSEL2 FALSE
  553. #define SPC5_ADC_ADC0_HAS_CWSEL3 FALSE
  554. #define SPC5_ADC_ADC0_HAS_CWSEL4 TRUE
  555. #define SPC5_ADC_ADC0_HAS_CWSEL5 TRUE
  556. #define SPC5_ADC_ADC0_HAS_CWSEL6 TRUE
  557. #define SPC5_ADC_ADC0_HAS_CWSEL7 TRUE
  558. #define SPC5_ADC_ADC0_HAS_CWSEL8 TRUE
  559. #define SPC5_ADC_ADC0_HAS_CWSEL9 TRUE
  560. #define SPC5_ADC_ADC0_HAS_CWSEL10 TRUE
  561. #define SPC5_ADC_ADC0_HAS_CWSEL11 TRUE
  562. #define SPC5_ADC_ADC0_HAS_CIMR0 TRUE
  563. #define SPC5_ADC_ADC0_HAS_CIMR1 TRUE
  564. #define SPC5_ADC_ADC0_HAS_CIMR2 TRUE
  565. #define SPC5_ADC_ADC0_HAS_CEOCFR0 TRUE
  566. #define SPC5_ADC_ADC0_HAS_CEOCFR1 TRUE
  567. #define SPC5_ADC_ADC0_HAS_CEOCFR2 TRUE
  568. #define SPC5_ADC0_PCTL 32
  569. #define SPC5_ADC0_DMA_DEV_ID 29
  570. #define SPC5_ADC0_EOC_HANDLER vector62
  571. #define SPC5_ADC0_EOC_NUMBER 62
  572. #define SPC5_ADC0_WD_HANDLER vector64
  573. #define SPC5_ADC0_WD_NUMBER 64
  574. #define SPC5_HAS_ADC1 TRUE
  575. #define SPC5_ADC_ADC1_HAS_CTR0 TRUE
  576. #define SPC5_ADC_ADC1_HAS_CTR1 TRUE
  577. #define SPC5_ADC_ADC1_HAS_CTR2 FALSE
  578. #define SPC5_ADC_ADC1_HAS_NCMR0 TRUE
  579. #define SPC5_ADC_ADC1_HAS_NCMR1 TRUE
  580. #define SPC5_ADC_ADC1_HAS_NCMR2 FALSE
  581. #define SPC5_ADC_ADC1_HAS_THRHLR0 TRUE
  582. #define SPC5_ADC_ADC1_HAS_THRHLR1 TRUE
  583. #define SPC5_ADC_ADC1_HAS_THRHLR2 TRUE
  584. #define SPC5_ADC_ADC1_HAS_THRHLR3 FALSE
  585. #define SPC5_ADC_ADC1_HAS_THRHLR4 FALSE
  586. #define SPC5_ADC_ADC1_HAS_THRHLR5 FALSE
  587. #define SPC5_ADC_ADC1_HAS_THRHLR6 FALSE
  588. #define SPC5_ADC_ADC1_HAS_THRHLR7 FALSE
  589. #define SPC5_ADC_ADC1_HAS_THRHLR8 FALSE
  590. #define SPC5_ADC_ADC1_HAS_THRHLR9 FALSE
  591. #define SPC5_ADC_ADC1_HAS_THRHLR10 FALSE
  592. #define SPC5_ADC_ADC1_HAS_THRHLR11 FALSE
  593. #define SPC5_ADC_ADC1_HAS_THRHLR12 FALSE
  594. #define SPC5_ADC_ADC1_HAS_THRHLR13 FALSE
  595. #define SPC5_ADC_ADC1_HAS_THRHLR14 FALSE
  596. #define SPC5_ADC_ADC1_HAS_THRHLR15 FALSE
  597. #define SPC5_ADC_ADC1_HAS_CWENR0 TRUE
  598. #define SPC5_ADC_ADC1_HAS_CWENR1 TRUE
  599. #define SPC5_ADC_ADC1_HAS_CWENR2 FALSE
  600. #define SPC5_ADC_ADC1_HAS_CWSEL0 TRUE
  601. #define SPC5_ADC_ADC1_HAS_CWSEL1 TRUE
  602. #define SPC5_ADC_ADC1_HAS_CWSEL2 FALSE
  603. #define SPC5_ADC_ADC1_HAS_CWSEL3 FALSE
  604. #define SPC5_ADC_ADC1_HAS_CWSEL4 TRUE
  605. #define SPC5_ADC_ADC1_HAS_CWSEL5 FALSE
  606. #define SPC5_ADC_ADC1_HAS_CWSEL6 FALSE
  607. #define SPC5_ADC_ADC1_HAS_CWSEL7 FALSE
  608. #define SPC5_ADC_ADC1_HAS_CWSEL8 FALSE
  609. #define SPC5_ADC_ADC1_HAS_CWSEL9 FALSE
  610. #define SPC5_ADC_ADC1_HAS_CWSEL10 FALSE
  611. #define SPC5_ADC_ADC1_HAS_CWSEL11 FALSE
  612. #define SPC5_ADC_ADC1_HAS_CIMR0 TRUE
  613. #define SPC5_ADC_ADC1_HAS_CIMR1 TRUE
  614. #define SPC5_ADC_ADC1_HAS_CIMR2 TRUE
  615. #define SPC5_ADC_ADC1_HAS_CEOCFR0 TRUE
  616. #define SPC5_ADC_ADC1_HAS_CEOCFR1 TRUE
  617. #define SPC5_ADC_ADC1_HAS_CEOCFR2 TRUE
  618. #define SPC5_ADC1_PCTL 33
  619. #define SPC5_ADC1_DMA_DEV_ID 30
  620. #define SPC5_ADC1_EOC_HANDLER vector82
  621. #define SPC5_ADC1_EOC_NUMBER 82
  622. #define SPC5_ADC1_WD_HANDLER vector84
  623. #define SPC5_ADC1_WD_NUMBER 84
  624. /** @} */
  625. #endif /* SPC5_REGISTRY_H */
  626. /** @} */