Mcl.h 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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_H_
  25. #define MCL_H_
  26. /**
  27. * @file Mcl.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. #include "CDD_Mcl.h"
  48. /*==================================================================================================
  49. * SOURCE FILE VERSION INFORMATION
  50. ==================================================================================================*/
  51. #define MCL_MODULE_ID_H 255
  52. #define MCL_VENDOR_ID_H 43
  53. #define MCL_AR_RELEASE_MAJOR_VERSION_H 4
  54. #define MCL_AR_RELEASE_MINOR_VERSION_H 4
  55. #define MCL_AR_RELEASE_REVISION_VERSION_H 0
  56. #define MCL_SW_MAJOR_VERSION_H 1
  57. #define MCL_SW_MINOR_VERSION_H 0
  58. #define MCL_SW_PATCH_VERSION_H 0
  59. /*==================================================================================================
  60. * FILE VERSION CHECKS
  61. ==================================================================================================*/
  62. /* Check if header file and CDD_Mcl.h file are of the same vendor */
  63. #if (MCL_VENDOR_ID_H != CDD_MCL_VENDOR_ID_H)
  64. #error "Mcl.h and CDD_Mcl.h have different vendor ids"
  65. #endif
  66. /* Check if header file and CDD_Mcl.h file are of the same Autosar version */
  67. #if ((MCL_AR_RELEASE_MAJOR_VERSION_H != CDD_MCL_AR_RELEASE_MAJOR_VERSION_H) || \
  68. (MCL_AR_RELEASE_MINOR_VERSION_H != CDD_MCL_AR_RELEASE_MINOR_VERSION_H) || \
  69. (MCL_AR_RELEASE_REVISION_VERSION_H != CDD_MCL_AR_RELEASE_REVISION_VERSION_H) \
  70. )
  71. #error "AutoSar Version Numbers of Mcl.h and CDD_Mcl.h are different"
  72. #endif
  73. /* Check if header file and CDD_Mcl.h file are of the same Software version */
  74. #if ((MCL_SW_MAJOR_VERSION_H != CDD_MCL_SW_MAJOR_VERSION_H) || \
  75. (MCL_SW_MINOR_VERSION_H != CDD_MCL_SW_MINOR_VERSION_H) || \
  76. (MCL_SW_PATCH_VERSION_H != CDD_MCL_SW_PATCH_VERSION_H) \
  77. )
  78. #error "Software Version Numbers of Mcl.h and CDD_Mcl.h are different"
  79. #endif
  80. /*==================================================================================================
  81. * CONSTANTS
  82. ==================================================================================================*/
  83. /*==================================================================================================
  84. * DEFINES AND MACROS
  85. ==================================================================================================*/
  86. /*==================================================================================================
  87. * ENUMS
  88. ==================================================================================================*/
  89. /*==================================================================================================
  90. * STRUCTURES AND OTHER TYPEDEFS
  91. ==================================================================================================*/
  92. /*==================================================================================================
  93. * GLOBAL VARIABLE DECLARATIONS
  94. ==================================================================================================*/
  95. /*==================================================================================================
  96. * FUNCTION PROTOTYPES
  97. ==================================================================================================*/
  98. #ifdef __cplusplus
  99. }
  100. #endif
  101. /** @} */
  102. #endif /* MCL_H_ */
  103. /*==================================================================================================
  104. * END OF FILE
  105. ==================================================================================================*/