spc5_registry.h 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  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 SPC56ELxx/spc5_registry.h
  15. * @brief SPC56ELxx capabilities registry.
  16. *
  17. * @addtogroup HAL
  18. * @{
  19. */
  20. #ifndef SPC5_REGISTRY_H
  21. #define SPC5_REGISTRY_H
  22. /*===========================================================================*/
  23. /* Platform capabilities. */
  24. /*===========================================================================*/
  25. /**
  26. * @name SPC56ELxx capabilities
  27. * @{
  28. */
  29. /* eDMA attributes.*/
  30. #define SPC5_HAS_EDMA TRUE
  31. #define SPC5_EDMA_NCHANNELS 16
  32. #define SPC5_EDMA_HAS_MUX TRUE
  33. /* DSPI attribures.*/
  34. #define SPC5_HAS_DSPI0 TRUE
  35. #define SPC5_HAS_DSPI1 TRUE
  36. #define SPC5_HAS_DSPI2 TRUE
  37. #define SPC5_HAS_DSPI3 FALSE
  38. #define SPC5_HAS_DSPI4 FALSE
  39. #define SPC5_HAS_DSPI5 FALSE
  40. #define SPC5_HAS_DSPI6 FALSE
  41. #define SPC5_HAS_DSPI7 FALSE
  42. #define SPC5_DSPI_FIFO_DEPTH 5
  43. #define SPC5_DSPI0_PCTL 4
  44. #define SPC5_DSPI1_PCTL 5
  45. #define SPC5_DSPI2_PCTL 6
  46. #define SPC5_DSPI0_TX1_DMA_DEV_ID 1
  47. #define SPC5_DSPI0_TX2_DMA_DEV_ID 0
  48. #define SPC5_DSPI0_RX_DMA_DEV_ID 2
  49. #define SPC5_DSPI1_TX1_DMA_DEV_ID 3
  50. #define SPC5_DSPI1_TX2_DMA_DEV_ID 0
  51. #define SPC5_DSPI1_RX_DMA_DEV_ID 4
  52. #define SPC5_DSPI2_TX1_DMA_DEV_ID 5
  53. #define SPC5_DSPI2_TX2_DMA_DEV_ID 0
  54. #define SPC5_DSPI2_RX_DMA_DEV_ID 6
  55. #define SPC5_DSPI0_TFFF_HANDLER vector76
  56. #define SPC5_DSPI0_TFFF_NUMBER 76
  57. #define SPC5_DSPI0_RFDF_HANDLER vector78
  58. #define SPC5_DSPI0_RFDF_NUMBER 78
  59. #define SPC5_DSPI1_TFFF_HANDLER vector96
  60. #define SPC5_DSPI1_TFFF_NUMBER 96
  61. #define SPC5_DSPI1_RFDF_HANDLER vector98
  62. #define SPC5_DSPI1_RFDF_NUMBER 98
  63. #define SPC5_DSPI2_TFFF_HANDLER vector116
  64. #define SPC5_DSPI2_TFFF_NUMBER 116
  65. #define SPC5_DSPI2_RFDF_HANDLER vector118
  66. #define SPC5_DSPI2_RFDF_NUMBER 118
  67. #define SPC5_DSPI0_ENABLE_CLOCK() \
  68. halSPCSetPeripheralClockMode(SPC5_DSPI0_PCTL, SPC5_SPI_DSPI0_START_PCTL)
  69. #define SPC5_DSPI0_DISABLE_CLOCK() \
  70. halSPCSetPeripheralClockMode(SPC5_DSPI0_PCTL, SPC5_SPI_DSPI0_STOP_PCTL)
  71. #define SPC5_DSPI1_ENABLE_CLOCK() \
  72. halSPCSetPeripheralClockMode(SPC5_DSPI1_PCTL, SPC5_SPI_DSPI1_START_PCTL)
  73. #define SPC5_DSPI1_DISABLE_CLOCK() \
  74. halSPCSetPeripheralClockMode(SPC5_DSPI1_PCTL, SPC5_SPI_DSPI1_STOP_PCTL)
  75. #define SPC5_DSPI2_ENABLE_CLOCK() \
  76. halSPCSetPeripheralClockMode(SPC5_DSPI2_PCTL, SPC5_SPI_DSPI2_START_PCTL)
  77. #define SPC5_DSPI2_DISABLE_CLOCK() \
  78. halSPCSetPeripheralClockMode(SPC5_DSPI2_PCTL, SPC5_SPI_DSPI2_STOP_PCTL)
  79. /* LINFlex attributes.*/
  80. #define SPC5_HAS_LINFLEX0 TRUE
  81. #define SPC5_LINFLEX0_PCTL 48
  82. #define SPC5_LINFLEX0_RXI_HANDLER vector79
  83. #define SPC5_LINFLEX0_TXI_HANDLER vector80
  84. #define SPC5_LINFLEX0_ERR_HANDLER vector81
  85. #define SPC5_LINFLEX0_RXI_NUMBER 79
  86. #define SPC5_LINFLEX0_TXI_NUMBER 80
  87. #define SPC5_LINFLEX0_ERR_NUMBER 81
  88. #define SPC5_LINFLEX0_CLK (halSPCGetSystemClock() / \
  89. SPC5_SYSCLK_DIVIDER_VALUE)
  90. #define SPC5_HAS_LINFLEX1 TRUE
  91. #define SPC5_LINFLEX1_PCTL 49
  92. #define SPC5_LINFLEX1_RXI_HANDLER vector99
  93. #define SPC5_LINFLEX1_TXI_HANDLER vector100
  94. #define SPC5_LINFLEX1_ERR_HANDLER vector101
  95. #define SPC5_LINFLEX1_RXI_NUMBER 99
  96. #define SPC5_LINFLEX1_TXI_NUMBER 100
  97. #define SPC5_LINFLEX1_ERR_NUMBER 101
  98. #define SPC5_LINFLEX1_CLK (halSPCGetSystemClock() / \
  99. SPC5_SYSCLK_DIVIDER_VALUE)
  100. #define SPC5_HAS_LINFLEX2 FALSE
  101. #define SPC5_HAS_LINFLEX3 FALSE
  102. #define SPC5_HAS_LINFLEX4 FALSE
  103. #define SPC5_HAS_LINFLEX5 FALSE
  104. #define SPC5_HAS_LINFLEX6 FALSE
  105. #define SPC5_HAS_LINFLEX7 FALSE
  106. #define SPC5_HAS_LINFLEX8 FALSE
  107. #define SPC5_HAS_LINFLEX9 FALSE
  108. /* SIUL attributes.*/
  109. #define SPC5_HAS_SIUL TRUE
  110. #define SPC5_SIUL_NUM_PORTS 8
  111. #define SPC5_SIUL_NUM_PCRS 133
  112. #define SPC5_SIUL_NUM_PADSELS 44
  113. /** @} */
  114. /* FlexPWM attributes.*/
  115. #define SPC5_HAS_FLEXPWM0 TRUE
  116. #define SPC5_FLEXPWM0_PCTL 41
  117. #define SPC5_FLEXPWM0_RF0_HANDLER vector179
  118. #define SPC5_FLEXPWM0_COF0_HANDLER vector180
  119. #define SPC5_FLEXPWM0_CAF0_HANDLER vector181
  120. #define SPC5_FLEXPWM0_RF1_HANDLER vector182
  121. #define SPC5_FLEXPWM0_COF1_HANDLER vector183
  122. #define SPC5_FLEXPWM0_CAF1_HANDLER vector184
  123. #define SPC5_FLEXPWM0_RF2_HANDLER vector185
  124. #define SPC5_FLEXPWM0_COF2_HANDLER vector186
  125. #define SPC5_FLEXPWM0_CAF2_HANDLER vector187
  126. #define SPC5_FLEXPWM0_RF3_HANDLER vector188
  127. #define SPC5_FLEXPWM0_COF3_HANDLER vector189
  128. #define SPC5_FLEXPWM0_CAF3_HANDLER vector190
  129. #define SPC5_FLEXPWM0_FFLAG_HANDLER vector191
  130. #define SPC5_FLEXPWM0_REF_HANDLER vector192
  131. #define SPC5_FLEXPWM0_RF0_NUMBER 179
  132. #define SPC5_FLEXPWM0_COF0_NUMBER 180
  133. #define SPC5_FLEXPWM0_CAF0_NUMBER 181
  134. #define SPC5_FLEXPWM0_RF1_NUMBER 182
  135. #define SPC5_FLEXPWM0_COF1_NUMBER 183
  136. #define SPC5_FLEXPWM0_CAF1_NUMBER 184
  137. #define SPC5_FLEXPWM0_RF2_NUMBER 185
  138. #define SPC5_FLEXPWM0_COF2_NUMBER 186
  139. #define SPC5_FLEXPWM0_CAF2_NUMBER 187
  140. #define SPC5_FLEXPWM0_RF3_NUMBER 188
  141. #define SPC5_FLEXPWM0_COF3_NUMBER 189
  142. #define SPC5_FLEXPWM0_CAF3_NUMBER 190
  143. #define SPC5_FLEXPWM0_FFLAG_NUMBER 191
  144. #define SPC5_FLEXPWM0_REF_NUMBER 192
  145. #define SPC5_FLEXPWM0_CLK SPC5_MCONTROL_CLK
  146. #define SPC5_HAS_FLEXPWM1 TRUE
  147. #define SPC5_FLEXPWM1_PCTL 42
  148. #define SPC5_FLEXPWM1_RF0_HANDLER vector233
  149. #define SPC5_FLEXPWM1_COF0_HANDLER vector234
  150. #define SPC5_FLEXPWM1_CAF0_HANDLER vector235
  151. #define SPC5_FLEXPWM1_RF1_HANDLER vector236
  152. #define SPC5_FLEXPWM1_COF1_HANDLER vector237
  153. #define SPC5_FLEXPWM1_CAF1_HANDLER vector238
  154. #define SPC5_FLEXPWM1_RF2_HANDLER vector239
  155. #define SPC5_FLEXPWM1_COF2_HANDLER vector240
  156. #define SPC5_FLEXPWM1_CAF2_HANDLER vector241
  157. #define SPC5_FLEXPWM1_RF3_HANDLER vector242
  158. #define SPC5_FLEXPWM1_COF3_HANDLER vector243
  159. #define SPC5_FLEXPWM1_CAF3_HANDLER vector244
  160. #define SPC5_FLEXPWM1_FFLAG_HANDLER vector245
  161. #define SPC5_FLEXPWM1_REF_HANDLER vector246
  162. #define SPC5_FLEXPWM1_RF0_NUMBER 233
  163. #define SPC5_FLEXPWM1_COF0_NUMBER 234
  164. #define SPC5_FLEXPWM1_CAF0_NUMBER 235
  165. #define SPC5_FLEXPWM1_RF1_NUMBER 236
  166. #define SPC5_FLEXPWM1_COF1_NUMBER 237
  167. #define SPC5_FLEXPWM1_CAF1_NUMBER 238
  168. #define SPC5_FLEXPWM1_RF2_NUMBER 239
  169. #define SPC5_FLEXPWM1_COF2_NUMBER 240
  170. #define SPC5_FLEXPWM1_CAF2_NUMBER 241
  171. #define SPC5_FLEXPWM1_RF3_NUMBER 242
  172. #define SPC5_FLEXPWM1_COF3_NUMBER 243
  173. #define SPC5_FLEXPWM1_CAF3_NUMBER 244
  174. #define SPC5_FLEXPWM1_FFLAG_NUMBER 245
  175. #define SPC5_FLEXPWM1_REF_NUMBER 246
  176. #define SPC5_FLEXPWM1_CLK SPC5_MCONTROL_CLK
  177. /* eTimer attributes.*/
  178. #define SPC5_HAS_ETIMER0 TRUE
  179. #define SPC5_ETIMER0_PCTL 38
  180. #define SPC5_ETIMER0_TC0IR_HANDLER vector157
  181. #define SPC5_ETIMER0_TC1IR_HANDLER vector158
  182. #define SPC5_ETIMER0_TC2IR_HANDLER vector159
  183. #define SPC5_ETIMER0_TC3IR_HANDLER vector160
  184. #define SPC5_ETIMER0_TC4IR_HANDLER vector161
  185. #define SPC5_ETIMER0_TC5IR_HANDLER vector162
  186. #define SPC5_ETIMER0_WTIF_HANDLER vector165
  187. #define SPC5_ETIMER0_RCF_HANDLER vector167
  188. #define SPC5_ETIMER0_TC0IR_NUMBER 157
  189. #define SPC5_ETIMER0_TC1IR_NUMBER 158
  190. #define SPC5_ETIMER0_TC2IR_NUMBER 159
  191. #define SPC5_ETIMER0_TC3IR_NUMBER 160
  192. #define SPC5_ETIMER0_TC4IR_NUMBER 161
  193. #define SPC5_ETIMER0_TC5IR_NUMBER 162
  194. #define SPC5_ETIMER0_WTIF_NUMBER 165
  195. #define SPC5_ETIMER0_RCF_NUMBER 167
  196. #define SPC5_ETIMER0_CLK SPC5_MCONTROL_CLK
  197. #define SPC5_HAS_ETIMER1 TRUE
  198. #define SPC5_ETIMER1_PCTL 39
  199. #define SPC5_ETIMER1_TC0IR_HANDLER vector168
  200. #define SPC5_ETIMER1_TC1IR_HANDLER vector169
  201. #define SPC5_ETIMER1_TC2IR_HANDLER vector170
  202. #define SPC5_ETIMER1_TC3IR_HANDLER vector171
  203. #define SPC5_ETIMER1_TC4IR_HANDLER vector172
  204. #define SPC5_ETIMER1_TC5IR_HANDLER vector173
  205. #define SPC5_ETIMER1_RCF_HANDLER vector178
  206. #define SPC5_ETIMER1_TC0IR_NUMBER 168
  207. #define SPC5_ETIMER1_TC1IR_NUMBER 169
  208. #define SPC5_ETIMER1_TC2IR_NUMBER 170
  209. #define SPC5_ETIMER1_TC3IR_NUMBER 171
  210. #define SPC5_ETIMER1_TC4IR_NUMBER 172
  211. #define SPC5_ETIMER1_TC5IR_NUMBER 173
  212. #define SPC5_ETIMER1_RCF_NUMBER 178
  213. #define SPC5_ETIMER1_CLK SPC5_MCONTROL_CLK
  214. #define SPC5_HAS_ETIMER2 TRUE
  215. #define SPC5_ETIMER2_PCTL 40
  216. #define SPC5_ETIMER2_TC0IR_HANDLER vector222
  217. #define SPC5_ETIMER2_TC1IR_HANDLER vector223
  218. #define SPC5_ETIMER2_TC2IR_HANDLER vector224
  219. #define SPC5_ETIMER2_TC3IR_HANDLER vector225
  220. #define SPC5_ETIMER2_TC4IR_HANDLER vector226
  221. #define SPC5_ETIMER2_TC5IR_HANDLER vector227
  222. #define SPC5_ETIMER2_RCF_HANDLER vector232
  223. #define SPC5_ETIMER2_TC0IR_NUMBER 222
  224. #define SPC5_ETIMER2_TC1IR_NUMBER 223
  225. #define SPC5_ETIMER2_TC2IR_NUMBER 224
  226. #define SPC5_ETIMER2_TC3IR_NUMBER 225
  227. #define SPC5_ETIMER2_TC4IR_NUMBER 226
  228. #define SPC5_ETIMER2_TC5IR_NUMBER 227
  229. #define SPC5_ETIMER2_RCF_NUMBER 232
  230. #define SPC5_ETIMER2_CLK SPC5_MCONTROL_CLK
  231. #define SPC5_HAS_ETIMER3 FALSE
  232. /* FlexCAN attributes.*/
  233. #define SPC5_HAS_FLEXCAN0 TRUE
  234. #define SPC5_FLEXCAN0_PCTL 16
  235. #define SPC5_FLEXCAN0_MB 32
  236. #define SPC5_FLEXCAN0_SHARED_IRQ TRUE
  237. #define SPC5_FLEXCAN0_FLEXCAN_ESR_ERR_INT_HANDLER vector65
  238. #define SPC5_FLEXCAN0_FLEXCAN_ESR_BOFF_HANDLER vector66
  239. #define SPC5_FLEXCAN0_FLEXCAN_ESR_WAK_HANDLER vector67
  240. #define SPC5_FLEXCAN0_FLEXCAN_BUF_00_03_HANDLER vector68
  241. #define SPC5_FLEXCAN0_FLEXCAN_BUF_04_07_HANDLER vector69
  242. #define SPC5_FLEXCAN0_FLEXCAN_BUF_08_11_HANDLER vector70
  243. #define SPC5_FLEXCAN0_FLEXCAN_BUF_12_15_HANDLER vector71
  244. #define SPC5_FLEXCAN0_FLEXCAN_BUF_16_31_HANDLER vector72
  245. #define SPC5_FLEXCAN0_FLEXCAN_ESR_ERR_INT_NUMBER 65
  246. #define SPC5_FLEXCAN0_FLEXCAN_ESR_BOFF_NUMBER 66
  247. #define SPC5_FLEXCAN0_FLEXCAN_ESR_WAK_NUMBER 67
  248. #define SPC5_FLEXCAN0_FLEXCAN_BUF_00_03_NUMBER 68
  249. #define SPC5_FLEXCAN0_FLEXCAN_BUF_04_07_NUMBER 69
  250. #define SPC5_FLEXCAN0_FLEXCAN_BUF_08_11_NUMBER 70
  251. #define SPC5_FLEXCAN0_FLEXCAN_BUF_12_15_NUMBER 71
  252. #define SPC5_FLEXCAN0_FLEXCAN_BUF_16_31_NUMBER 72
  253. #define SPC5_FLEXCAN0_ENABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN0_PCTL, SPC5_CAN_FLEXCAN0_START_PCTL);
  254. #define SPC5_FLEXCAN0_DISABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN0_PCTL, SPC5_CAN_FLEXCAN0_STOP_PCTL);
  255. #define SPC5_HAS_FLEXCAN1 TRUE
  256. #define SPC5_FLEXCAN1_PCTL 17
  257. #define SPC5_FLEXCAN1_MB 32
  258. #define SPC5_FLEXCAN1_SHARED_IRQ TRUE
  259. #define SPC5_FLEXCAN1_FLEXCAN_ESR_ERR_INT_HANDLER vector85
  260. #define SPC5_FLEXCAN1_FLEXCAN_ESR_BOFF_HANDLER vector86
  261. #define SPC5_FLEXCAN1_FLEXCAN_ESR_WAK_HANDLER vector87
  262. #define SPC5_FLEXCAN1_FLEXCAN_BUF_00_03_HANDLER vector88
  263. #define SPC5_FLEXCAN1_FLEXCAN_BUF_04_07_HANDLER vector89
  264. #define SPC5_FLEXCAN1_FLEXCAN_BUF_08_11_HANDLER vector90
  265. #define SPC5_FLEXCAN1_FLEXCAN_BUF_12_15_HANDLER vector91
  266. #define SPC5_FLEXCAN1_FLEXCAN_BUF_16_31_HANDLER vector92
  267. #define SPC5_FLEXCAN1_FLEXCAN_ESR_ERR_INT_NUMBER 85
  268. #define SPC5_FLEXCAN1_FLEXCAN_ESR_BOFF_NUMBER 86
  269. #define SPC5_FLEXCAN1_FLEXCAN_ESR_WAK_NUMBER 87
  270. #define SPC5_FLEXCAN1_FLEXCAN_BUF_00_03_NUMBER 88
  271. #define SPC5_FLEXCAN1_FLEXCAN_BUF_04_07_NUMBER 89
  272. #define SPC5_FLEXCAN1_FLEXCAN_BUF_08_11_NUMBER 90
  273. #define SPC5_FLEXCAN1_FLEXCAN_BUF_12_15_NUMBER 91
  274. #define SPC5_FLEXCAN1_FLEXCAN_BUF_16_31_NUMBER 92
  275. #define SPC5_FLEXCAN1_ENABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN1_PCTL, SPC5_CAN_FLEXCAN1_START_PCTL);
  276. #define SPC5_FLEXCAN1_DISABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN1_PCTL, SPC5_CAN_FLEXCAN1_STOP_PCTL);
  277. #if defined(_SPC56EL70L5_) || defined(_SPC564L70L5_) || defined(_SPC564L70L3_)
  278. #define SPC5_HAS_FLEXCAN2 TRUE
  279. #else
  280. #define SPC5_HAS_FLEXCAN2 FALSE
  281. #endif
  282. #define SPC5_FLEXCAN2_PCTL 18
  283. #define SPC5_FLEXCAN2_MB 32
  284. #define SPC5_FLEXCAN2_SHARED_IRQ TRUE
  285. #define SPC5_FLEXCAN2_FLEXCAN_ESR_ERR_INT_HANDLER vector105
  286. #define SPC5_FLEXCAN2_FLEXCAN_ESR_BOFF_HANDLER vector106
  287. #define SPC5_FLEXCAN2_FLEXCAN_ESR_WAK_HANDLER vector107
  288. #define SPC5_FLEXCAN2_FLEXCAN_BUF_00_03_HANDLER vector108
  289. #define SPC5_FLEXCAN2_FLEXCAN_BUF_04_07_HANDLER vector109
  290. #define SPC5_FLEXCAN2_FLEXCAN_BUF_08_11_HANDLER vector110
  291. #define SPC5_FLEXCAN2_FLEXCAN_BUF_12_15_HANDLER vector111
  292. #define SPC5_FLEXCAN2_FLEXCAN_BUF_16_31_HANDLER vector112
  293. #define SPC5_FLEXCAN2_FLEXCAN_ESR_ERR_INT_NUMBER 105
  294. #define SPC5_FLEXCAN2_FLEXCAN_ESR_BOFF_NUMBER 106
  295. #define SPC5_FLEXCAN2_FLEXCAN_ESR_WAK_NUMBER 107
  296. #define SPC5_FLEXCAN2_FLEXCAN_BUF_00_03_NUMBER 108
  297. #define SPC5_FLEXCAN2_FLEXCAN_BUF_04_07_NUMBER 109
  298. #define SPC5_FLEXCAN2_FLEXCAN_BUF_08_11_NUMBER 110
  299. #define SPC5_FLEXCAN2_FLEXCAN_BUF_12_15_NUMBER 111
  300. #define SPC5_FLEXCAN2_FLEXCAN_BUF_16_31_NUMBER 112
  301. #define SPC5_FLEXCAN2_ENABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN2_PCTL, SPC5_CAN_FLEXCAN2_START_PCTL);
  302. #define SPC5_FLEXCAN2_DISABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN2_PCTL, SPC5_CAN_FLEXCAN2_STOP_PCTL);
  303. /* ADC attributes.*/
  304. #define SPC5_ADC_HAS_TRC FALSE
  305. #define SPC5_HAS_ADC0 TRUE
  306. #define SPC5_ADC_ADC0_HAS_CTR0 TRUE
  307. #define SPC5_ADC_ADC0_HAS_CTR1 TRUE
  308. #define SPC5_ADC_ADC0_HAS_CTR2 FALSE
  309. #define SPC5_ADC_ADC0_HAS_NCMR0 TRUE
  310. #define SPC5_ADC_ADC0_HAS_NCMR1 FALSE
  311. #define SPC5_ADC_ADC0_HAS_NCMR2 FALSE
  312. #define SPC5_ADC_ADC0_HAS_THRHLR0 TRUE
  313. #define SPC5_ADC_ADC0_HAS_THRHLR1 TRUE
  314. #define SPC5_ADC_ADC0_HAS_THRHLR2 TRUE
  315. #define SPC5_ADC_ADC0_HAS_THRHLR3 TRUE
  316. #define SPC5_ADC_ADC0_HAS_THRHLR4 TRUE
  317. #define SPC5_ADC_ADC0_HAS_THRHLR5 TRUE
  318. #define SPC5_ADC_ADC0_HAS_THRHLR6 TRUE
  319. #define SPC5_ADC_ADC0_HAS_THRHLR7 TRUE
  320. #define SPC5_ADC_ADC0_HAS_THRHLR8 TRUE
  321. #define SPC5_ADC_ADC0_HAS_THRHLR9 TRUE
  322. #define SPC5_ADC_ADC0_HAS_THRHLR10 TRUE
  323. #define SPC5_ADC_ADC0_HAS_THRHLR11 TRUE
  324. #define SPC5_ADC_ADC0_HAS_THRHLR12 TRUE
  325. #define SPC5_ADC_ADC0_HAS_THRHLR13 TRUE
  326. #define SPC5_ADC_ADC0_HAS_THRHLR14 TRUE
  327. #define SPC5_ADC_ADC0_HAS_THRHLR15 TRUE
  328. #define SPC5_ADC_ADC0_HAS_CWENR0 TRUE
  329. #define SPC5_ADC_ADC0_HAS_CWENR1 FALSE
  330. #define SPC5_ADC_ADC0_HAS_CWENR2 FALSE
  331. #define SPC5_ADC_ADC0_HAS_CWSEL0 TRUE
  332. #define SPC5_ADC_ADC0_HAS_CWSEL1 TRUE
  333. #define SPC5_ADC_ADC0_HAS_CWSEL2 FALSE
  334. #define SPC5_ADC_ADC0_HAS_CWSEL3 FALSE
  335. #define SPC5_ADC_ADC0_HAS_CWSEL4 FALSE
  336. #define SPC5_ADC_ADC0_HAS_CWSEL5 FALSE
  337. #define SPC5_ADC_ADC0_HAS_CWSEL6 FALSE
  338. #define SPC5_ADC_ADC0_HAS_CWSEL7 FALSE
  339. #define SPC5_ADC_ADC0_HAS_CWSEL8 FALSE
  340. #define SPC5_ADC_ADC0_HAS_CWSEL9 FALSE
  341. #define SPC5_ADC_ADC0_HAS_CWSEL10 FALSE
  342. #define SPC5_ADC_ADC0_HAS_CWSEL11 FALSE
  343. #define SPC5_ADC_ADC0_HAS_CIMR0 TRUE
  344. #define SPC5_ADC_ADC0_HAS_CIMR1 FALSE
  345. #define SPC5_ADC_ADC0_HAS_CIMR2 FALSE
  346. #define SPC5_ADC_ADC0_HAS_CEOCFR0 TRUE
  347. #define SPC5_ADC_ADC0_HAS_CEOCFR1 FALSE
  348. #define SPC5_ADC_ADC0_HAS_CEOCFR2 FALSE
  349. #define SPC5_ADC0_PCTL 32
  350. #define SPC5_ADC0_DMA_DEV_ID 20
  351. #define SPC5_ADC0_EOC_HANDLER vector62
  352. #define SPC5_ADC0_EOC_NUMBER 62
  353. #define SPC5_ADC0_WD_HANDLER vector64
  354. #define SPC5_ADC0_WD_NUMBER 64
  355. #define SPC5_HAS_ADC1 TRUE
  356. #define SPC5_ADC_ADC1_HAS_CTR0 TRUE
  357. #define SPC5_ADC_ADC1_HAS_CTR1 TRUE
  358. #define SPC5_ADC_ADC1_HAS_CTR2 FALSE
  359. #define SPC5_ADC_ADC1_HAS_NCMR0 TRUE
  360. #define SPC5_ADC_ADC1_HAS_NCMR1 FALSE
  361. #define SPC5_ADC_ADC1_HAS_NCMR2 FALSE
  362. #define SPC5_ADC_ADC1_HAS_THRHLR0 TRUE
  363. #define SPC5_ADC_ADC1_HAS_THRHLR1 TRUE
  364. #define SPC5_ADC_ADC1_HAS_THRHLR2 TRUE
  365. #define SPC5_ADC_ADC1_HAS_THRHLR3 TRUE
  366. #define SPC5_ADC_ADC1_HAS_THRHLR4 TRUE
  367. #define SPC5_ADC_ADC1_HAS_THRHLR5 TRUE
  368. #define SPC5_ADC_ADC1_HAS_THRHLR6 TRUE
  369. #define SPC5_ADC_ADC1_HAS_THRHLR7 TRUE
  370. #define SPC5_ADC_ADC1_HAS_THRHLR8 TRUE
  371. #define SPC5_ADC_ADC1_HAS_THRHLR9 TRUE
  372. #define SPC5_ADC_ADC1_HAS_THRHLR10 TRUE
  373. #define SPC5_ADC_ADC1_HAS_THRHLR11 TRUE
  374. #define SPC5_ADC_ADC1_HAS_THRHLR12 TRUE
  375. #define SPC5_ADC_ADC1_HAS_THRHLR13 TRUE
  376. #define SPC5_ADC_ADC1_HAS_THRHLR14 TRUE
  377. #define SPC5_ADC_ADC1_HAS_THRHLR15 TRUE
  378. #define SPC5_ADC_ADC1_HAS_CWENR0 TRUE
  379. #define SPC5_ADC_ADC1_HAS_CWENR1 FALSE
  380. #define SPC5_ADC_ADC1_HAS_CWENR2 FALSE
  381. #define SPC5_ADC_ADC1_HAS_CWSEL0 TRUE
  382. #define SPC5_ADC_ADC1_HAS_CWSEL1 TRUE
  383. #define SPC5_ADC_ADC1_HAS_CWSEL2 FALSE
  384. #define SPC5_ADC_ADC1_HAS_CWSEL3 FALSE
  385. #define SPC5_ADC_ADC1_HAS_CWSEL4 FALSE
  386. #define SPC5_ADC_ADC1_HAS_CWSEL5 FALSE
  387. #define SPC5_ADC_ADC1_HAS_CWSEL6 FALSE
  388. #define SPC5_ADC_ADC1_HAS_CWSEL7 FALSE
  389. #define SPC5_ADC_ADC1_HAS_CWSEL8 FALSE
  390. #define SPC5_ADC_ADC1_HAS_CWSEL9 FALSE
  391. #define SPC5_ADC_ADC1_HAS_CWSEL10 FALSE
  392. #define SPC5_ADC_ADC1_HAS_CWSEL11 FALSE
  393. #define SPC5_ADC_ADC1_HAS_CIMR0 TRUE
  394. #define SPC5_ADC_ADC1_HAS_CIMR1 FALSE
  395. #define SPC5_ADC_ADC1_HAS_CIMR2 FALSE
  396. #define SPC5_ADC_ADC1_HAS_CEOCFR0 TRUE
  397. #define SPC5_ADC_ADC1_HAS_CEOCFR1 FALSE
  398. #define SPC5_ADC_ADC1_HAS_CEOCFR2 FALSE
  399. #define SPC5_ADC1_PCTL 33
  400. #define SPC5_ADC1_DMA_DEV_ID 21
  401. #define SPC5_ADC1_EOC_HANDLER vector82
  402. #define SPC5_ADC1_EOC_NUMBER 82
  403. #define SPC5_ADC1_WD_HANDLER vector84
  404. #define SPC5_ADC1_WD_NUMBER 84
  405. /** @} */
  406. #endif /* SPC5_REGISTRY_H */
  407. /** @} */