Trgmux_Ip_Cfg_Defines.h 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. /*==================================================================================================
  2. * Project : RTD AUTOSAR 4.4
  3. * Platform : CORTEXM
  4. * Peripheral : DMA,CACHE,TRGMUX,FLEXIO
  5. * Dependencies : none
  6. *
  7. * Autosar Version : 4.4.0
  8. * Autosar Revision : ASR_REL_4_4_REV_0000
  9. * Autosar Conf.Variant :
  10. * SW Version : 1.0.0
  11. * Build Version : S32K1_RTD_1_0_0_HF01_D2109_ASR_REL_4_4_REV_0000_20210907
  12. *
  13. * (c) Copyright 2020-2021 NXP Semiconductors
  14. * All Rights Reserved.
  15. *
  16. * NXP Confidential. This software is owned or controlled by NXP and may only be
  17. * used strictly in accordance with the applicable license terms. By expressly
  18. * accepting such terms or by downloading, installing, activating and/or otherwise
  19. * using the software, you are agreeing that you have read, and that you agree to
  20. * comply with and are bound by, such license terms. If you do not agree to be
  21. * bound by the applicable license terms, then you may not retain, install,
  22. * activate or otherwise use the software.
  23. ==================================================================================================*/
  24. /* Prevention from multiple including the same header */
  25. #ifndef TRGMUX_IP_CFG_DEFINES_H_
  26. #define TRGMUX_IP_CFG_DEFINES_H_
  27. #ifdef __cplusplus
  28. extern "C"
  29. {
  30. #endif
  31. /*==================================================================================================
  32. * INCLUDE FILES
  33. * 1) system and project includes
  34. * 2) needed interfaces from external units
  35. * 3) internal and external interfaces from this unit
  36. ==================================================================================================*/
  37. #include "StandardTypes.h"
  38. #include "BasicTypes.h"
  39. /*==================================================================================================
  40. * SOURCE FILE VERSION INFORMATION
  41. ==================================================================================================*/
  42. #define TRGMUX_IP_CFG_DEFINES_VENDOR_ID_H 43
  43. #define TRGMUX_IP_CFG_DEFINES_MODULE_ID_H 255
  44. #define TRGMUX_IP_CFG_DEFINES_AR_RELEASE_MAJOR_VERSION_H 4
  45. #define TRGMUX_IP_CFG_DEFINES_AR_RELEASE_MINOR_VERSION_H 4
  46. #define TRGMUX_IP_CFG_DEFINES_AR_RELEASE_REVISION_VERSION_H 0
  47. #define TRGMUX_IP_CFG_DEFINES_SW_MAJOR_VERSION_H 1
  48. #define TRGMUX_IP_CFG_DEFINES_SW_MINOR_VERSION_H 0
  49. #define TRGMUX_IP_CFG_DEFINES_SW_PATCH_VERSION_H 0
  50. /*==================================================================================================
  51. FILE VERSION CHECKS
  52. ==================================================================================================*/
  53. #ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
  54. /* Check if header file and StandardTypes header file are of the same Autosar version */
  55. #if ((TRGMUX_IP_CFG_DEFINES_AR_RELEASE_MAJOR_VERSION_H != STD_AR_RELEASE_MAJOR_VERSION) || \
  56. (TRGMUX_IP_CFG_DEFINES_AR_RELEASE_MINOR_VERSION_H != STD_AR_RELEASE_MINOR_VERSION))
  57. #error "AutoSar Version Numbers of Trgmux_Ip_Cfg_Defines.h and StandardTypes.h are different"
  58. #endif
  59. #endif
  60. /*==================================================================================================
  61. * DEFINES AND MACROS
  62. ==================================================================================================*/
  63. /*-----------------------------------------------/
  64. / TRGMUX IP USER MODE SUPPORT /
  65. /-----------------------------------------------*/
  66. #define TRGMUX_IP_USER_MODE_SUPPORT_IS_AVAILABLE STD_OFF
  67. #define TRGMUX_IP_IS_AVAILABLE STD_OFF
  68. /*-----------------------------------------------/
  69. / TRGMUX IP DEV ERROR DETECT SUPPORT /
  70. /-----------------------------------------------*/
  71. #define TRGMUX_IP_DEV_ERROR_DETECT STD_OFF
  72. /*-----------------------------------------------/
  73. / TRGMUX HARDWARE INSTANCE /
  74. /-----------------------------------------------*/
  75. #define TRGMUX_IP_HW_INST_0 ((uint8)0U)
  76. /*-----------------------------------------------/
  77. / TRGMUX HARDWARE TRIGGER INPUT /
  78. /-----------------------------------------------*/
  79. #define TRGMUX_IP_INPUT_LOGIC0_VSS ((uint8)0U)
  80. #define TRGMUX_IP_INPUT_LOGIC1_VDD ((uint8)1U)
  81. #define TRGMUX_IP_INPUT_TRGMUX_IN0 ((uint8)2U)
  82. #define TRGMUX_IP_INPUT_TRGMUX_IN1 ((uint8)3U)
  83. #define TRGMUX_IP_INPUT_TRGMUX_IN2 ((uint8)4U)
  84. #define TRGMUX_IP_INPUT_TRGMUX_IN3 ((uint8)5U)
  85. #define TRGMUX_IP_INPUT_TRGMUX_IN4 ((uint8)6U)
  86. #define TRGMUX_IP_INPUT_TRGMUX_IN5 ((uint8)7U)
  87. #define TRGMUX_IP_INPUT_TRGMUX_IN6 ((uint8)8U)
  88. #define TRGMUX_IP_INPUT_TRGMUX_IN7 ((uint8)9U)
  89. #define TRGMUX_IP_INPUT_TRGMUX_IN8 ((uint8)10U)
  90. #define TRGMUX_IP_INPUT_TRGMUX_IN9 ((uint8)11U)
  91. #define TRGMUX_IP_INPUT_TRGMUX_IN10 ((uint8)12U)
  92. #define TRGMUX_IP_INPUT_TRGMUX_IN11 ((uint8)13U)
  93. #define TRGMUX_IP_INPUT_CMP0_OUT ((uint8)14U)
  94. #define TRGMUX_IP_INPUT_LPIT_CH0 ((uint8)17U)
  95. #define TRGMUX_IP_INPUT_LPIT_CH1 ((uint8)18U)
  96. #define TRGMUX_IP_INPUT_LPIT_CH2 ((uint8)19U)
  97. #define TRGMUX_IP_INPUT_LPIT_CH3 ((uint8)20U)
  98. #define TRGMUX_IP_INPUT_LPTMR0 ((uint8)21U)
  99. #define TRGMUX_IP_INPUT_FTM0_INIT_TRIG ((uint8)22U)
  100. #define TRGMUX_IP_INPUT_FTM0_EXT_TRIG ((uint8)23U)
  101. #define TRGMUX_IP_INPUT_FTM1_INIT_TRIG ((uint8)24U)
  102. #define TRGMUX_IP_INPUT_FTM1_EXT_TRIG ((uint8)25U)
  103. #define TRGMUX_IP_INPUT_FTM2_INIT_TRIG ((uint8)26U)
  104. #define TRGMUX_IP_INPUT_FTM2_EXT_TRIG ((uint8)27U)
  105. #define TRGMUX_IP_INPUT_FTM3_INIT_TRIG ((uint8)28U)
  106. #define TRGMUX_IP_INPUT_FTM3_EXT_TRIG ((uint8)29U)
  107. #define TRGMUX_IP_INPUT_ADC0_COCO_0 ((uint8)30U)
  108. #define TRGMUX_IP_INPUT_ADC0_COCO_1 ((uint8)31U)
  109. #define TRGMUX_IP_INPUT_ADC1_COCO_0 ((uint8)32U)
  110. #define TRGMUX_IP_INPUT_ADC1_COCO_1 ((uint8)33U)
  111. #define TRGMUX_IP_INPUT_PDB0_ADCH0_TRIG ((uint8)34U)
  112. #define TRGMUX_IP_INPUT_PDB0_PULSE_OUT ((uint8)36U)
  113. #define TRGMUX_IP_INPUT_PDB1_ADCH0_TRIG ((uint8)37U)
  114. #define TRGMUX_IP_INPUT_PDB1_PULSE_OUT ((uint8)39U)
  115. #define TRGMUX_IP_INPUT_RTC_ALARM ((uint8)43U)
  116. #define TRGMUX_IP_INPUT_RTC_SECOND ((uint8)44U)
  117. #define TRGMUX_IP_INPUT_FLEXIO_TRIG0 ((uint8)45U)
  118. #define TRGMUX_IP_INPUT_FLEXIO_TRIG1 ((uint8)46U)
  119. #define TRGMUX_IP_INPUT_FLEXIO_TRIG2 ((uint8)47U)
  120. #define TRGMUX_IP_INPUT_FLEXIO_TRIG3 ((uint8)48U)
  121. #define TRGMUX_IP_INPUT_LPUART0_RX_DATA ((uint8)49U)
  122. #define TRGMUX_IP_INPUT_LPUART0_TX_DATA ((uint8)50U)
  123. #define TRGMUX_IP_INPUT_LPUART0_RX_IDLE ((uint8)51U)
  124. #define TRGMUX_IP_INPUT_LPUART1_RX_DATA ((uint8)52U)
  125. #define TRGMUX_IP_INPUT_LPUART1_TX_DATA ((uint8)53U)
  126. #define TRGMUX_IP_INPUT_LPUART1_RX_IDLE ((uint8)54U)
  127. #define TRGMUX_IP_INPUT_LPI2C0_MASTER_TRIG ((uint8)55U)
  128. #define TRGMUX_IP_INPUT_LPI2C0_SLAVE_TRIG ((uint8)56U)
  129. #define TRGMUX_IP_INPUT_LPSPI0_FRAME ((uint8)59U)
  130. #define TRGMUX_IP_INPUT_LPSPI0_RX_DATA ((uint8)60U)
  131. #define TRGMUX_IP_INPUT_LPSPI1_FRAME ((uint8)61U)
  132. #define TRGMUX_IP_INPUT_LPSPI1_RX_DATA ((uint8)62U)
  133. #define TRGMUX_IP_INPUT_SIM_SW_TRIG ((uint8)63U)
  134. #define TRGMUX_IP_INPUT_LPI2C1_MASTER_TRIG ((uint8)67U)
  135. #define TRGMUX_IP_INPUT_LPI2C1_SLAVE_TRIG ((uint8)68U)
  136. #define TRGMUX_IP_INPUT_FTM4_INIT_TRIG ((uint8)69U)
  137. #define TRGMUX_IP_INPUT_FTM4_EXT_TRIG ((uint8)70U)
  138. #define TRGMUX_IP_INPUT_FTM5_INIT_TRIG ((uint8)71U)
  139. #define TRGMUX_IP_INPUT_FTM5_EXT_TRIG ((uint8)72U)
  140. #define TRGMUX_IP_INPUT_FTM6_INIT_TRIG ((uint8)73U)
  141. #define TRGMUX_IP_INPUT_FTM6_EXT_TRIG ((uint8)74U)
  142. #define TRGMUX_IP_INPUT_FTM7_INIT_TRIG ((uint8)75U)
  143. #define TRGMUX_IP_INPUT_FTM7_EXT_TRIG ((uint8)76U)
  144. /*-----------------------------------------------/
  145. / TRGMUX HARDWARE TRIGGER OUTPUT /
  146. /-----------------------------------------------*/
  147. #define TRGMUX_IP_OUTPUT_DMA_CH0 ((uint8)0U)
  148. #define TRGMUX_IP_OUTPUT_DMA_CH1 ((uint8)1U)
  149. #define TRGMUX_IP_OUTPUT_DMA_CH2 ((uint8)2U)
  150. #define TRGMUX_IP_OUTPUT_DMA_CH3 ((uint8)3U)
  151. #define TRGMUX_IP_OUTPUT_EXTOUT0_TRGMUX_OUT0 ((uint8)4U)
  152. #define TRGMUX_IP_OUTPUT_EXTOUT0_TRGMUX_OUT1 ((uint8)5U)
  153. #define TRGMUX_IP_OUTPUT_EXTOUT0_TRGMUX_OUT2 ((uint8)6U)
  154. #define TRGMUX_IP_OUTPUT_EXTOUT0_TRGMUX_OUT3 ((uint8)7U)
  155. #define TRGMUX_IP_OUTPUT_EXTOUT1_TRGMUX_OUT4 ((uint8)8U)
  156. #define TRGMUX_IP_OUTPUT_EXTOUT1_TRGMUX_OUT5 ((uint8)9U)
  157. #define TRGMUX_IP_OUTPUT_EXTOUT1_TRGMUX_OUT6 ((uint8)10U)
  158. #define TRGMUX_IP_OUTPUT_EXTOUT1_TRGMUX_OUT7 ((uint8)11U)
  159. #define TRGMUX_IP_OUTPUT_ADC0_ADHWT_TRIG_0 ((uint8)12U)
  160. #define TRGMUX_IP_OUTPUT_ADC0_ADHWT_TRIG_1 ((uint8)13U)
  161. #define TRGMUX_IP_OUTPUT_ADC0_ADHWT_TRIG_2 ((uint8)14U)
  162. #define TRGMUX_IP_OUTPUT_ADC0_ADHWT_TRIG_3 ((uint8)15U)
  163. #define TRGMUX_IP_OUTPUT_ADC1_ADHWT_TRIG_0 ((uint8)16U)
  164. #define TRGMUX_IP_OUTPUT_ADC1_ADHWT_TRIG_1 ((uint8)17U)
  165. #define TRGMUX_IP_OUTPUT_ADC1_ADHWT_TRIG_2 ((uint8)18U)
  166. #define TRGMUX_IP_OUTPUT_ADC1_ADHWT_TRIG_3 ((uint8)19U)
  167. #define TRGMUX_IP_OUTPUT_CMP0_SAMPLE_INPUT ((uint8)28U)
  168. #define TRGMUX_IP_OUTPUT_FTM0_HWTRIG0 ((uint8)40U)
  169. #define TRGMUX_IP_OUTPUT_FTM0_FAULT0 ((uint8)41U)
  170. #define TRGMUX_IP_OUTPUT_FTM0_FAULT1 ((uint8)42U)
  171. #define TRGMUX_IP_OUTPUT_FTM0_FAULT2 ((uint8)43U)
  172. #define TRGMUX_IP_OUTPUT_FTM1_HWTRIG0 ((uint8)44U)
  173. #define TRGMUX_IP_OUTPUT_FTM1_FAULT0 ((uint8)45U)
  174. #define TRGMUX_IP_OUTPUT_FTM1_FAULT1 ((uint8)46U)
  175. #define TRGMUX_IP_OUTPUT_FTM1_FAULT2 ((uint8)47U)
  176. #define TRGMUX_IP_OUTPUT_FTM2_HWTRIG0 ((uint8)48U)
  177. #define TRGMUX_IP_OUTPUT_FTM2_FAULT0 ((uint8)49U)
  178. #define TRGMUX_IP_OUTPUT_FTM2_FAULT1 ((uint8)50U)
  179. #define TRGMUX_IP_OUTPUT_FTM2_FAULT2 ((uint8)51U)
  180. #define TRGMUX_IP_OUTPUT_FTM3_HWTRIG0 ((uint8)52U)
  181. #define TRGMUX_IP_OUTPUT_FTM3_FAULT0 ((uint8)53U)
  182. #define TRGMUX_IP_OUTPUT_FTM3_FAULT1 ((uint8)54U)
  183. #define TRGMUX_IP_OUTPUT_FTM3_FAULT2 ((uint8)55U)
  184. #define TRGMUX_IP_OUTPUT_PDB0_TRIGGER_IN0 ((uint8)56U)
  185. #define TRGMUX_IP_OUTPUT_PDB1_TRIGGER_IN0 ((uint8)60U)
  186. #define TRGMUX_IP_OUTPUT_FLEXIO_TRG_TIM0 ((uint8)68U)
  187. #define TRGMUX_IP_OUTPUT_FLEXIO_TRG_TIM1 ((uint8)69U)
  188. #define TRGMUX_IP_OUTPUT_FLEXIO_TRG_TIM2 ((uint8)70U)
  189. #define TRGMUX_IP_OUTPUT_FLEXIO_TRG_TIM3 ((uint8)71U)
  190. #define TRGMUX_IP_OUTPUT_LPIT0_TRG_CH0 ((uint8)72U)
  191. #define TRGMUX_IP_OUTPUT_LPIT0_TRG_CH1 ((uint8)73U)
  192. #define TRGMUX_IP_OUTPUT_LPIT0_TRG_CH2 ((uint8)74U)
  193. #define TRGMUX_IP_OUTPUT_LPIT0_TRG_CH3 ((uint8)75U)
  194. #define TRGMUX_IP_OUTPUT_LPUART0_TRG ((uint8)76U)
  195. #define TRGMUX_IP_OUTPUT_LPUART1_TRG ((uint8)80U)
  196. #define TRGMUX_IP_OUTPUT_LPI2C0_TRG ((uint8)84U)
  197. #define TRGMUX_IP_OUTPUT_LPSPI0_TRG ((uint8)92U)
  198. #define TRGMUX_IP_OUTPUT_LPSPI1_TRG ((uint8)96U)
  199. #define TRGMUX_IP_OUTPUT_LPTMR0_ALT0 ((uint8)100U)
  200. #define TRGMUX_IP_OUTPUT_LPI2C1_TRG ((uint8)108U)
  201. #define TRGMUX_IP_OUTPUT_FTM4_HWTRIG0 ((uint8)112U)
  202. #define TRGMUX_IP_OUTPUT_FTM5_HWTRIG0 ((uint8)116U)
  203. #define TRGMUX_IP_OUTPUT_FTM6_HWTRIG0 ((uint8)120U)
  204. #define TRGMUX_IP_OUTPUT_FTM7_HWTRIG0 ((uint8)124U)
  205. #ifdef __cplusplus
  206. }
  207. #endif
  208. #endif /* TRGMUX_IP_CFG_DEFINES_H_ */
  209. /*==================================================================================================
  210. * END OF FILE
  211. ==================================================================================================*/