CDD_Mcl_Irq.h 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. #ifndef MCL_IRQ_H
  25. #define MCL_IRQ_H
  26. /**
  27. * @file CDD_Mcl_Irq.h
  28. *
  29. * @version 1.0.0
  30. *
  31. * @brief AUTOSAR Mcl - MCL driver header file.
  32. * @details
  33. *
  34. * @addtogroup MCL_DRIVER MCL Driver
  35. * @{
  36. */
  37. #ifdef __cplusplus
  38. extern "C"
  39. {
  40. #endif
  41. /*==================================================================================================
  42. * INCLUDE FILES
  43. * 1) system and project includes
  44. * 2) needed interfaces from external units
  45. * 3) internal and external interfaces from this unit
  46. ==================================================================================================*/
  47. #if (MCL_EMIOS_IS_AVAILABLE == STD_ON)
  48. #include "Emios_Mcl_Ip_Irq.h"
  49. #endif /* MCL_EMIOS_IS_AVAILABLE == STD_ON */
  50. /*==================================================================================================
  51. * SOURCE FILE VERSION INFORMATION
  52. ==================================================================================================*/
  53. #define CDD_MCL_IRQ_VENDOR_ID_H 43
  54. #define CDD_MCL_IRQ_AR_RELEASE_MAJOR_VERSION_H 4
  55. #define CDD_MCL_IRQ_AR_RELEASE_MINOR_VERSION_H 4
  56. #define CDD_MCL_IRQ_AR_RELEASE_REVISION_VERSION_H 0
  57. #define CDD_MCL_IRQ_SW_MAJOR_VERSION_H 1
  58. #define CDD_MCL_IRQ_SW_MINOR_VERSION_H 0
  59. #define CDD_MCL_IRQ_SW_PATCH_VERSION_H 0
  60. /*==================================================================================================
  61. * FILE VERSION CHECKS
  62. ==================================================================================================*/
  63. #if (MCL_EMIOS_IS_AVAILABLE == STD_ON)
  64. /* Check if header file and Emios_Mcl_Ip_Irq.h file are of the same vendor */
  65. #if (CDD_MCL_IRQ_VENDOR_ID_H != EMIOS_MCL_IP_IRQ_VENDOR_ID_H)
  66. #error "CDD_Mcl_Irq.h and Emios_Mcl_Ip_Irq.h have different vendor ids"
  67. #endif
  68. /* Check if header file and Emios_Mcl_Ip_Irq.h file are of the same Autosar version */
  69. #if ((CDD_MCL_IRQ_AR_RELEASE_MAJOR_VERSION_H != EMIOS_MCL_IP_IRQ_AR_RELEASE_MAJOR_VERSION_H) || \
  70. (CDD_MCL_IRQ_AR_RELEASE_MINOR_VERSION_H != EMIOS_MCL_IP_IRQ_AR_RELEASE_MINOR_VERSION_H) || \
  71. (CDD_MCL_IRQ_AR_RELEASE_REVISION_VERSION_H != EMIOS_MCL_IP_IRQ_AR_RELEASE_REVISION_VERSION_H) \
  72. )
  73. #error "AutoSar Version Numbers of CDD_Mcl_Irq.h and Emios_Mcl_Ip_Irq.h are different"
  74. #endif
  75. /* Check if header file and Emios_Mcl_Ip_Irq.h file are of the same Software version */
  76. #if ((CDD_MCL_IRQ_SW_MAJOR_VERSION_H != EMIOS_MCL_IP_IRQ_SW_MAJOR_VERSION_H) || \
  77. (CDD_MCL_IRQ_SW_MINOR_VERSION_H != EMIOS_MCL_IP_IRQ_SW_MINOR_VERSION_H) || \
  78. (CDD_MCL_IRQ_SW_PATCH_VERSION_H != EMIOS_MCL_IP_IRQ_SW_PATCH_VERSION_H) \
  79. )
  80. #error "Software Version Numbers of CDD_Mcl_Irq.h and Emios_Mcl_Ip_Irq.h are different"
  81. #endif
  82. #endif /* MCL_EMIOS_IS_AVAILABLE == STD_ON */
  83. /*==================================================================================================
  84. * CONSTANTS
  85. ==================================================================================================*/
  86. /*==================================================================================================
  87. * DEFINES AND MACROS
  88. ==================================================================================================*/
  89. /*==================================================================================================
  90. * ENUMS
  91. ==================================================================================================*/
  92. /*==================================================================================================
  93. * STRUCTURES AND OTHER TYPEDEFS
  94. ==================================================================================================*/
  95. /*==================================================================================================
  96. * GLOBAL VARIABLE DECLARATIONS
  97. ==================================================================================================*/
  98. /*==================================================================================================
  99. * FUNCTION PROTOTYPES
  100. ==================================================================================================*/
  101. #ifdef __cplusplus
  102. }
  103. #endif
  104. /** @} */
  105. #endif /* MCL_IRQ_H */
  106. /*==================================================================================================
  107. * END OF FILE
  108. ==================================================================================================*/