Lptmr_Icu_Ip_Cfg.h 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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 LPTMR_ICU_IP_CFG_H
  25. #define LPTMR_ICU_IP_CFG_H
  26. /**
  27. * @file Lptmr_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 lptmr_icu_ip LPTMR 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 all variants header files. */
  46. #include "StandardTypes.h"
  47. #include "Lptmr_Icu_Ip_VS_0_PBcfg.h"
  48. /*==================================================================================================
  49. * SOURCE FILE VERSION INFORMATION
  50. ==================================================================================================*/
  51. #define LPTMR_ICU_IP_CFG_VENDOR_ID 43
  52. #define LPTMR_ICU_IP_CFG_AR_RELEASE_MAJOR_VERSION 4
  53. #define LPTMR_ICU_IP_CFG_AR_RELEASE_MINOR_VERSION 4
  54. #define LPTMR_ICU_IP_CFG_AR_RELEASE_REVISION_VERSION 0
  55. #define LPTMR_ICU_IP_CFG_SW_MAJOR_VERSION 1
  56. #define LPTMR_ICU_IP_CFG_SW_MINOR_VERSION 0
  57. #define LPTMR_ICU_IP_CFG_SW_PATCH_VERSION 0
  58. /*==================================================================================================
  59. * FILE VERSION CHECKS
  60. ==================================================================================================*/
  61. /* Check if header file and StandardTypes.h file are of the same Autosar version */
  62. #ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
  63. #if ((LPTMR_ICU_IP_CFG_AR_RELEASE_MAJOR_VERSION != STD_AR_RELEASE_MAJOR_VERSION) || \
  64. (LPTMR_ICU_IP_CFG_AR_RELEASE_MINOR_VERSION != STD_AR_RELEASE_MINOR_VERSION))
  65. #error "AutoSar Version Numbers of Lptmr_Icu_Ip_Cfg.h and StandardTypes.h are different"
  66. #endif
  67. #endif
  68. /* Check if source file and ICU configuration header file are of the same vendor */
  69. #if (LPTMR_ICU_IP_VS_0_PBCFG_VENDOR_ID != LPTMR_ICU_IP_CFG_VENDOR_ID)
  70. #error "Lptmr_Icu_Ip_VS_0_PBcfg.h and Lptmr_Icu_Ip_Cfg.h have different vendor IDs"
  71. #endif
  72. /* Check if header file and Icu configuration header file are of the same Autosar version */
  73. #if ((LPTMR_ICU_IP_VS_0_PBCFG_AR_RELEASE_MAJOR_VERSION != LPTMR_ICU_IP_CFG_AR_RELEASE_MAJOR_VERSION) || \
  74. (LPTMR_ICU_IP_VS_0_PBCFG_AR_RELEASE_MINOR_VERSION != LPTMR_ICU_IP_CFG_AR_RELEASE_MINOR_VERSION) || \
  75. (LPTMR_ICU_IP_VS_0_PBCFG_AR_RELEASE_REVISION_VERSION != LPTMR_ICU_IP_CFG_AR_RELEASE_REVISION_VERSION) \
  76. )
  77. #error "AutoSar Version Numbers of Lptmr_Icu_Ip_VS_0_PBcfg.h and Lptmr_Icu_Ip_Cfg.h are different"
  78. #endif
  79. /* Check if header file and Icu configuration header file are of the same software version */
  80. #if ((LPTMR_ICU_IP_VS_0_PBCFG_SW_MAJOR_VERSION != LPTMR_ICU_IP_CFG_SW_MAJOR_VERSION) || \
  81. (LPTMR_ICU_IP_VS_0_PBCFG_SW_MINOR_VERSION != LPTMR_ICU_IP_CFG_SW_MINOR_VERSION) || \
  82. (LPTMR_ICU_IP_VS_0_PBCFG_SW_PATCH_VERSION != LPTMR_ICU_IP_CFG_SW_PATCH_VERSION) \
  83. )
  84. #error "Software Version Numbers of Lptmr_Icu_Ip_VS_0_PBcfg.h and Lptmr_Icu_Ip_Cfg.h are different"
  85. #endif
  86. /*==================================================================================================
  87. * DEFINES AND MACROS
  88. ==================================================================================================*/
  89. #ifdef __cplusplus
  90. }
  91. #endif
  92. /** @} */
  93. #endif /* LPTMR_ICU_IP_CFG_H */