spc5_registry.h 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  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 SPC560Pxx/spc5_registry.h
  15. * @brief SPC560Pxx 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(_SPC560P34L1_) || defined(_SPC560P34L3_)
  26. #define _SPC560P34_
  27. #define _SPC560PXX_SMALL_
  28. #elif defined(_SPC560P40L1_) || defined(_SPC560P40L3_)
  29. #define _SPC560P40_
  30. #define _SPC560PXX_SMALL_
  31. #elif defined(_SPC560P44L3_) || defined(_SPC560P44L5_)
  32. #define _SPC560P44_
  33. #define _SPC560PXX_MEDIUM_
  34. #elif defined(_SPC560P50L3_) || defined(_SPC560P50L5_)
  35. #define _SPC560P50_
  36. #define _SPC560PXX_MEDIUM_
  37. #elif defined(_SPC560P54L3_) || defined(_SPC560P54L5_) || \
  38. defined(_SPC56AP54L3_) || defined(_SPC56AP54L5_)
  39. #define _SPC560P54_
  40. #define _SPC560PXX_LARGE_
  41. #elif defined(_SPC560P60L3_) || defined(_SPC560P60L5_) || \
  42. defined(_SPC56AP60L3_) || defined(_SPC56AP60L5_)
  43. #define _SPC560P60_
  44. #define _SPC560PXX_LARGE_
  45. #else
  46. #error "SPC56xPxx platform not defined"
  47. #endif
  48. /*===========================================================================*/
  49. /* Platform capabilities. */
  50. /*===========================================================================*/
  51. /**
  52. * @name SPC560Pxx capabilities
  53. * @{
  54. */
  55. /* Clock attributes.*/
  56. #if defined(_SPC560PXX_SMALL_)
  57. #define SPC5_HAS_FMPLL1 FALSE
  58. #define SPC5_HAS_CLOCKOUT TRUE
  59. #define SPC5_HAS_AC0 FALSE
  60. #define SPC5_HAS_AC1 FALSE
  61. #define SPC5_HAS_AC2 FALSE
  62. #define SPC5_HAS_AC3 FALSE
  63. #define SPC5_HAS_CMU0 TRUE
  64. #define SPC5_HAS_CMU1 FALSE
  65. #elif defined(_SPC560PXX_MEDIUM_)
  66. #define SPC5_HAS_FMPLL1 TRUE
  67. #define SPC5_HAS_CLOCKOUT TRUE
  68. #define SPC5_HAS_AC0 TRUE
  69. #define SPC5_HAS_AC1 TRUE
  70. #define SPC5_HAS_AC2 TRUE
  71. #define SPC5_HAS_AC3 TRUE
  72. #define SPC5_HAS_CMU0 TRUE
  73. #define SPC5_HAS_CMU1 TRUE
  74. #else /* defined(_SPC560PXX_LARGE_) */
  75. #define SPC5_HAS_FMPLL1 FALSE
  76. #define SPC5_HAS_CLOCKOUT TRUE
  77. #define SPC5_HAS_AC0 FALSE
  78. #define SPC5_HAS_AC1 FALSE
  79. #define SPC5_HAS_AC2 FALSE
  80. #define SPC5_HAS_AC3 TRUE
  81. #define SPC5_HAS_CMU0 TRUE
  82. #define SPC5_HAS_CMU1 TRUE
  83. #endif
  84. /* DSPI attribures.*/
  85. #define SPC5_HAS_DSPI0 TRUE
  86. #define SPC5_HAS_DSPI1 TRUE
  87. #define SPC5_HAS_DSPI2 TRUE
  88. #define SPC5_DSPI_FIFO_DEPTH 5
  89. #define SPC5_DSPI0_PCTL 4
  90. #define SPC5_DSPI1_PCTL 5
  91. #define SPC5_DSPI2_PCTL 6
  92. #define SPC5_DSPI0_TX1_DMA_DEV_ID 1
  93. #define SPC5_DSPI0_TX2_DMA_DEV_ID 0
  94. #define SPC5_DSPI0_RX_DMA_DEV_ID 2
  95. #define SPC5_DSPI1_TX1_DMA_DEV_ID 3
  96. #define SPC5_DSPI1_TX2_DMA_DEV_ID 0
  97. #define SPC5_DSPI1_RX_DMA_DEV_ID 4
  98. #define SPC5_DSPI2_TX1_DMA_DEV_ID 5
  99. #define SPC5_DSPI2_TX2_DMA_DEV_ID 0
  100. #define SPC5_DSPI2_RX_DMA_DEV_ID 6
  101. #define SPC5_DSPI0_TFFF_HANDLER vector76
  102. #define SPC5_DSPI0_TFFF_NUMBER 76
  103. #define SPC5_DSPI0_RFDF_HANDLER vector78
  104. #define SPC5_DSPI0_RFDF_NUMBER 78
  105. #define SPC5_DSPI1_TFFF_HANDLER vector96
  106. #define SPC5_DSPI1_TFFF_NUMBER 96
  107. #define SPC5_DSPI1_RFDF_HANDLER vector98
  108. #define SPC5_DSPI1_RFDF_NUMBER 98
  109. #define SPC5_DSPI2_TFFF_HANDLER vector116
  110. #define SPC5_DSPI2_TFFF_NUMBER 116
  111. #define SPC5_DSPI2_RFDF_HANDLER vector118
  112. #define SPC5_DSPI2_RFDF_NUMBER 118
  113. #define SPC5_DSPI0_ENABLE_CLOCK() \
  114. halSPCSetPeripheralClockMode(SPC5_DSPI0_PCTL, SPC5_SPI_DSPI0_START_PCTL)
  115. #define SPC5_DSPI0_DISABLE_CLOCK() \
  116. halSPCSetPeripheralClockMode(SPC5_DSPI0_PCTL, SPC5_SPI_DSPI0_STOP_PCTL)
  117. #define SPC5_DSPI1_ENABLE_CLOCK() \
  118. halSPCSetPeripheralClockMode(SPC5_DSPI1_PCTL, SPC5_SPI_DSPI1_START_PCTL)
  119. #define SPC5_DSPI1_DISABLE_CLOCK() \
  120. halSPCSetPeripheralClockMode(SPC5_DSPI1_PCTL, SPC5_SPI_DSPI1_STOP_PCTL)
  121. #define SPC5_DSPI2_ENABLE_CLOCK() \
  122. halSPCSetPeripheralClockMode(SPC5_DSPI2_PCTL, SPC5_SPI_DSPI2_START_PCTL)
  123. #define SPC5_DSPI2_DISABLE_CLOCK() \
  124. halSPCSetPeripheralClockMode(SPC5_DSPI2_PCTL, SPC5_SPI_DSPI2_STOP_PCTL)
  125. #if defined(_SPC560PXX_MEDIUM_) || defined(_SPC560PXX_LARGE_)
  126. #define SPC5_HAS_DSPI3 TRUE
  127. #define SPC5_DSPI3_PCTL 7
  128. #define SPC5_DSPI3_TX1_DMA_DEV_ID 7
  129. #define SPC5_DSPI3_TX2_DMA_DEV_ID 0
  130. #define SPC5_DSPI3_RX_DMA_DEV_ID 8
  131. #define SPC5_DSPI3_TFFF_HANDLER vector219
  132. #define SPC5_DSPI3_TFFF_NUMBER 219
  133. #define SPC5_DSPI3_RFDF_HANDLER vector221
  134. #define SPC5_DSPI3_RFDF_NUMBER 221
  135. #define SPC5_DSPI3_ENABLE_CLOCK() \
  136. halSPCSetPeripheralClockMode(SPC5_DSPI3_PCTL, SPC5_SPI_DSPI3_START_PCTL)
  137. #define SPC5_DSPI3_DISABLE_CLOCK() \
  138. halSPCSetPeripheralClockMode(SPC5_DSPI3_PCTL, SPC5_SPI_DSPI3_STOP_PCTL)
  139. #else
  140. #define SPC5_HAS_DSPI3 FALSE
  141. #endif
  142. #if defined(_SPC560PXX_LARGE_)
  143. #define SPC5_HAS_DSPI4 TRUE
  144. #define SPC5_DSPI4_PCTL 8
  145. #define SPC5_DSPI4_TX1_DMA_DEV_ID 15
  146. #define SPC5_DSPI4_TX2_DMA_DEV_ID 0
  147. #define SPC5_DSPI4_RX_DMA_DEV_ID 21
  148. #define SPC5_DSPI4_TFFF_HANDLER vector258
  149. #define SPC5_DSPI4_TFFF_NUMBER 258
  150. #define SPC5_DSPI4_RFDF_HANDLER vector260
  151. #define SPC5_DSPI4_RFDF_NUMBER 260
  152. #define SPC5_DSPI4_ENABLE_CLOCK() \
  153. halSPCSetPeripheralClockMode(SPC5_DSPI4_PCTL, SPC5_SPI_DSPI4_START_PCTL)
  154. #define SPC5_DSPI4_DISABLE_CLOCK() \
  155. halSPCSetPeripheralClockMode(SPC5_DSPI0_PCTL, SPC5_SPI_DSPI4_STOP_PCTL)
  156. #else
  157. #define SPC5_HAS_DSPI4 FALSE
  158. #endif
  159. #define SPC5_HAS_DSPI5 FALSE
  160. #define SPC5_HAS_DSPI6 FALSE
  161. #define SPC5_HAS_DSPI7 FALSE
  162. /* eDMA attributes.*/
  163. #define SPC5_HAS_EDMA TRUE
  164. #define SPC5_EDMA_NCHANNELS 16
  165. #define SPC5_EDMA_HAS_MUX TRUE
  166. /* LINFlex attributes.*/
  167. #define SPC5_HAS_LINFLEX0 TRUE
  168. #define SPC5_LINFLEX0_PCTL 48
  169. #define SPC5_LINFLEX0_RXI_HANDLER vector79
  170. #define SPC5_LINFLEX0_TXI_HANDLER vector80
  171. #define SPC5_LINFLEX0_ERR_HANDLER vector81
  172. #define SPC5_LINFLEX0_RXI_NUMBER 79
  173. #define SPC5_LINFLEX0_TXI_NUMBER 80
  174. #define SPC5_LINFLEX0_ERR_NUMBER 81
  175. #define SPC5_LINFLEX0_CLK (halSPCGetSystemClock() / 1)
  176. #define SPC5_HAS_LINFLEX1 TRUE
  177. #define SPC5_LINFLEX1_PCTL 49
  178. #define SPC5_LINFLEX1_RXI_HANDLER vector99
  179. #define SPC5_LINFLEX1_TXI_HANDLER vector100
  180. #define SPC5_LINFLEX1_ERR_HANDLER vector101
  181. #define SPC5_LINFLEX1_RXI_NUMBER 99
  182. #define SPC5_LINFLEX1_TXI_NUMBER 100
  183. #define SPC5_LINFLEX1_ERR_NUMBER 101
  184. #define SPC5_LINFLEX1_CLK (halSPCGetSystemClock() / 1)
  185. #define SPC5_HAS_LINFLEX2 FALSE
  186. #define SPC5_HAS_LINFLEX3 FALSE
  187. #define SPC5_HAS_LINFLEX4 FALSE
  188. #define SPC5_HAS_LINFLEX5 FALSE
  189. #define SPC5_HAS_LINFLEX6 FALSE
  190. #define SPC5_HAS_LINFLEX7 FALSE
  191. #define SPC5_HAS_LINFLEX8 FALSE
  192. #define SPC5_HAS_LINFLEX9 FALSE
  193. /* SIUL attributes.*/
  194. #define SPC5_HAS_SIUL TRUE
  195. #define SPC5_SIUL_NUM_PORTS 8
  196. #if defined(_SPC560PXX_SMALL_)
  197. #define SPC5_SIUL_NUM_PCRS 72
  198. #else
  199. #define SPC5_SIUL_NUM_PCRS 108
  200. #endif
  201. #define SPC5_SIUL_NUM_PADSELS 36
  202. /* FlexPWM attributes.*/
  203. #if defined(_SPC560PXX_SMALL_) || defined(_SPC560PXX_MEDIUM_)
  204. #define SPC5_HAS_FLEXPWM0 TRUE
  205. #define SPC5_FLEXPWM0_PCTL 41
  206. #define SPC5_FLEXPWM0_RF0_HANDLER vector179
  207. #define SPC5_FLEXPWM0_COF0_HANDLER vector180
  208. #define SPC5_FLEXPWM0_CAF0_HANDLER vector181
  209. #define SPC5_FLEXPWM0_RF1_HANDLER vector182
  210. #define SPC5_FLEXPWM0_COF1_HANDLER vector183
  211. #define SPC5_FLEXPWM0_CAF1_HANDLER vector184
  212. #define SPC5_FLEXPWM0_RF2_HANDLER vector185
  213. #define SPC5_FLEXPWM0_COF2_HANDLER vector186
  214. #define SPC5_FLEXPWM0_CAF2_HANDLER vector187
  215. #define SPC5_FLEXPWM0_RF3_HANDLER vector188
  216. #define SPC5_FLEXPWM0_COF3_HANDLER vector189
  217. #define SPC5_FLEXPWM0_CAF3_HANDLER vector190
  218. #define SPC5_FLEXPWM0_FFLAG_HANDLER vector191
  219. #define SPC5_FLEXPWM0_REF_HANDLER vector192
  220. #define SPC5_FLEXPWM0_RF0_NUMBER 179
  221. #define SPC5_FLEXPWM0_COF0_NUMBER 180
  222. #define SPC5_FLEXPWM0_CAF0_NUMBER 181
  223. #define SPC5_FLEXPWM0_RF1_NUMBER 182
  224. #define SPC5_FLEXPWM0_COF1_NUMBER 183
  225. #define SPC5_FLEXPWM0_CAF1_NUMBER 184
  226. #define SPC5_FLEXPWM0_RF2_NUMBER 185
  227. #define SPC5_FLEXPWM0_COF2_NUMBER 186
  228. #define SPC5_FLEXPWM0_CAF2_NUMBER 187
  229. #define SPC5_FLEXPWM0_RF3_NUMBER 188
  230. #define SPC5_FLEXPWM0_COF3_NUMBER 189
  231. #define SPC5_FLEXPWM0_CAF3_NUMBER 190
  232. #define SPC5_FLEXPWM0_FFLAG_NUMBER 191
  233. #define SPC5_FLEXPWM0_REF_NUMBER 192
  234. #define SPC5_FLEXPWM0_CLK SPC5_MCONTROL_CLK
  235. #else /* defined(_SPC560PXX_LARGE_) */
  236. #define SPC5_HAS_FLEXPWM0 FALSE
  237. #endif /* defined(_SPC560PXX_LARGE_) */
  238. #define SPC5_HAS_FLEXPWM1 FALSE
  239. /* eTimer attributes.*/
  240. #define SPC5_HAS_ETIMER0 TRUE
  241. #define SPC5_ETIMER0_PCTL 38
  242. #define SPC5_ETIMER0_TC0IR_HANDLER vector157
  243. #define SPC5_ETIMER0_TC1IR_HANDLER vector158
  244. #define SPC5_ETIMER0_TC2IR_HANDLER vector159
  245. #define SPC5_ETIMER0_TC3IR_HANDLER vector160
  246. #define SPC5_ETIMER0_TC4IR_HANDLER vector161
  247. #define SPC5_ETIMER0_TC5IR_HANDLER vector162
  248. #define SPC5_ETIMER0_WTIF_HANDLER vector165
  249. #define SPC5_ETIMER0_RCF_HANDLER vector167
  250. #define SPC5_ETIMER0_TC0IR_NUMBER 157
  251. #define SPC5_ETIMER0_TC1IR_NUMBER 158
  252. #define SPC5_ETIMER0_TC2IR_NUMBER 159
  253. #define SPC5_ETIMER0_TC3IR_NUMBER 160
  254. #define SPC5_ETIMER0_TC4IR_NUMBER 161
  255. #define SPC5_ETIMER0_TC5IR_NUMBER 162
  256. #define SPC5_ETIMER0_WTIF_NUMBER 165
  257. #define SPC5_ETIMER0_RCF_NUMBER 167
  258. #define SPC5_ETIMER0_CLK SPC5_MCONTROL_CLK
  259. #if defined(_SPC560PXX_MEDIUM_) || defined(_SPC560PXX_LARGE_)
  260. #define SPC5_HAS_ETIMER1 TRUE
  261. #define SPC5_ETIMER1_PCTL 39
  262. #define SPC5_ETIMER1_TC0IR_HANDLER vector168
  263. #define SPC5_ETIMER1_TC1IR_HANDLER vector169
  264. #define SPC5_ETIMER1_TC2IR_HANDLER vector170
  265. #define SPC5_ETIMER1_TC3IR_HANDLER vector171
  266. #define SPC5_ETIMER1_TC4IR_HANDLER vector172
  267. #define SPC5_ETIMER1_TC5IR_HANDLER vector173
  268. #define SPC5_ETIMER1_RCF_HANDLER vector178
  269. #define SPC5_ETIMER1_TC0IR_NUMBER 168
  270. #define SPC5_ETIMER1_TC1IR_NUMBER 169
  271. #define SPC5_ETIMER1_TC2IR_NUMBER 170
  272. #define SPC5_ETIMER1_TC3IR_NUMBER 171
  273. #define SPC5_ETIMER1_TC4IR_NUMBER 172
  274. #define SPC5_ETIMER1_TC5IR_NUMBER 173
  275. #define SPC5_ETIMER1_RCF_NUMBER 178
  276. #define SPC5_ETIMER1_CLK SPC5_MCONTROL_CLK
  277. #else /* !(defined(_SPC560PXX_MEDIUM_) || defined(_SPC560PXX_LARGE_)) */
  278. #define SPC5_HAS_ETIMER1 FALSE
  279. #endif /* !(defined(_SPC560PXX_MEDIUM_) || defined(_SPC560PXX_LARGE_)) */
  280. #define SPC5_HAS_ETIMER2 FALSE
  281. #define SPC5_HAS_ETIMER3 FALSE
  282. /* FlexCAN attributes.*/
  283. #define SPC5_HAS_FLEXCAN0 TRUE
  284. #define SPC5_FLEXCAN0_PCTL 16
  285. #define SPC5_FLEXCAN0_MB 32
  286. #define SPC5_FLEXCAN0_SHARED_IRQ TRUE
  287. #define SPC5_FLEXCAN0_FLEXCAN_ESR_ERR_INT_HANDLER vector65
  288. #define SPC5_FLEXCAN0_FLEXCAN_ESR_BOFF_HANDLER vector66
  289. #define SPC5_FLEXCAN0_FLEXCAN_ESR_WAK_HANDLER vector67
  290. #define SPC5_FLEXCAN0_FLEXCAN_BUF_00_03_HANDLER vector68
  291. #define SPC5_FLEXCAN0_FLEXCAN_BUF_04_07_HANDLER vector69
  292. #define SPC5_FLEXCAN0_FLEXCAN_BUF_08_11_HANDLER vector70
  293. #define SPC5_FLEXCAN0_FLEXCAN_BUF_12_15_HANDLER vector71
  294. #define SPC5_FLEXCAN0_FLEXCAN_BUF_16_31_HANDLER vector72
  295. #define SPC5_FLEXCAN0_FLEXCAN_ESR_ERR_INT_NUMBER 65
  296. #define SPC5_FLEXCAN0_FLEXCAN_ESR_BOFF_NUMBER 66
  297. #define SPC5_FLEXCAN0_FLEXCAN_ESR_WAK_NUMBER 67
  298. #define SPC5_FLEXCAN0_FLEXCAN_BUF_00_03_NUMBER 68
  299. #define SPC5_FLEXCAN0_FLEXCAN_BUF_04_07_NUMBER 69
  300. #define SPC5_FLEXCAN0_FLEXCAN_BUF_08_11_NUMBER 70
  301. #define SPC5_FLEXCAN0_FLEXCAN_BUF_12_15_NUMBER 71
  302. #define SPC5_FLEXCAN0_FLEXCAN_BUF_16_31_NUMBER 72
  303. #define SPC5_FLEXCAN0_ENABLE_CLOCK() \
  304. halSPCSetPeripheralClockMode(SPC5_FLEXCAN0_PCTL, SPC5_CAN_FLEXCAN0_START_PCTL)
  305. #define SPC5_FLEXCAN0_DISABLE_CLOCK() \
  306. halSPCSetPeripheralClockMode(SPC5_FLEXCAN0_PCTL, SPC5_CAN_FLEXCAN0_STOP_PCTL)
  307. /* ADC attributes.*/
  308. #define SPC5_ADC_HAS_TRC TRUE
  309. #define SPC5_HAS_ADC0 TRUE
  310. #define SPC5_ADC_ADC0_HAS_CTR0 TRUE
  311. #define SPC5_ADC_ADC0_HAS_CTR1 FALSE
  312. #define SPC5_ADC_ADC0_HAS_CTR2 FALSE
  313. #define SPC5_ADC_ADC0_HAS_NCMR0 TRUE
  314. #define SPC5_ADC_ADC0_HAS_NCMR1 FALSE
  315. #define SPC5_ADC_ADC0_HAS_NCMR2 FALSE
  316. #define SPC5_ADC_ADC0_HAS_THRHLR0 TRUE
  317. #define SPC5_ADC_ADC0_HAS_THRHLR1 TRUE
  318. #define SPC5_ADC_ADC0_HAS_THRHLR2 TRUE
  319. #define SPC5_ADC_ADC0_HAS_THRHLR3 TRUE
  320. #define SPC5_ADC_ADC0_HAS_CIMR0 FALSE
  321. #define SPC5_ADC_ADC0_HAS_CIMR1 FALSE
  322. #define SPC5_ADC_ADC0_HAS_CIMR2 FALSE
  323. #define SPC5_ADC_ADC0_HAS_CEOCFR0 FALSE
  324. #define SPC5_ADC_ADC0_HAS_CEOCFR1 FALSE
  325. #define SPC5_ADC_ADC0_HAS_CEOCFR2 FALSE
  326. #define SPC5_ADC0_PCTL 32
  327. #define SPC5_ADC0_DMA_DEV_ID 20
  328. #define SPC5_ADC0_EOC_HANDLER vector62
  329. #define SPC5_ADC0_EOC_NUMBER 62
  330. #define SPC5_ADC0_WD_HANDLER vector64
  331. #define SPC5_ADC0_WD_NUMBER 64
  332. #define SPC5_HAS_ADC1 TRUE
  333. #define SPC5_ADC_ADC1_HAS_CTR0 TRUE
  334. #define SPC5_ADC_ADC1_HAS_CTR1 FALSE
  335. #define SPC5_ADC_ADC1_HAS_CTR2 FALSE
  336. #define SPC5_ADC_ADC1_HAS_NCMR0 TRUE
  337. #define SPC5_ADC_ADC1_HAS_NCMR1 FALSE
  338. #define SPC5_ADC_ADC1_HAS_NCMR2 FALSE
  339. #define SPC5_ADC_ADC1_HAS_THRHLR0 TRUE
  340. #define SPC5_ADC_ADC1_HAS_THRHLR1 TRUE
  341. #define SPC5_ADC_ADC1_HAS_THRHLR2 TRUE
  342. #define SPC5_ADC_ADC1_HAS_THRHLR3 TRUE
  343. #define SPC5_ADC_ADC0_HAS_CIMR0 FALSE
  344. #define SPC5_ADC_ADC0_HAS_CIMR1 FALSE
  345. #define SPC5_ADC_ADC0_HAS_CIMR2 FALSE
  346. #define SPC5_ADC_ADC0_HAS_CEOCFR0 FALSE
  347. #define SPC5_ADC_ADC0_HAS_CEOCFR1 FALSE
  348. #define SPC5_ADC_ADC0_HAS_CEOCFR2 FALSE
  349. #define SPC5_ADC1_PCTL 33
  350. #define SPC5_ADC1_DMA_DEV_ID 21
  351. #define SPC5_ADC1_EOC_HANDLER vector82
  352. #define SPC5_ADC1_EOC_NUMBER 82
  353. #define SPC5_ADC1_WD_HANDLER vector84
  354. #define SPC5_ADC1_WD_NUMBER 84
  355. /** @} */
  356. #endif /* SPC5_REGISTRY_H */
  357. /** @} */