SRtc_Ip_VS_0_PBcfg.c 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. /*==================================================================================================
  2. * Project : RTD AUTOSAR 4.4
  3. * Platform : CORTEXM
  4. * Peripheral : Ftm_Srtc_Lptmr_LPit
  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 SRtc_Ip_PBcfg.c
  26. *
  27. * @addtogroup srtc_ip sRtc IPL
  28. *
  29. * @{
  30. */
  31. #ifdef __cplusplus
  32. extern "C"{
  33. #endif
  34. /*==================================================================================================
  35. * INCLUDE FILES
  36. * 1) system and project includes
  37. * 2) needed interfaces from external units
  38. * 3) internal and external interfaces from this unit
  39. *================================================================================================*/
  40. #include "SRtc_Ip_VS_0_PBcfg.h"
  41. #include "Gpt_Irq.h"
  42. /*==================================================================================================
  43. * SOURCE FILE VERSION INFORMATION
  44. *================================================================================================*/
  45. #define SRTC_IP_VENDOR_ID_VS_0_PBCFG_C 43
  46. #define SRTC_IP_AR_RELEASE_MAJOR_VERSION_VS_0_PBCFG_C 4
  47. #define SRTC_IP_AR_RELEASE_MINOR_VERSION_VS_0_PBCFG_C 4
  48. #define SRTC_IP_AR_RELEASE_REVISION_VERSION_VS_0_PBCFG_C 0
  49. #define SRTC_IP_SW_MAJOR_VERSION_VS_0_PBCFG_C 1
  50. #define SRTC_IP_SW_MINOR_VERSION_VS_0_PBCFG_C 0
  51. #define SRTC_IP_SW_PATCH_VERSION_VS_0_PBCFG_C 0
  52. /*==================================================================================================
  53. * FILE VERSION CHECKS
  54. *================================================================================================*/
  55. #if (SRTC_IP_VENDOR_ID_VS_0_PBCFG_C != SRTC_IP_VENDOR_ID_VS_0_PBCFG_H)
  56. #error "SRtc_Ip_PBcfg.c and SRtc_Ip_PBcfg.h have different vendor ids"
  57. #endif
  58. /* Check if this header file and header file are of the same Autosar version */
  59. #if ((SRTC_IP_AR_RELEASE_MAJOR_VERSION_VS_0_PBCFG_C != SRTC_IP_AR_RELEASE_MAJOR_VERSION_VS_0_PBCFG_H) || \
  60. (SRTC_IP_AR_RELEASE_MINOR_VERSION_VS_0_PBCFG_C != SRTC_IP_AR_RELEASE_MINOR_VERSION_VS_0_PBCFG_H) || \
  61. (SRTC_IP_AR_RELEASE_REVISION_VERSION_VS_0_PBCFG_C != SRTC_IP_AR_RELEASE_REVISION_VERSION_VS_0_PBCFG_H) \
  62. )
  63. #error "AutoSar Version Numbers of SRtc_Ip_PBcfg.c and SRtc_Ip_PBcfg.h are different"
  64. #endif
  65. /* Check if this header file and header file are of the same Software version */
  66. #if ((SRTC_IP_SW_MAJOR_VERSION_VS_0_PBCFG_C != SRTC_IP_SW_MAJOR_VERSION_VS_0_PBCFG_H) || \
  67. (SRTC_IP_SW_MINOR_VERSION_VS_0_PBCFG_C != SRTC_IP_SW_MINOR_VERSION_VS_0_PBCFG_H) || \
  68. (SRTC_IP_SW_PATCH_VERSION_VS_0_PBCFG_C != SRTC_IP_SW_PATCH_VERSION_VS_0_PBCFG_H) \
  69. )
  70. #error "Software Version Numbers of SRtc_Ip_PBcfg.c and SRtc_Ip_PBcfg.h are different"
  71. #endif
  72. #if (SRTC_IP_VENDOR_ID_VS_0_PBCFG_C != GPT_IRQ_VENDOR_ID)
  73. #error "SRtc_Ip_PBcfg.c and Gpt_Irq.h have different vendor ids"
  74. #endif
  75. /* Check if this header file and header file are of the same Autosar version */
  76. #if ((SRTC_IP_AR_RELEASE_MAJOR_VERSION_VS_0_PBCFG_C != GPT_IRQ_AR_RELEASE_MAJOR_VERSION) || \
  77. (SRTC_IP_AR_RELEASE_MINOR_VERSION_VS_0_PBCFG_C != GPT_IRQ_AR_RELEASE_MINOR_VERSION) || \
  78. (SRTC_IP_AR_RELEASE_REVISION_VERSION_VS_0_PBCFG_C != GPT_IRQ_AR_RELEASE_REVISION_VERSION) \
  79. )
  80. #error "AutoSar Version Numbers of SRtc_Ip_PBcfg.c and Gpt_Irq.h are different"
  81. #endif
  82. /* Check if this header file and header file are of the same Software version */
  83. #if ((SRTC_IP_SW_MAJOR_VERSION_VS_0_PBCFG_C != GPT_IRQ_SW_MAJOR_VERSION) || \
  84. (SRTC_IP_SW_MINOR_VERSION_VS_0_PBCFG_C != GPT_IRQ_SW_MINOR_VERSION) || \
  85. (SRTC_IP_SW_PATCH_VERSION_VS_0_PBCFG_C != GPT_IRQ_SW_PATCH_VERSION) \
  86. )
  87. #error "Software Version Numbers of SRtc_Ip_PBcfg.c and Gpt_Irq.h are different"
  88. #endif
  89. /*================================================================================================*/
  90. /*==================================================================================================
  91. * GLOBAL VARIABLES
  92. *================================================================================================*/
  93. /*==================================================================================================
  94. * GLOBAL CONSTANTS
  95. *================================================================================================*/
  96. #define GPT_START_SEC_CONFIG_DATA_UNSPECIFIED
  97. #include "Gpt_MemMap.h"
  98. #define GPT_STOP_SEC_CONFIG_DATA_UNSPECIFIED
  99. #include "Gpt_MemMap.h"
  100. /*==================================================================================================
  101. * GLOBAL FUNCTIONS
  102. *================================================================================================*/
  103. /*==================================================================================================
  104. * LOCAL VARIABLES
  105. *================================================================================================*/
  106. /*==================================================================================================
  107. * LOCAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)
  108. *================================================================================================*/
  109. /*==================================================================================================
  110. * LOCAL MACROS
  111. *================================================================================================*/
  112. /*==================================================================================================
  113. * LOCAL CONSTANTS
  114. *================================================================================================*/
  115. /*==================================================================================================
  116. * LOCAL FUNCTIONS
  117. *================================================================================================*/
  118. /*==================================================================================================
  119. * LOCAL FUNCTION PROTOTYPES
  120. *================================================================================================*/
  121. #ifdef __cplusplus
  122. }
  123. #endif/* SRTC_IP_PBCFG_C*/
  124. /** @} */