Ftm_Icu_Ip_VS_0_PBcfg.c 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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 Ftm_Icu_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 ftm_icu_ip FTM 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 "Ftm_Icu_Ip_Types.h"
  44. /*==================================================================================================
  45. * SOURCE FILE VERSION INFORMATION
  46. ==================================================================================================*/
  47. #define FTM_ICU_IP_VS_0_PBCFG_VENDOR_ID_C 43
  48. #define FTM_ICU_IP_VS_0_PBCFG_AR_RELEASE_MAJOR_VERSION_C 4
  49. #define FTM_ICU_IP_VS_0_PBCFG_AR_RELEASE_MINOR_VERSION_C 4
  50. #define FTM_ICU_IP_VS_0_PBCFG_AR_RELEASE_REVISION_VERSION_C 0
  51. #define FTM_ICU_IP_VS_0_PBCFG_SW_MAJOR_VERSION_C 1
  52. #define FTM_ICU_IP_VS_0_PBCFG_SW_MINOR_VERSION_C 0
  53. #define FTM_ICU_IP_VS_0_PBCFG_SW_PATCH_VERSION_C 0
  54. /*==================================================================================================
  55. * FILE VERSION CHECKS
  56. ==================================================================================================*/
  57. /* Check if source file and ICU header file are of the same vendor */
  58. #if (FTM_ICU_IP_VS_0_PBCFG_VENDOR_ID_C != FTM_ICU_IP_TYPES_VENDOR_ID)
  59. #error "Ftm_Icu_IpVS_0_PBcfg.c and Ftm_Icu_Ip_Types.h have different vendor IDs"
  60. #endif
  61. /* Check if source file and ICU header file are of the same AutoSar version */
  62. #if ((FTM_ICU_IP_VS_0_PBCFG_AR_RELEASE_MAJOR_VERSION_C != FTM_ICU_IP_TYPES_AR_RELEASE_MAJOR_VERSION) || \
  63. (FTM_ICU_IP_VS_0_PBCFG_AR_RELEASE_MINOR_VERSION_C != FTM_ICU_IP_TYPES_AR_RELEASE_MINOR_VERSION) || \
  64. (FTM_ICU_IP_VS_0_PBCFG_AR_RELEASE_REVISION_VERSION_C != FTM_ICU_IP_TYPES_AR_RELEASE_REVISION_VERSION))
  65. #error "AutoSar Version Numbers of Ftm_Icu_IpVS_0_PBcfg.c and Ftm_Icu_Ip_Types.h are different"
  66. #endif
  67. /* Check if source file and ICU header file are of the same Software version */
  68. #if ((FTM_ICU_IP_VS_0_PBCFG_SW_MAJOR_VERSION_C != FTM_ICU_IP_TYPES_SW_MAJOR_VERSION) || \
  69. (FTM_ICU_IP_VS_0_PBCFG_SW_MINOR_VERSION_C != FTM_ICU_IP_TYPES_SW_MINOR_VERSION) || \
  70. (FTM_ICU_IP_VS_0_PBCFG_SW_PATCH_VERSION_C != FTM_ICU_IP_TYPES_SW_PATCH_VERSION))
  71. #error "Software Version Numbers of Ftm_Icu_IpVS_0_PBcfg.c and Ftm_Icu_Ip_Types.h are different"
  72. #endif
  73. /*==================================================================================================
  74. * LOCAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)
  75. ==================================================================================================*/
  76. /*==================================================================================================
  77. * LOCAL MACROS
  78. ==================================================================================================*/
  79. /*==================================================================================================
  80. * LOCAL CONSTANTS
  81. ==================================================================================================*/
  82. /*==================================================================================================
  83. * LOCAL VARIABLES
  84. ==================================================================================================*/
  85. /*==================================================================================================
  86. * GLOBAL FUNCTIONS
  87. ==================================================================================================*/
  88. #define ICU_START_SEC_CODE
  89. #include "Icu_MemMap.h"
  90. /** @brief Signature of report events interrupt function. */
  91. extern void Icu_ReportEvents(uint16 Channel, boolean bOverflow);
  92. /** @brief Signature of wakeup and overflow interrupt function. */
  93. extern void Icu_ReportWakeupAndOverflow(uint16 Channel, boolean bOverflow);
  94. /** @brief Signature of change logic channel state function. */
  95. extern void Icu_LogicChStateCallback(uint16 logicChannel, uint8 mask, boolean set);
  96. #define ICU_STOP_SEC_CODE
  97. #include "Icu_MemMap.h"
  98. /*==================================================================================================
  99. * GLOBAL CONSTANTS
  100. ==================================================================================================*/
  101. #define ICU_START_SEC_CONFIG_DATA_UNSPECIFIED
  102. #include "Icu_MemMap.h"
  103. #define ICU_STOP_SEC_CONFIG_DATA_UNSPECIFIED
  104. #include "Icu_MemMap.h"
  105. /*==================================================================================================
  106. * GLOBAL VARIABLES
  107. ==================================================================================================*/
  108. /*==================================================================================================
  109. * LOCAL FUNCTION PROTOTYPES
  110. ==================================================================================================*/
  111. /*==================================================================================================
  112. * LOCAL FUNCTIONS
  113. ==================================================================================================*/
  114. #ifdef __cplusplus
  115. }
  116. #endif
  117. /** @} */