Icu_Ipw_Irq.h 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. /*==================================================================================================
  2. * Project : RTD AUTOSAR 4.4
  3. * Platform : CORTEXM
  4. * Peripheral : Ftm Lpit Lptmr Port_Ci LpCmp
  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 ICU_IPW_IRQ_H
  25. #define ICU_IPW_IRQ_H
  26. /**
  27. * @file
  28. * @internal
  29. * @addtogroup icu_ipw Icu_Ipw Driver
  30. * @{
  31. */
  32. #ifdef __cplusplus
  33. extern "C"{
  34. #endif
  35. /*==================================================================================================
  36. * INCLUDE FILES
  37. * 1) system and project includes
  38. * 2) needed interfaces from external units
  39. * 3) internal and external interfaces from this unit
  40. ==================================================================================================*/
  41. #include "Ftm_Icu_Ip_Irq.h"
  42. #include "Lpit_Icu_Ip_Irq.h"
  43. #include "Lptmr_Icu_Ip_Irq.h"
  44. #include "Port_Ci_Icu_Ip_Irq.h"
  45. /*==================================================================================================
  46. * SOURCE FILE VERSION INFORMATION
  47. ==================================================================================================*/
  48. #define ICU_IPW_IRQ_VENDOR_ID 43
  49. #define ICU_IPW_IRQ_AR_RELEASE_MAJOR_VERSION 4
  50. #define ICU_IPW_IRQ_AR_RELEASE_MINOR_VERSION 4
  51. #define ICU_IPW_IRQ_AR_RELEASE_REVISION_VERSION 0
  52. #define ICU_IPW_IRQ_SW_MAJOR_VERSION 1
  53. #define ICU_IPW_IRQ_SW_MINOR_VERSION 0
  54. #define ICU_IPW_IRQ_SW_PATCH_VERSION 0
  55. /*==================================================================================================
  56. * FILE VERSION CHECKS
  57. ==================================================================================================*/
  58. /* Check if source file and ICU header file are of the same vendor */
  59. #if (ICU_IPW_IRQ_VENDOR_ID != FTM_ICU_IP_IRQ_VENDOR_ID)
  60. #error "Icu_Ipw_Irq.h and Ftm_Icu_Ip_Irq.h have different vendor IDs"
  61. #endif
  62. /* Check if source file and ICU header file are of the same AutoSar version */
  63. #if ((ICU_IPW_IRQ_AR_RELEASE_MAJOR_VERSION != FTM_ICU_IP_IRQ_AR_RELEASE_MAJOR_VERSION) || \
  64. (ICU_IPW_IRQ_AR_RELEASE_MINOR_VERSION != FTM_ICU_IP_IRQ_AR_RELEASE_MINOR_VERSION) || \
  65. (ICU_IPW_IRQ_AR_RELEASE_REVISION_VERSION != FTM_ICU_IP_IRQ_AR_RELEASE_REVISION_VERSION))
  66. #error "AutoSar Version Numbers of Icu_Ipw_Irq.h and Ftm_Icu_Ip_Irq.h are different"
  67. #endif
  68. /* Check if source file and ICU header file are of the same Software version */
  69. #if ((ICU_IPW_IRQ_SW_MAJOR_VERSION != FTM_ICU_IP_IRQ_SW_MAJOR_VERSION) || \
  70. (ICU_IPW_IRQ_SW_MINOR_VERSION != FTM_ICU_IP_IRQ_SW_MINOR_VERSION) || \
  71. (ICU_IPW_IRQ_SW_PATCH_VERSION != FTM_ICU_IP_IRQ_SW_PATCH_VERSION))
  72. #error "Software Version Numbers of Icu_Ipw_Irq.h and Ftm_Icu_Ip_Irq.h are different"
  73. #endif
  74. /* Check if source file and ICU header file are of the same vendor */
  75. #if (ICU_IPW_IRQ_VENDOR_ID != LPIT_ICU_IP_IRQ_VENDOR_ID)
  76. #error "Icu_Ipw_Irq.h and Lpit_Icu_Ip_Irq.h have different vendor IDs"
  77. #endif
  78. /* Check if source file and ICU header file are of the same AutoSar version */
  79. #if ((ICU_IPW_IRQ_AR_RELEASE_MAJOR_VERSION != LPIT_ICU_IP_IRQ_AR_RELEASE_MAJOR_VERSION) || \
  80. (ICU_IPW_IRQ_AR_RELEASE_MINOR_VERSION != LPIT_ICU_IP_IRQ_AR_RELEASE_MINOR_VERSION) || \
  81. (ICU_IPW_IRQ_AR_RELEASE_REVISION_VERSION != LPIT_ICU_IP_IRQ_AR_RELEASE_REVISION_VERSION))
  82. #error "AutoSar Version Numbers of Icu_Ipw_Irq.h and Lpit_Icu_Ip_Irq.h are different"
  83. #endif
  84. /* Check if source file and ICU header file are of the same Software version */
  85. #if ((ICU_IPW_IRQ_SW_MAJOR_VERSION != LPIT_ICU_IP_IRQ_SW_MAJOR_VERSION) || \
  86. (ICU_IPW_IRQ_SW_MINOR_VERSION != LPIT_ICU_IP_IRQ_SW_MINOR_VERSION) || \
  87. (ICU_IPW_IRQ_SW_PATCH_VERSION != LPIT_ICU_IP_IRQ_SW_PATCH_VERSION))
  88. #error "Software Version Numbers of Icu_Ipw_Irq.h and Lpit_Icu_Ip_Irq.h are different"
  89. #endif
  90. /* Check if source file and ICU header file are of the same vendor */
  91. #if (ICU_IPW_IRQ_VENDOR_ID != LPTMR_ICU_IP_IRQ_VENDOR_ID)
  92. #error "Icu_Ipw_Irq.h and Lptmr_Icu_Ip_Irq.h have different vendor IDs"
  93. #endif
  94. /* Check if source file and ICU header file are of the same AutoSar version */
  95. #if ((ICU_IPW_IRQ_AR_RELEASE_MAJOR_VERSION != LPTMR_ICU_IP_IRQ_AR_RELEASE_MAJOR_VERSION) || \
  96. (ICU_IPW_IRQ_AR_RELEASE_MINOR_VERSION != LPTMR_ICU_IP_IRQ_AR_RELEASE_MINOR_VERSION) || \
  97. (ICU_IPW_IRQ_AR_RELEASE_REVISION_VERSION != LPTMR_ICU_IP_IRQ_AR_RELEASE_REVISION_VERSION))
  98. #error "AutoSar Version Numbers of Icu_Ipw_Irq.h and Lptmr_Icu_Ip_Irq.h are different"
  99. #endif
  100. /* Check if source file and ICU header file are of the same Software version */
  101. #if ((ICU_IPW_IRQ_SW_MAJOR_VERSION != LPTMR_ICU_IP_IRQ_SW_MAJOR_VERSION) || \
  102. (ICU_IPW_IRQ_SW_MINOR_VERSION != LPTMR_ICU_IP_IRQ_SW_MINOR_VERSION) || \
  103. (ICU_IPW_IRQ_SW_PATCH_VERSION != LPTMR_ICU_IP_IRQ_SW_PATCH_VERSION))
  104. #error "Software Version Numbers of Icu_Ipw_Irq.h and Lptmr_Icu_Ip_Irq.h are different"
  105. #endif
  106. /* Check if source file and ICU header file are of the same vendor */
  107. #if (ICU_IPW_IRQ_VENDOR_ID != PORT_CI_ICU_IP_IRQ_VENDOR_ID)
  108. #error "Icu_Ipw_Irq.h and Port_Ci_Icu_Ip_Irq.h have different vendor IDs"
  109. #endif
  110. /* Check if source file and ICU header file are of the same AutoSar version */
  111. #if ((ICU_IPW_IRQ_AR_RELEASE_MAJOR_VERSION != PORT_CI_ICU_IP_IRQ_AR_RELEASE_MAJOR_VERSION) || \
  112. (ICU_IPW_IRQ_AR_RELEASE_MINOR_VERSION != PORT_CI_ICU_IP_IRQ_AR_RELEASE_MINOR_VERSION) || \
  113. (ICU_IPW_IRQ_AR_RELEASE_REVISION_VERSION != PORT_CI_ICU_IP_IRQ_AR_RELEASE_REVISION_VERSION))
  114. #error "AutoSar Version Numbers of Icu_Ipw_Irq.h and Port_Ci_Icu_Ip_Irq.h are different"
  115. #endif
  116. /* Check if source file and ICU header file are of the same Software version */
  117. #if ((ICU_IPW_IRQ_SW_MAJOR_VERSION != PORT_CI_ICU_IP_IRQ_SW_MAJOR_VERSION) || \
  118. (ICU_IPW_IRQ_SW_MINOR_VERSION != PORT_CI_ICU_IP_IRQ_SW_MINOR_VERSION) || \
  119. (ICU_IPW_IRQ_SW_PATCH_VERSION != PORT_CI_ICU_IP_IRQ_SW_PATCH_VERSION))
  120. #error "Software Version Numbers of Icu_Ipw_Irq.h and Port_Ci_Icu_Ip_Irq.h are different"
  121. #endif
  122. /*==================================================================================================
  123. * CONSTANTS
  124. ==================================================================================================*/
  125. /*==================================================================================================
  126. * DEFINES AND MACROS
  127. ==================================================================================================*/
  128. /*==================================================================================================
  129. * ENUMS
  130. ==================================================================================================*/
  131. /*==================================================================================================
  132. * STRUCTURES AND OTHER TYPEDEFS
  133. ==================================================================================================*/
  134. /*==================================================================================================
  135. * GLOBAL VARIABLE DECLARATIONS
  136. ==================================================================================================*/
  137. /*==================================================================================================
  138. * FUNCTION PROTOTYPES
  139. ==================================================================================================*/
  140. #define ICU_START_SEC_CODE
  141. #include "Icu_MemMap.h"
  142. #define ICU_STOP_SEC_CODE
  143. #include "Icu_MemMap.h"
  144. #ifdef __cplusplus
  145. }
  146. #endif
  147. /** @} */
  148. #endif /* ICU_IPW_IRQ_H */