Port_Ci_Icu_Ip_Cfg.h 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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 PORT_CI_ICU_IP_CFG_H
  25. #define PORT_CI_ICU_IP_CFG_H
  26. /**
  27. * @file Port_Ci_Icu_Ip_Cfg.h
  28. * @version 1.0.0
  29. *
  30. * @brief AUTOSAR Icu - contains the data exported by the Icu module
  31. * @details Contains the information that will be exported by the module, as requested by Autosar.
  32. *
  33. * @addtogroup port_ci_icu_ip PORT_CI IPL
  34. * @{
  35. */
  36. #ifdef __cplusplus
  37. extern "C"{
  38. #endif
  39. /*==================================================================================================
  40. * INCLUDE FILES
  41. * 1) system and project includes
  42. * 2) needed interfaces from external units
  43. * 3) internal and external interfaces from this unit
  44. *================================================================================================*/
  45. #include "StandardTypes.h"
  46. #include "Port_Ci_Icu_Ip_VS_0_PBcfg.h"
  47. /*==================================================================================================
  48. * SOURCE FILE VERSION INFORMATION
  49. *================================================================================================*/
  50. #define PORT_CI_ICU_IP_CFG_VENDOR_ID 43
  51. #define PORT_CI_ICU_IP_CFG_AR_RELEASE_MAJOR_VERSION 4
  52. #define PORT_CI_ICU_IP_CFG_AR_RELEASE_MINOR_VERSION 4
  53. #define PORT_CI_ICU_IP_CFG_AR_RELEASE_REVISION_VERSION 0
  54. #define PORT_CI_ICU_IP_CFG_SW_MAJOR_VERSION 1
  55. #define PORT_CI_ICU_IP_CFG_SW_MINOR_VERSION 0
  56. #define PORT_CI_ICU_IP_CFG_SW_PATCH_VERSION 0
  57. /*==================================================================================================
  58. * FILE VERSION CHECKS
  59. *================================================================================================*/
  60. #ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
  61. /* Check if header file and StandardTypes.h file are of the same Autosar version */
  62. #if ((PORT_CI_ICU_IP_CFG_AR_RELEASE_MAJOR_VERSION != STD_AR_RELEASE_MAJOR_VERSION) || \
  63. (PORT_CI_ICU_IP_CFG_AR_RELEASE_MINOR_VERSION != STD_AR_RELEASE_MINOR_VERSION))
  64. #error "AutoSar Version Numbers of Port_Ci_Icu_Ip_Cfg.h and StandardTypes.h are different"
  65. #endif
  66. #endif
  67. /* Check if source file and ICU configuration header file are of the same vendor */
  68. #if (PORT_CI_ICU_IP_CFG_VENDOR_ID != PORT_CI_ICU_IP_VS_0_PBCFG_VENDOR_ID)
  69. #error "Port_Ci_Icu_Ip_Cfg.h and Port_Ci_Icu_Ip_VS_0_PBcfg.h have different vendor IDs"
  70. #endif
  71. /* Check if header file and Icu configuration header file are of the same Autosar version */
  72. #if ((PORT_CI_ICU_IP_CFG_AR_RELEASE_MAJOR_VERSION != PORT_CI_ICU_IP_VS_0_PBCFG_AR_RELEASE_MAJOR_VERSION) || \
  73. (PORT_CI_ICU_IP_CFG_AR_RELEASE_MINOR_VERSION != PORT_CI_ICU_IP_VS_0_PBCFG_AR_RELEASE_MINOR_VERSION) || \
  74. (PORT_CI_ICU_IP_CFG_AR_RELEASE_REVISION_VERSION != PORT_CI_ICU_IP_VS_0_PBCFG_AR_RELEASE_REVISION_VERSION) \
  75. )
  76. #error "AutoSar Version Numbers of Port_Ci_Icu_Ip_Cfg.h and Port_Ci_Icu_Ip_VS_0_PBcfg.h are different"
  77. #endif
  78. /* Check if header file and Icu configuration header file are of the same software version */
  79. #if ((PORT_CI_ICU_IP_CFG_SW_MAJOR_VERSION != PORT_CI_ICU_IP_VS_0_PBCFG_SW_MAJOR_VERSION) || \
  80. (PORT_CI_ICU_IP_CFG_SW_MINOR_VERSION != PORT_CI_ICU_IP_VS_0_PBCFG_SW_MINOR_VERSION) || \
  81. (PORT_CI_ICU_IP_CFG_SW_PATCH_VERSION != PORT_CI_ICU_IP_VS_0_PBCFG_SW_PATCH_VERSION) \
  82. )
  83. #error "Software Version Numbers of Port_Ci_Icu_Ip_Cfg.h and Port_Ci_Icu_Ip_VS_0_PBcfg.h are different"
  84. #endif
  85. /*==================================================================================================
  86. DEFINES AND MACROS
  87. ==================================================================================================*/
  88. #define PORT_CI_ICU_CONFIG_EXT \
  89. PORT_CI_ICU_CONFIG_VS_0_PB \
  90. #ifdef __cplusplus
  91. }
  92. #endif
  93. /** @} */
  94. #endif /* PORT_CI_ICU_IP_CFG_H */