IntCtrl_Ip_Cfg.h 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /*==================================================================================================
  2. * Project : RTD AUTOSAR 4.4
  3. * Platform : CORTEXM
  4. * Peripheral :
  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. #ifndef INTCTRL_IP_CFG_H_
  25. #define INTCTRL_IP_CFG_H_
  26. /*==================================================================================================
  27. INCLUDE FILES
  28. ==================================================================================================*/
  29. #include "IntCtrl_Ip_TypesDef.h"
  30. #ifdef S32K116
  31. #include "S32K116_COMMON.h"
  32. #endif
  33. #ifdef S32K118
  34. #include "S32K118_COMMON.h"
  35. #endif
  36. #ifdef S32K142
  37. #include "S32K142_COMMON.h"
  38. #endif
  39. #ifdef S32K142W
  40. #include "S32K142W_COMMON.h"
  41. #endif
  42. #ifdef S32K144
  43. #include "S32K144_COMMON.h"
  44. #endif
  45. #ifdef S32K144W
  46. #include "S32K144W_COMMON.h"
  47. #endif
  48. #ifdef S32K146
  49. #include "S32K146_COMMON.h"
  50. #endif
  51. #ifdef S32K148
  52. #include "S32K148_COMMON.h"
  53. #endif
  54. /*==================================================================================================
  55. * SOURCE FILE VERSION INFORMATION
  56. ==================================================================================================*/
  57. #define PLATFORM_INTCTRL_IP_CFG_VENDOR_ID 43
  58. #define PLATFORM_INTCTRL_IP_CFG_SW_MAJOR_VERSION 1
  59. #define PLATFORM_INTCTRL_IP_CFG_SW_MINOR_VERSION 0
  60. #define PLATFORM_INTCTRL_IP_CFG_SW_PATCH_VERSION 0
  61. /*==================================================================================================
  62. FILE VERSION CHECKS
  63. ==================================================================================================*/
  64. /* Check if current file and IntCtrl_Ip_TypesDef header file are of the same vendor */
  65. #if (PLATFORM_INTCTRL_IP_CFG_VENDOR_ID != PLATFORM_INTCTRL_IP_TYPESDEF_TYPES_VENDOR_ID)
  66. #error "IntCtrl_Ip_Cfg.h and IntCtrl_Ip_TypesDef.h have different vendor ids"
  67. #endif
  68. /* Check if current file and Fls header file are of the same Software version */
  69. #if ((PLATFORM_INTCTRL_IP_CFG_SW_MAJOR_VERSION != PLATFORM_INTCTRL_IP_TYPESDEF_SW_MAJOR_VERSION) || \
  70. (PLATFORM_INTCTRL_IP_CFG_SW_MINOR_VERSION != PLATFORM_INTCTRL_IP_TYPESDEF_SW_MINOR_VERSION) || \
  71. (PLATFORM_INTCTRL_IP_CFG_SW_PATCH_VERSION != PLATFORM_INTCTRL_IP_TYPESDEF_SW_PATCH_VERSION) \
  72. )
  73. #error "Software Version Numbers of IntCtrl_Ip_Cfg.h and IntCtrl_Ip_TypesDef.h are different"
  74. #endif
  75. /*==================================================================================================
  76. GLOBAL VARIABLES
  77. ==================================================================================================*/
  78. #define PLATFORM_START_SEC_CONFIG_DATA_UNSPECIFIED
  79. #include "Platform_MemMap.h"
  80. /* Definition of the configuration structure for Platform IPW */
  81. extern const IntCtrl_Ip_CtrlConfigType intCtrlConfig;
  82. /* Definition of the configuration structure for non core Platform IPW */
  83. extern const IntCtrl_Ip_GlobalRouteConfigType intRouteConfig;
  84. /* Declaration of interrupt handlers
  85. * NOTE: For application specific handlers, these functions must be implemented in the application code!
  86. */
  87. extern void Dma0_Ch0_IRQHandler(void);
  88. extern void Dma0_Ch1_IRQHandler(void);
  89. extern void Dma0_Ch2_IRQHandler(void);
  90. extern void Dma0_Ch3_IRQHandler(void);
  91. extern void Dma0_Ch4_IRQHandler(void);
  92. extern void Dma0_Ch5_IRQHandler(void);
  93. extern void Dma0_Ch6_IRQHandler(void);
  94. extern void Dma0_Ch7_IRQHandler(void);
  95. extern void undefined_handler(void);
  96. extern void Wdg_Ipw_Isr(void);
  97. extern void Lpspi_Ip_LPSPI_2_IRQHandler(void);
  98. extern void LPUART_UART_IP_0_IRQHandler(void);
  99. extern void LPUART_UART_IP_1_IRQHandler(void);
  100. extern void LPUART_UART_IP_2_IRQHandler(void);
  101. extern void Adc_1_Isr(void);
  102. extern void LPIT_0_CH_0_ISR(void);
  103. extern void Lptmr_0_Ch_0_ISR(void);
  104. extern void PORT_CI_ICU_IP_A_EXT_IRQ_ISR(void);
  105. extern void PORT_CI_ICU_IP_B_EXT_IRQ_ISR(void);
  106. extern void PORT_CI_ICU_IP_D_EXT_IRQ_ISR(void);
  107. extern void PORT_CI_ICU_IP_E_EXT_IRQ_ISR(void);
  108. extern void MCL_FLEXIO_ISR(void);
  109. extern void CAN0_ORED_IRQHandler(void);
  110. extern void CAN0_Error_IRQHandler(void);
  111. extern void CAN0_Wake_Up_IRQHandler(void);
  112. extern void CAN0_ORED_0_15_MB_IRQHandler(void);
  113. extern void CAN0_ORED_16_31_MB_IRQHandler(void);
  114. extern void CAN1_ORED_IRQHandler(void);
  115. extern void CAN1_Error_IRQHandler(void);
  116. extern void CAN1_ORED_0_15_MB_IRQHandler(void);
  117. extern void CAN1_ORED_16_31_MB_IRQHandler(void);
  118. extern void CAN2_ORED_IRQHandler(void);
  119. extern void CAN2_Error_IRQHandler(void);
  120. extern void CAN2_ORED_0_15_MB_IRQHandler(void);
  121. extern void FTM_0_CH_0_CH_1_ISR(void);
  122. #define PLATFORM_STOP_SEC_CONFIG_DATA_UNSPECIFIED
  123. #include "Platform_MemMap.h"
  124. #endif /* INTCTRL_IP_CFG_H_ */