Cmp_Ip_VS_0_PBcfg.c 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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. /**
  25. * @file Cmp_Ip_VS_0_PBcfg.c
  26. * @version 1.0.0
  27. *
  28. * @brief AUTOSAR Icu - contains the data exported by the ICU module
  29. * @details Contains the information that will be exported by the module, as requested by AUTOSAR.
  30. *
  31. * @addtogroup cmp_ip CMP IPL
  32. * @{
  33. */
  34. #ifdef __cplusplus
  35. extern "C"{
  36. #endif
  37. /*==================================================================================================
  38. * INCLUDE FILES
  39. * 1) system and project includes
  40. * 2) needed interfaces from external units
  41. * 3) internal and external interfaces from this unit
  42. *================================================================================================*/
  43. #include "StandardTypes.h"
  44. #include "Cmp_Ip_Types.h"
  45. #include "Icu_Ipw_Irq.h"
  46. /*==================================================================================================
  47. * SOURCE FILE VERSION INFORMATION
  48. *================================================================================================*/
  49. #define CMP_IP_VS_0_PBCFG_VENDOR_ID_C 43
  50. #define CMP_IP_VS_0_PBCFG_AR_RELEASE_MAJOR_VERSION_C 4
  51. #define CMP_IP_VS_0_PBCFG_AR_RELEASE_MINOR_VERSION_C 4
  52. #define CMP_IP_VS_0_PBCFG_AR_RELEASE_REVISION_VERSION_C 0
  53. #define CMP_IP_VS_0_PBCFG_SW_MAJOR_VERSION_C 1
  54. #define CMP_IP_VS_0_PBCFG_SW_MINOR_VERSION_C 0
  55. #define CMP_IP_VS_0_PBCFG_SW_PATCH_VERSION_C 0
  56. /*==================================================================================================
  57. * FILE VERSION CHECKS
  58. *================================================================================================*/
  59. #ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
  60. /* Check if header file and StandardTypes.h file are of the same Autosar version */
  61. #if ((CMP_IP_VS_0_PBCFG_AR_RELEASE_MAJOR_VERSION_C != STD_AR_RELEASE_MAJOR_VERSION) || \
  62. (CMP_IP_VS_0_PBCFG_AR_RELEASE_MINOR_VERSION_C != STD_AR_RELEASE_MINOR_VERSION))
  63. #error "AutoSar Version Numbers of Cmp_Ip_VS_0_PBcfg.c and StandardTypes.h are different"
  64. #endif
  65. #endif
  66. /* Check if source file and ICU header file are of the same vendor */
  67. #if (CMP_IP_VS_0_PBCFG_VENDOR_ID_C != CMP_IP_TYPES_VENDOR_ID)
  68. #error "Cmp_Ip_VS_0_PBcfg.c and Cmp_Ip_Types.h have different vendor IDs"
  69. #endif
  70. /* Check if source file and ICU header file are of the same AutoSar version */
  71. #if ((CMP_IP_VS_0_PBCFG_AR_RELEASE_MAJOR_VERSION_C != CMP_IP_TYPES_AR_RELEASE_MAJOR_VERSION) || \
  72. (CMP_IP_VS_0_PBCFG_AR_RELEASE_MINOR_VERSION_C != CMP_IP_TYPES_AR_RELEASE_MINOR_VERSION) || \
  73. (CMP_IP_VS_0_PBCFG_AR_RELEASE_REVISION_VERSION_C != CMP_IP_TYPES_AR_RELEASE_REVISION_VERSION))
  74. #error "AutoSar Version Numbers of Cmp_Ip_VS_0_PBcfg.c and Cmp_Ip_Types.h are different"
  75. #endif
  76. /* Check if source file and ICU header file are of the same Software version */
  77. #if ((CMP_IP_VS_0_PBCFG_SW_MAJOR_VERSION_C != CMP_IP_TYPES_SW_MAJOR_VERSION) || \
  78. (CMP_IP_VS_0_PBCFG_SW_MINOR_VERSION_C != CMP_IP_TYPES_SW_MINOR_VERSION) || \
  79. (CMP_IP_VS_0_PBCFG_SW_PATCH_VERSION_C != CMP_IP_TYPES_SW_PATCH_VERSION))
  80. #error "Software Version Numbers of Cmp_Ip_VS_0_PBcfg.c and Cmp_Ip_Types.h are different"
  81. #endif
  82. /*==================================================================================================
  83. * LOCAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)
  84. *================================================================================================*/
  85. /*==================================================================================================
  86. * LOCAL MACROS
  87. *================================================================================================*/
  88. /*==================================================================================================
  89. * LOCAL CONSTANTS
  90. *================================================================================================*/
  91. /*==================================================================================================
  92. * LOCAL VARIABLES
  93. *================================================================================================*/
  94. /*==================================================================================================
  95. * GLOBAL FUNCTIONS
  96. ==================================================================================================*/
  97. #define ICU_START_SEC_CODE
  98. #include "Icu_MemMap.h"
  99. /** @brief Signature of report events interrupt function. */
  100. extern void Icu_ReportEvents(uint16 Channel, boolean bOverflow);
  101. #define ICU_STOP_SEC_CODE
  102. #include "Icu_MemMap.h"
  103. /*==================================================================================================
  104. * GLOBAL CONSTANTS
  105. *================================================================================================*/
  106. #define ICU_START_SEC_CONFIG_DATA_UNSPECIFIED
  107. #include "Icu_MemMap.h"
  108. #define ICU_STOP_SEC_CONFIG_DATA_UNSPECIFIED
  109. #include "Icu_MemMap.h"
  110. /*==================================================================================================
  111. * GLOBAL VARIABLES
  112. *================================================================================================*/
  113. /*==================================================================================================
  114. * LOCAL FUNCTION PROTOTYPES
  115. *================================================================================================*/
  116. /*==================================================================================================
  117. * LOCAL FUNCTIONS
  118. *================================================================================================*/
  119. #ifdef __cplusplus
  120. }
  121. #endif
  122. /** @} */