hpm_trgmmux_src.h 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. /*
  2. * Copyright (c) 2021-2023 HPMicro
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. *
  6. */
  7. #ifndef HPM_TRGMMUX_SRC_H
  8. #define HPM_TRGMMUX_SRC_H
  9. /* trgm0_input mux definitions */
  10. #define HPM_TRGM0_INPUT_SRC_VSS (0x0UL)
  11. #define HPM_TRGM0_INPUT_SRC_VDD (0x1UL)
  12. #define HPM_TRGM0_INPUT_SRC_TRGM0_P0 (0x2UL)
  13. #define HPM_TRGM0_INPUT_SRC_TRGM0_P1 (0x3UL)
  14. #define HPM_TRGM0_INPUT_SRC_TRGM0_P2 (0x4UL)
  15. #define HPM_TRGM0_INPUT_SRC_TRGM0_P3 (0x5UL)
  16. #define HPM_TRGM0_INPUT_SRC_TRGM0_P4 (0x6UL)
  17. #define HPM_TRGM0_INPUT_SRC_TRGM0_P5 (0x7UL)
  18. #define HPM_TRGM0_INPUT_SRC_TRGM0_P6 (0x8UL)
  19. #define HPM_TRGM0_INPUT_SRC_TRGM0_P7 (0x9UL)
  20. #define HPM_TRGM0_INPUT_SRC_TRGM0_P8 (0xAUL)
  21. #define HPM_TRGM0_INPUT_SRC_TRGM0_P9 (0xBUL)
  22. #define HPM_TRGM0_INPUT_SRC_TRGM0_P10 (0xCUL)
  23. #define HPM_TRGM0_INPUT_SRC_TRGM0_P11 (0xDUL)
  24. #define HPM_TRGM0_INPUT_SRC_TRGM1_OUTX0 (0x12UL)
  25. #define HPM_TRGM0_INPUT_SRC_TRGM1_OUTX1 (0x13UL)
  26. #define HPM_TRGM0_INPUT_SRC_PWM0_CH8REF (0x14UL)
  27. #define HPM_TRGM0_INPUT_SRC_PWM0_CH9REF (0x15UL)
  28. #define HPM_TRGM0_INPUT_SRC_PWM0_CH10REF (0x16UL)
  29. #define HPM_TRGM0_INPUT_SRC_PWM0_CH11REF (0x17UL)
  30. #define HPM_TRGM0_INPUT_SRC_PWM0_CH12REF (0x18UL)
  31. #define HPM_TRGM0_INPUT_SRC_PWM0_CH13REF (0x19UL)
  32. #define HPM_TRGM0_INPUT_SRC_PWM0_CH14REF (0x1AUL)
  33. #define HPM_TRGM0_INPUT_SRC_PWM0_CH15REF (0x1BUL)
  34. #define HPM_TRGM0_INPUT_SRC_PWM0_CH16REF (0x1CUL)
  35. #define HPM_TRGM0_INPUT_SRC_PWM0_CH17REF (0x1DUL)
  36. #define HPM_TRGM0_INPUT_SRC_PWM0_CH18REF (0x1EUL)
  37. #define HPM_TRGM0_INPUT_SRC_PWM0_CH19REF (0x1FUL)
  38. #define HPM_TRGM0_INPUT_SRC_PWM0_CH20REF (0x20UL)
  39. #define HPM_TRGM0_INPUT_SRC_PWM0_CH21REF (0x21UL)
  40. #define HPM_TRGM0_INPUT_SRC_PWM0_CH22REF (0x22UL)
  41. #define HPM_TRGM0_INPUT_SRC_PWM0_CH23REF (0x23UL)
  42. #define HPM_TRGM0_INPUT_SRC_QEI0_TRGO (0x24UL)
  43. #define HPM_TRGM0_INPUT_SRC_HALL0_TRGO (0x25UL)
  44. #define HPM_TRGM0_INPUT_SRC_USB0_SOF (0x26UL)
  45. #define HPM_TRGM0_INPUT_SRC_NTMR0_CH1_OUT (0x27UL)
  46. #define HPM_TRGM0_INPUT_SRC_ENET0_PTP_OUT3 (0x28UL)
  47. #define HPM_TRGM0_INPUT_SRC_NTMR0_CH0_OUT (0x29UL)
  48. #define HPM_TRGM0_INPUT_SRC_PTPC_CMP0 (0x2AUL)
  49. #define HPM_TRGM0_INPUT_SRC_PTPC_CMP1 (0x2BUL)
  50. #define HPM_TRGM0_INPUT_SRC_SYNT0_CH0 (0x2CUL)
  51. #define HPM_TRGM0_INPUT_SRC_SYNT0_CH1 (0x2DUL)
  52. #define HPM_TRGM0_INPUT_SRC_SYNT0_CH2 (0x2EUL)
  53. #define HPM_TRGM0_INPUT_SRC_SYNT0_CH3 (0x2FUL)
  54. #define HPM_TRGM0_INPUT_SRC_GPTMR0_OUT2 (0x30UL)
  55. #define HPM_TRGM0_INPUT_SRC_GPTMR0_OUT3 (0x31UL)
  56. #define HPM_TRGM0_INPUT_SRC_GPTMR1_OUT2 (0x32UL)
  57. #define HPM_TRGM0_INPUT_SRC_GPTMR1_OUT3 (0x33UL)
  58. #define HPM_TRGM0_INPUT_SRC_CMP0_OUT (0x34UL)
  59. #define HPM_TRGM0_INPUT_SRC_CMP1_OUT (0x35UL)
  60. #define HPM_TRGM0_INPUT_SRC_CMP2_OUT (0x36UL)
  61. #define HPM_TRGM0_INPUT_SRC_CMP3_OUT (0x37UL)
  62. #define HPM_TRGM0_INPUT_SRC_DEBUG_FLAG (0x38UL)
  63. /* trgm1_input mux definitions */
  64. #define HPM_TRGM1_INPUT_SRC_VSS (0x0UL)
  65. #define HPM_TRGM1_INPUT_SRC_VDD (0x1UL)
  66. #define HPM_TRGM1_INPUT_SRC_TRGM1_P0 (0x2UL)
  67. #define HPM_TRGM1_INPUT_SRC_TRGM1_P1 (0x3UL)
  68. #define HPM_TRGM1_INPUT_SRC_TRGM1_P2 (0x4UL)
  69. #define HPM_TRGM1_INPUT_SRC_TRGM1_P3 (0x5UL)
  70. #define HPM_TRGM1_INPUT_SRC_TRGM1_P4 (0x6UL)
  71. #define HPM_TRGM1_INPUT_SRC_TRGM1_P5 (0x7UL)
  72. #define HPM_TRGM1_INPUT_SRC_TRGM1_P6 (0x8UL)
  73. #define HPM_TRGM1_INPUT_SRC_TRGM1_P7 (0x9UL)
  74. #define HPM_TRGM1_INPUT_SRC_TRGM1_P8 (0xAUL)
  75. #define HPM_TRGM1_INPUT_SRC_TRGM1_P9 (0xBUL)
  76. #define HPM_TRGM1_INPUT_SRC_TRGM1_P10 (0xCUL)
  77. #define HPM_TRGM1_INPUT_SRC_TRGM1_P11 (0xDUL)
  78. #define HPM_TRGM1_INPUT_SRC_TRGM0_OUTX0 (0x12UL)
  79. #define HPM_TRGM1_INPUT_SRC_TRGM0_OUTX1 (0x13UL)
  80. #define HPM_TRGM1_INPUT_SRC_PWM1_CH8REF (0x14UL)
  81. #define HPM_TRGM1_INPUT_SRC_PWM1_CH9REF (0x15UL)
  82. #define HPM_TRGM1_INPUT_SRC_PWM1_CH10REF (0x16UL)
  83. #define HPM_TRGM1_INPUT_SRC_PWM1_CH11REF (0x17UL)
  84. #define HPM_TRGM1_INPUT_SRC_PWM1_CH12REF (0x18UL)
  85. #define HPM_TRGM1_INPUT_SRC_PWM1_CH13REF (0x19UL)
  86. #define HPM_TRGM1_INPUT_SRC_PWM1_CH14REF (0x1AUL)
  87. #define HPM_TRGM1_INPUT_SRC_PWM1_CH15REF (0x1BUL)
  88. #define HPM_TRGM1_INPUT_SRC_PWM1_CH16REF (0x1CUL)
  89. #define HPM_TRGM1_INPUT_SRC_PWM1_CH17REF (0x1DUL)
  90. #define HPM_TRGM1_INPUT_SRC_PWM1_CH18REF (0x1EUL)
  91. #define HPM_TRGM1_INPUT_SRC_PWM1_CH19REF (0x1FUL)
  92. #define HPM_TRGM1_INPUT_SRC_PWM1_CH20REF (0x20UL)
  93. #define HPM_TRGM1_INPUT_SRC_PWM1_CH21REF (0x21UL)
  94. #define HPM_TRGM1_INPUT_SRC_PWM1_CH22REF (0x22UL)
  95. #define HPM_TRGM1_INPUT_SRC_PWM1_CH23REF (0x23UL)
  96. #define HPM_TRGM1_INPUT_SRC_QEI1_TRGO (0x24UL)
  97. #define HPM_TRGM1_INPUT_SRC_HALL1_TRGO (0x25UL)
  98. #define HPM_TRGM1_INPUT_SRC_USB0_SOF (0x26UL)
  99. #define HPM_TRGM1_INPUT_SRC_NTMR0_CH1_OUT (0x27UL)
  100. #define HPM_TRGM1_INPUT_SRC_ENET0_PTP_OUT3 (0x28UL)
  101. #define HPM_TRGM1_INPUT_SRC_NTMR0_CH0_OUT (0x29UL)
  102. #define HPM_TRGM1_INPUT_SRC_PTPC_CMP0 (0x2AUL)
  103. #define HPM_TRGM1_INPUT_SRC_PTPC_CMP1 (0x2BUL)
  104. #define HPM_TRGM1_INPUT_SRC_SYNT0_CH0 (0x2CUL)
  105. #define HPM_TRGM1_INPUT_SRC_SYNT0_CH1 (0x2DUL)
  106. #define HPM_TRGM1_INPUT_SRC_SYNT0_CH2 (0x2EUL)
  107. #define HPM_TRGM1_INPUT_SRC_SYNT0_CH3 (0x2FUL)
  108. #define HPM_TRGM1_INPUT_SRC_GPTMR2_OUT2 (0x30UL)
  109. #define HPM_TRGM1_INPUT_SRC_GPTMR2_OUT3 (0x31UL)
  110. #define HPM_TRGM1_INPUT_SRC_GPTMR3_OUT2 (0x32UL)
  111. #define HPM_TRGM1_INPUT_SRC_GPTMR3_OUT3 (0x33UL)
  112. #define HPM_TRGM1_INPUT_SRC_CMP0_OUT (0x34UL)
  113. #define HPM_TRGM1_INPUT_SRC_CMP1_OUT (0x35UL)
  114. #define HPM_TRGM1_INPUT_SRC_CMP2_OUT (0x36UL)
  115. #define HPM_TRGM1_INPUT_SRC_CMP3_OUT (0x37UL)
  116. #define HPM_TRGM1_INPUT_SRC_DEBUG_FLAG (0x38UL)
  117. /* trgm0_output mux definitions */
  118. #define HPM_TRGM0_OUTPUT_SRC_TRGM0_P0 (0x0UL)
  119. #define HPM_TRGM0_OUTPUT_SRC_TRGM0_P1 (0x1UL)
  120. #define HPM_TRGM0_OUTPUT_SRC_TRGM0_P2 (0x2UL)
  121. #define HPM_TRGM0_OUTPUT_SRC_TRGM0_P3 (0x3UL)
  122. #define HPM_TRGM0_OUTPUT_SRC_TRGM0_P4 (0x4UL)
  123. #define HPM_TRGM0_OUTPUT_SRC_TRGM0_P5 (0x5UL)
  124. #define HPM_TRGM0_OUTPUT_SRC_TRGM0_P6 (0x6UL)
  125. #define HPM_TRGM0_OUTPUT_SRC_TRGM0_P7 (0x7UL)
  126. #define HPM_TRGM0_OUTPUT_SRC_TRGM0_P8 (0x8UL)
  127. #define HPM_TRGM0_OUTPUT_SRC_TRGM0_P9 (0x9UL)
  128. #define HPM_TRGM0_OUTPUT_SRC_TRGM0_P10 (0xAUL)
  129. #define HPM_TRGM0_OUTPUT_SRC_TRGM0_P11 (0xBUL)
  130. #define HPM_TRGM0_OUTPUT_SRC_TRGM0_OUTX0 (0xCUL)
  131. #define HPM_TRGM0_OUTPUT_SRC_TRGM0_OUTX1 (0xDUL)
  132. #define HPM_TRGM0_OUTPUT_SRC_PWM0_SYNCI (0xEUL)
  133. #define HPM_TRGM0_OUTPUT_SRC_PWM0_FRCI (0xFUL)
  134. #define HPM_TRGM0_OUTPUT_SRC_PWM0_FRCSYNCI (0x10UL)
  135. #define HPM_TRGM0_OUTPUT_SRC_PWM0_SHRLDSYNCI (0x11UL)
  136. #define HPM_TRGM0_OUTPUT_SRC_PWM0_FAULTI0 (0x12UL)
  137. #define HPM_TRGM0_OUTPUT_SRC_PWM0_FAULTI1 (0x13UL)
  138. #define HPM_TRGM0_OUTPUT_SRC_PWM0_FAULTI2 (0x14UL)
  139. #define HPM_TRGM0_OUTPUT_SRC_PWM0_FAULTI3 (0x15UL)
  140. #define HPM_TRGM0_OUTPUT_SRC_PWM0_IN8 (0x16UL)
  141. #define HPM_TRGM0_OUTPUT_SRC_PWM0_IN9 (0x17UL)
  142. #define HPM_TRGM0_OUTPUT_SRC_PWM0_IN10 (0x18UL)
  143. #define HPM_TRGM0_OUTPUT_SRC_PWM0_IN11 (0x19UL)
  144. #define HPM_TRGM0_OUTPUT_SRC_PWM0_IN12 (0x1AUL)
  145. #define HPM_TRGM0_OUTPUT_SRC_PWM0_IN13 (0x1BUL)
  146. #define HPM_TRGM0_OUTPUT_SRC_PWM0_IN14 (0x1CUL)
  147. #define HPM_TRGM0_OUTPUT_SRC_PWM0_IN15 (0x1DUL)
  148. #define HPM_TRGM0_OUTPUT_SRC_PWM0_IN16 (0x1EUL)
  149. #define HPM_TRGM0_OUTPUT_SRC_PWM0_IN17 (0x1FUL)
  150. #define HPM_TRGM0_OUTPUT_SRC_PWM0_IN18 (0x20UL)
  151. #define HPM_TRGM0_OUTPUT_SRC_PWM0_IN19 (0x21UL)
  152. #define HPM_TRGM0_OUTPUT_SRC_PWM0_IN20 (0x22UL)
  153. #define HPM_TRGM0_OUTPUT_SRC_PWM0_IN21 (0x23UL)
  154. #define HPM_TRGM0_OUTPUT_SRC_PWM0_IN22 (0x24UL)
  155. #define HPM_TRGM0_OUTPUT_SRC_PWM0_IN23 (0x25UL)
  156. #define HPM_TRGM0_OUTPUT_SRC_QEI0_A (0x26UL)
  157. #define HPM_TRGM0_OUTPUT_SRC_QEI0_B (0x27UL)
  158. #define HPM_TRGM0_OUTPUT_SRC_QEI0_Z (0x28UL)
  159. #define HPM_TRGM0_OUTPUT_SRC_QEI0_H (0x29UL)
  160. #define HPM_TRGM0_OUTPUT_SRC_QEI0_PAUSE (0x2AUL)
  161. #define HPM_TRGM0_OUTPUT_SRC_QEI0_SNAPI (0x2BUL)
  162. #define HPM_TRGM0_OUTPUT_SRC_HALL0_U (0x2CUL)
  163. #define HPM_TRGM0_OUTPUT_SRC_HALL0_V (0x2DUL)
  164. #define HPM_TRGM0_OUTPUT_SRC_HALL0_W (0x2EUL)
  165. #define HPM_TRGM0_OUTPUT_SRC_HALL0_SNAPI (0x2FUL)
  166. #define HPM_TRGM0_OUTPUT_SRC_ADC0_STRGI_ADCX_PTRGI2A (0x30UL)
  167. #define HPM_TRGM0_OUTPUT_SRC_ADC1_STRGI_ADCX_PTRGI2B (0x31UL)
  168. #define HPM_TRGM0_OUTPUT_SRC_ADC2_STRGI_ADCX_PTRGI2C (0x32UL)
  169. #define HPM_TRGM0_OUTPUT_SRC_DAC_BUFF_TRIGGER (0x33UL)
  170. #define HPM_TRGM0_OUTPUT_SRC_ADCX_PTRGI0A (0x34UL)
  171. #define HPM_TRGM0_OUTPUT_SRC_ADCX_PTRGI0B (0x35UL)
  172. #define HPM_TRGM0_OUTPUT_SRC_ADCX_PTRGI0C (0x36UL)
  173. #define HPM_TRGM0_OUTPUT_SRC_GPTMR0_SYNCI (0x37UL)
  174. #define HPM_TRGM0_OUTPUT_SRC_GPTMR0_IN2 (0x38UL)
  175. #define HPM_TRGM0_OUTPUT_SRC_GPTMR0_IN3 (0x39UL)
  176. #define HPM_TRGM0_OUTPUT_SRC_GPTMR1_SYNCI (0x3AUL)
  177. #define HPM_TRGM0_OUTPUT_SRC_GPTMR1_IN2 (0x3BUL)
  178. #define HPM_TRGM0_OUTPUT_SRC_GPTMR1_IN3 (0x3CUL)
  179. #define HPM_TRGM0_OUTPUT_SRC_ACMP0_WIN (0x3DUL)
  180. #define HPM_TRGM0_OUTPUT_SRC_PTPC_CAP0 (0x3EUL)
  181. #define HPM_TRGM0_OUTPUT_SRC_PTPC_CAP1 (0x3FUL)
  182. #define HPM_TRGM0_OUTPUT_SRC_DAC_STEP_TRIGGER_IN0 (0x40UL)
  183. #define HPM_TRGM0_OUTPUT_SRC_DAC_STEP_TRIGGER_IN1 (0x41UL)
  184. #define HPM_TRGM0_OUTPUT_SRC_DAC_STEP_TRIGGER_IN2 (0x42UL)
  185. #define HPM_TRGM0_OUTPUT_SRC_DAC_STEP_TRIGGER_IN3 (0x43UL)
  186. /* trgm1_output mux definitions */
  187. #define HPM_TRGM1_OUTPUT_SRC_TRGM1_P0 (0x0UL)
  188. #define HPM_TRGM1_OUTPUT_SRC_TRGM1_P1 (0x1UL)
  189. #define HPM_TRGM1_OUTPUT_SRC_TRGM1_P2 (0x2UL)
  190. #define HPM_TRGM1_OUTPUT_SRC_TRGM1_P3 (0x3UL)
  191. #define HPM_TRGM1_OUTPUT_SRC_TRGM1_P4 (0x4UL)
  192. #define HPM_TRGM1_OUTPUT_SRC_TRGM1_P5 (0x5UL)
  193. #define HPM_TRGM1_OUTPUT_SRC_TRGM1_P6 (0x6UL)
  194. #define HPM_TRGM1_OUTPUT_SRC_TRGM1_P7 (0x7UL)
  195. #define HPM_TRGM1_OUTPUT_SRC_TRGM1_P8 (0x8UL)
  196. #define HPM_TRGM1_OUTPUT_SRC_TRGM1_P9 (0x9UL)
  197. #define HPM_TRGM1_OUTPUT_SRC_TRGM1_P10 (0xAUL)
  198. #define HPM_TRGM1_OUTPUT_SRC_TRGM1_P11 (0xBUL)
  199. #define HPM_TRGM1_OUTPUT_SRC_TRGM1_OUTX0 (0xCUL)
  200. #define HPM_TRGM1_OUTPUT_SRC_TRGM1_OUTX1 (0xDUL)
  201. #define HPM_TRGM1_OUTPUT_SRC_PWM1_SYNCI (0xEUL)
  202. #define HPM_TRGM1_OUTPUT_SRC_PWM1_FRCI (0xFUL)
  203. #define HPM_TRGM1_OUTPUT_SRC_PWM1_FRCSYNCI (0x10UL)
  204. #define HPM_TRGM1_OUTPUT_SRC_PWM1_SHRLDSYNCI (0x11UL)
  205. #define HPM_TRGM1_OUTPUT_SRC_PWM1_FAULTI0 (0x12UL)
  206. #define HPM_TRGM1_OUTPUT_SRC_PWM1_FAULTI1 (0x13UL)
  207. #define HPM_TRGM1_OUTPUT_SRC_PWM1_FAULTI2 (0x14UL)
  208. #define HPM_TRGM1_OUTPUT_SRC_PWM1_FAULTI3 (0x15UL)
  209. #define HPM_TRGM1_OUTPUT_SRC_PWM1_IN8 (0x16UL)
  210. #define HPM_TRGM1_OUTPUT_SRC_PWM1_IN9 (0x17UL)
  211. #define HPM_TRGM1_OUTPUT_SRC_PWM1_IN10 (0x18UL)
  212. #define HPM_TRGM1_OUTPUT_SRC_PWM1_IN11 (0x19UL)
  213. #define HPM_TRGM1_OUTPUT_SRC_PWM1_IN12 (0x1AUL)
  214. #define HPM_TRGM1_OUTPUT_SRC_PWM1_IN13 (0x1BUL)
  215. #define HPM_TRGM1_OUTPUT_SRC_PWM1_IN14 (0x1CUL)
  216. #define HPM_TRGM1_OUTPUT_SRC_PWM1_IN15 (0x1DUL)
  217. #define HPM_TRGM1_OUTPUT_SRC_PWM1_IN16 (0x1EUL)
  218. #define HPM_TRGM1_OUTPUT_SRC_PWM1_IN17 (0x1FUL)
  219. #define HPM_TRGM1_OUTPUT_SRC_PWM1_IN18 (0x20UL)
  220. #define HPM_TRGM1_OUTPUT_SRC_PWM1_IN19 (0x21UL)
  221. #define HPM_TRGM1_OUTPUT_SRC_PWM1_IN20 (0x22UL)
  222. #define HPM_TRGM1_OUTPUT_SRC_PWM1_IN21 (0x23UL)
  223. #define HPM_TRGM1_OUTPUT_SRC_PWM1_IN22 (0x24UL)
  224. #define HPM_TRGM1_OUTPUT_SRC_PWM1_IN23 (0x25UL)
  225. #define HPM_TRGM1_OUTPUT_SRC_QEI1_A (0x26UL)
  226. #define HPM_TRGM1_OUTPUT_SRC_QEI1_B (0x27UL)
  227. #define HPM_TRGM1_OUTPUT_SRC_QEI1_Z (0x28UL)
  228. #define HPM_TRGM1_OUTPUT_SRC_QEI1_H (0x29UL)
  229. #define HPM_TRGM1_OUTPUT_SRC_QEI1_PAUSE (0x2AUL)
  230. #define HPM_TRGM1_OUTPUT_SRC_QEI1_SNAPI (0x2BUL)
  231. #define HPM_TRGM1_OUTPUT_SRC_HALL1_U (0x2CUL)
  232. #define HPM_TRGM1_OUTPUT_SRC_HALL1_V (0x2DUL)
  233. #define HPM_TRGM1_OUTPUT_SRC_HALL1_W (0x2EUL)
  234. #define HPM_TRGM1_OUTPUT_SRC_HALL1_SNAPI (0x2FUL)
  235. #define HPM_TRGM1_OUTPUT_SRC_ADC0_STRGI_ADCX_PTRGI3A (0x30UL)
  236. #define HPM_TRGM1_OUTPUT_SRC_ADC1_STRGI_ADCX_PTRGI3B (0x31UL)
  237. #define HPM_TRGM1_OUTPUT_SRC_ADC2_STRGI_ADCX_PTRGI3C (0x32UL)
  238. #define HPM_TRGM1_OUTPUT_SRC_DAC_BUFF_TRIGGER (0x33UL)
  239. #define HPM_TRGM1_OUTPUT_SRC_ADCX_PTRGI1A (0x34UL)
  240. #define HPM_TRGM1_OUTPUT_SRC_ADCX_PTRGI1B (0x35UL)
  241. #define HPM_TRGM1_OUTPUT_SRC_ADCX_PTRGI1C (0x36UL)
  242. #define HPM_TRGM1_OUTPUT_SRC_GPTMR2_SYNCI (0x37UL)
  243. #define HPM_TRGM1_OUTPUT_SRC_GPTMR2_IN2 (0x38UL)
  244. #define HPM_TRGM1_OUTPUT_SRC_GPTMR2_IN3 (0x39UL)
  245. #define HPM_TRGM1_OUTPUT_SRC_GPTMR3_SYNCI (0x3AUL)
  246. #define HPM_TRGM1_OUTPUT_SRC_GPTMR3_IN2 (0x3BUL)
  247. #define HPM_TRGM1_OUTPUT_SRC_GPTMR3_IN3 (0x3CUL)
  248. #define HPM_TRGM1_OUTPUT_SRC_ACMP1_WIN (0x3DUL)
  249. #define HPM_TRGM1_OUTPUT_SRC_PTPC_CAP0 (0x3EUL)
  250. #define HPM_TRGM1_OUTPUT_SRC_PTPC_CAP1 (0x3FUL)
  251. #define HPM_TRGM1_OUTPUT_SRC_DAC_STEP_TRIGGER_IN0 (0x40UL)
  252. #define HPM_TRGM1_OUTPUT_SRC_DAC_STEP_TRIGGER_IN1 (0x41UL)
  253. #define HPM_TRGM1_OUTPUT_SRC_DAC_STEP_TRIGGER_IN2 (0x42UL)
  254. #define HPM_TRGM1_OUTPUT_SRC_DAC_STEP_TRIGGER_IN3 (0x43UL)
  255. /* trgm0_filter mux definitions */
  256. #define HPM_TRGM0_FILTER_SRC_PWM0_IN0 (0x0UL)
  257. #define HPM_TRGM0_FILTER_SRC_PWM0_IN1 (0x1UL)
  258. #define HPM_TRGM0_FILTER_SRC_PWM0_IN2 (0x2UL)
  259. #define HPM_TRGM0_FILTER_SRC_PWM0_IN3 (0x3UL)
  260. #define HPM_TRGM0_FILTER_SRC_PWM0_IN4 (0x4UL)
  261. #define HPM_TRGM0_FILTER_SRC_PWM0_IN5 (0x5UL)
  262. #define HPM_TRGM0_FILTER_SRC_PWM0_IN6 (0x6UL)
  263. #define HPM_TRGM0_FILTER_SRC_PWM0_IN7 (0x7UL)
  264. #define HPM_TRGM0_FILTER_SRC_TRGM0_IN0 (0x8UL)
  265. #define HPM_TRGM0_FILTER_SRC_TRGM0_IN1 (0x9UL)
  266. #define HPM_TRGM0_FILTER_SRC_TRGM0_IN2 (0xAUL)
  267. #define HPM_TRGM0_FILTER_SRC_TRGM0_IN3 (0xBUL)
  268. #define HPM_TRGM0_FILTER_SRC_TRGM0_IN4 (0xCUL)
  269. #define HPM_TRGM0_FILTER_SRC_TRGM0_IN5 (0xDUL)
  270. #define HPM_TRGM0_FILTER_SRC_TRGM0_IN6 (0xEUL)
  271. #define HPM_TRGM0_FILTER_SRC_TRGM0_IN7 (0xFUL)
  272. #define HPM_TRGM0_FILTER_SRC_TRGM0_IN8 (0x10UL)
  273. #define HPM_TRGM0_FILTER_SRC_TRGM0_IN9 (0x11UL)
  274. #define HPM_TRGM0_FILTER_SRC_TRGM0_IN10 (0x12UL)
  275. #define HPM_TRGM0_FILTER_SRC_TRGM0_IN11 (0x13UL)
  276. /* trgm1_filter mux definitions */
  277. #define HPM_TRGM1_FILTER_SRC_PWM1_IN0 (0x0UL)
  278. #define HPM_TRGM1_FILTER_SRC_PWM1_IN1 (0x1UL)
  279. #define HPM_TRGM1_FILTER_SRC_PWM1_IN2 (0x2UL)
  280. #define HPM_TRGM1_FILTER_SRC_PWM1_IN3 (0x3UL)
  281. #define HPM_TRGM1_FILTER_SRC_PWM1_IN4 (0x4UL)
  282. #define HPM_TRGM1_FILTER_SRC_PWM1_IN5 (0x5UL)
  283. #define HPM_TRGM1_FILTER_SRC_PWM1_IN6 (0x6UL)
  284. #define HPM_TRGM1_FILTER_SRC_PWM1_IN7 (0x7UL)
  285. #define HPM_TRGM1_FILTER_SRC_TRGM1_IN0 (0x8UL)
  286. #define HPM_TRGM1_FILTER_SRC_TRGM1_IN1 (0x9UL)
  287. #define HPM_TRGM1_FILTER_SRC_TRGM1_IN2 (0xAUL)
  288. #define HPM_TRGM1_FILTER_SRC_TRGM1_IN3 (0xBUL)
  289. #define HPM_TRGM1_FILTER_SRC_TRGM1_IN4 (0xCUL)
  290. #define HPM_TRGM1_FILTER_SRC_TRGM1_IN5 (0xDUL)
  291. #define HPM_TRGM1_FILTER_SRC_TRGM1_IN6 (0xEUL)
  292. #define HPM_TRGM1_FILTER_SRC_TRGM1_IN7 (0xFUL)
  293. #define HPM_TRGM1_FILTER_SRC_TRGM1_IN8 (0x10UL)
  294. #define HPM_TRGM1_FILTER_SRC_TRGM1_IN9 (0x11UL)
  295. #define HPM_TRGM1_FILTER_SRC_TRGM1_IN10 (0x12UL)
  296. #define HPM_TRGM1_FILTER_SRC_TRGM1_IN11 (0x13UL)
  297. /* trgm0_dma mux definitions */
  298. #define HPM_TRGM0_DMA_SRC_PWM0_CMP0 (0x0UL)
  299. #define HPM_TRGM0_DMA_SRC_PWM0_CMP1 (0x1UL)
  300. #define HPM_TRGM0_DMA_SRC_PWM0_CMP2 (0x2UL)
  301. #define HPM_TRGM0_DMA_SRC_PWM0_CMP3 (0x3UL)
  302. #define HPM_TRGM0_DMA_SRC_PWM0_CMP4 (0x4UL)
  303. #define HPM_TRGM0_DMA_SRC_PWM0_CMP5 (0x5UL)
  304. #define HPM_TRGM0_DMA_SRC_PWM0_CMP6 (0x6UL)
  305. #define HPM_TRGM0_DMA_SRC_PWM0_CMP7 (0x7UL)
  306. #define HPM_TRGM0_DMA_SRC_PWM0_CMP8 (0x8UL)
  307. #define HPM_TRGM0_DMA_SRC_PWM0_CMP9 (0x9UL)
  308. #define HPM_TRGM0_DMA_SRC_PWM0_CMP10 (0xAUL)
  309. #define HPM_TRGM0_DMA_SRC_PWM0_CMP11 (0xBUL)
  310. #define HPM_TRGM0_DMA_SRC_PWM0_CMP12 (0xCUL)
  311. #define HPM_TRGM0_DMA_SRC_PWM0_CMP13 (0xDUL)
  312. #define HPM_TRGM0_DMA_SRC_PWM0_CMP14 (0xEUL)
  313. #define HPM_TRGM0_DMA_SRC_PWM0_CMP15 (0xFUL)
  314. #define HPM_TRGM0_DMA_SRC_PWM0_CMP16 (0x10UL)
  315. #define HPM_TRGM0_DMA_SRC_PWM0_CMP17 (0x11UL)
  316. #define HPM_TRGM0_DMA_SRC_PWM0_CMP18 (0x12UL)
  317. #define HPM_TRGM0_DMA_SRC_PWM0_CMP19 (0x13UL)
  318. #define HPM_TRGM0_DMA_SRC_PWM0_CMP20 (0x14UL)
  319. #define HPM_TRGM0_DMA_SRC_PWM0_CMP21 (0x15UL)
  320. #define HPM_TRGM0_DMA_SRC_PWM0_CMP22 (0x16UL)
  321. #define HPM_TRGM0_DMA_SRC_PWM0_CMP23 (0x17UL)
  322. #define HPM_TRGM0_DMA_SRC_PWM0_RLD (0x18UL)
  323. #define HPM_TRGM0_DMA_SRC_PWM0_HALFRLD (0x19UL)
  324. #define HPM_TRGM0_DMA_SRC_PWM0_XRLD (0x1AUL)
  325. #define HPM_TRGM0_DMA_SRC_QEI0 (0x1BUL)
  326. #define HPM_TRGM0_DMA_SRC_HALL0 (0x1CUL)
  327. /* trgm1_dma mux definitions */
  328. #define HPM_TRGM1_DMA_SRC_PWM1_CMP0 (0x0UL)
  329. #define HPM_TRGM1_DMA_SRC_PWM1_CMP1 (0x1UL)
  330. #define HPM_TRGM1_DMA_SRC_PWM1_CMP2 (0x2UL)
  331. #define HPM_TRGM1_DMA_SRC_PWM1_CMP3 (0x3UL)
  332. #define HPM_TRGM1_DMA_SRC_PWM1_CMP4 (0x4UL)
  333. #define HPM_TRGM1_DMA_SRC_PWM1_CMP5 (0x5UL)
  334. #define HPM_TRGM1_DMA_SRC_PWM1_CMP6 (0x6UL)
  335. #define HPM_TRGM1_DMA_SRC_PWM1_CMP7 (0x7UL)
  336. #define HPM_TRGM1_DMA_SRC_PWM1_CMP8 (0x8UL)
  337. #define HPM_TRGM1_DMA_SRC_PWM1_CMP9 (0x9UL)
  338. #define HPM_TRGM1_DMA_SRC_PWM1_CMP10 (0xAUL)
  339. #define HPM_TRGM1_DMA_SRC_PWM1_CMP11 (0xBUL)
  340. #define HPM_TRGM1_DMA_SRC_PWM1_CMP12 (0xCUL)
  341. #define HPM_TRGM1_DMA_SRC_PWM1_CMP13 (0xDUL)
  342. #define HPM_TRGM1_DMA_SRC_PWM1_CMP14 (0xEUL)
  343. #define HPM_TRGM1_DMA_SRC_PWM1_CMP15 (0xFUL)
  344. #define HPM_TRGM1_DMA_SRC_PWM1_CMP16 (0x10UL)
  345. #define HPM_TRGM1_DMA_SRC_PWM1_CMP17 (0x11UL)
  346. #define HPM_TRGM1_DMA_SRC_PWM1_CMP18 (0x12UL)
  347. #define HPM_TRGM1_DMA_SRC_PWM1_CMP19 (0x13UL)
  348. #define HPM_TRGM1_DMA_SRC_PWM1_CMP20 (0x14UL)
  349. #define HPM_TRGM1_DMA_SRC_PWM1_CMP21 (0x15UL)
  350. #define HPM_TRGM1_DMA_SRC_PWM1_CMP22 (0x16UL)
  351. #define HPM_TRGM1_DMA_SRC_PWM1_CMP23 (0x17UL)
  352. #define HPM_TRGM1_DMA_SRC_PWM1_RLD (0x18UL)
  353. #define HPM_TRGM1_DMA_SRC_PWM1_HALFRLD (0x19UL)
  354. #define HPM_TRGM1_DMA_SRC_PWM1_XRLD (0x1AUL)
  355. #define HPM_TRGM1_DMA_SRC_QEI1 (0x1BUL)
  356. #define HPM_TRGM1_DMA_SRC_HALL1 (0x1CUL)
  357. #endif /* HPM_TRGMMUX_SRC_H */