Clock_Ip_Cfg.c 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. /*==================================================================================================
  2. * Project : RTD AUTOSAR 4.4
  3. * Platform : CORTEXM
  4. * Peripheral :
  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_ASR_REL_4_4_REV_0000_20210810
  12. *
  13. * (c) Copyright 2020 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 Clock_Ip_Cfg.c
  26. * @version 1.0.0
  27. *
  28. * @brief AUTOSAR Mcu - Post-Build(PB) configuration file code template.
  29. * @details Code template for Post-Build(PB) configuration file generation.
  30. *
  31. * @addtogroup CLOCK_DRIVER_CONFIGURATION Clock Driver
  32. * @{
  33. */
  34. #ifdef __cplusplus
  35. extern "C"{
  36. #endif
  37. /**
  38. * @page misra_violations MISRA-C:2012 violations
  39. *
  40. */
  41. /*==================================================================================================
  42. INCLUDE FILES
  43. 1) system and project includes
  44. 2) needed interfaces from external units
  45. 3) internal and external interfaces from this unit
  46. ==================================================================================================*/
  47. #include "Clock_Ip_Cfg.h"
  48. #include "StandardTypes.h"
  49. #include "Clock_Ip.h"
  50. #include "Clock_Ip_Private.h"
  51. /*==================================================================================================
  52. * SOURCE FILE VERSION INFORMATION
  53. ==================================================================================================*/
  54. #define CLOCK_IP_CFG_VENDOR_ID_C 43
  55. #define CLOCK_IP_CFG_AR_RELEASE_MAJOR_VERSION_C 4
  56. #define CLOCK_IP_CFG_AR_RELEASE_MINOR_VERSION_C 4
  57. #define CLOCK_IP_CFG_AR_RELEASE_REVISION_VERSION_C 0
  58. #define CLOCK_IP_CFG_SW_MAJOR_VERSION_C 1
  59. #define CLOCK_IP_CFG_SW_MINOR_VERSION_C 0
  60. #define CLOCK_IP_CFG_SW_PATCH_VERSION_C 0
  61. /*==================================================================================================
  62. * FILE VERSION CHECKS
  63. ==================================================================================================*/
  64. /* Check if source file and Clock_Ip_Cfg.h file are of the same vendor */
  65. #if (CLOCK_IP_CFG_VENDOR_ID_C != CLOCK_IP_CFG_VENDOR_ID)
  66. #error "Clock_Ip_Cfg.c and Clock_Ip_Cfg.h have different vendor ids"
  67. #endif
  68. /* Check if source file and Clock_Ip_Cfg.h file are of the same Autosar version */
  69. #if ((CLOCK_IP_CFG_AR_RELEASE_MAJOR_VERSION_C != CLOCK_IP_CFG_AR_RELEASE_MAJOR_VERSION) || \
  70. (CLOCK_IP_CFG_AR_RELEASE_MINOR_VERSION_C != CLOCK_IP_CFG_AR_RELEASE_MINOR_VERSION) || \
  71. (CLOCK_IP_CFG_AR_RELEASE_REVISION_VERSION_C != CLOCK_IP_CFG_AR_RELEASE_REVISION_VERSION) \
  72. )
  73. #error "AutoSar Version Numbers of Clock_Ip_Cfg.c and Clock_Ip_Cfg.h are different"
  74. #endif
  75. /* Check if source file and Clock_Ip_Cfg.h file are of the same Software version */
  76. #if ((CLOCK_IP_CFG_SW_MAJOR_VERSION_C != CLOCK_IP_CFG_SW_MAJOR_VERSION) || \
  77. (CLOCK_IP_CFG_SW_MINOR_VERSION_C != CLOCK_IP_CFG_SW_MINOR_VERSION) || \
  78. (CLOCK_IP_CFG_SW_PATCH_VERSION_C != CLOCK_IP_CFG_SW_PATCH_VERSION) \
  79. )
  80. #error "Software Version Numbers of Clock_Ip_Cfg.c and Clock_Ip_Cfg.h are different"
  81. #endif
  82. #ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
  83. /* Check if source file and StandardTypes.h file are of the same Autosar version */
  84. #if ((CLOCK_IP_CFG_AR_RELEASE_MAJOR_VERSION_C != STD_AR_RELEASE_MAJOR_VERSION) || \
  85. (CLOCK_IP_CFG_AR_RELEASE_MINOR_VERSION_C != STD_AR_RELEASE_MINOR_VERSION) \
  86. )
  87. #error "AutoSar Version Numbers of Clock_Ip_Cfg.c and StandardTypes.h are different"
  88. #endif
  89. #endif /* DISABLE_MCAL_INTERMODULE_ASR_CHECK */
  90. /* Check if source file and Clock_Ip.h file are of the same vendor */
  91. #if (CLOCK_IP_CFG_VENDOR_ID_C != CLOCK_IP_VENDOR_ID)
  92. #error "Clock_Ip_Cfg.c and Clock_Ip.h have different vendor ids"
  93. #endif
  94. /* Check if source file and Clock_Ip.h file are of the same Autosar version */
  95. #if ((CLOCK_IP_CFG_AR_RELEASE_MAJOR_VERSION_C != CLOCK_IP_AR_RELEASE_MAJOR_VERSION) || \
  96. (CLOCK_IP_CFG_AR_RELEASE_MINOR_VERSION_C != CLOCK_IP_AR_RELEASE_MINOR_VERSION) || \
  97. (CLOCK_IP_CFG_AR_RELEASE_REVISION_VERSION_C != CLOCK_IP_AR_RELEASE_REVISION_VERSION) \
  98. )
  99. #error "AutoSar Version Numbers of Clock_Ip_Cfg.c and Clock_Ip.h are different"
  100. #endif
  101. /* Check if source file and Clock_Ip.h file are of the same Software version */
  102. #if ((CLOCK_IP_CFG_SW_MAJOR_VERSION_C != CLOCK_IP_SW_MAJOR_VERSION) || \
  103. (CLOCK_IP_CFG_SW_MINOR_VERSION_C != CLOCK_IP_SW_MINOR_VERSION) || \
  104. (CLOCK_IP_CFG_SW_PATCH_VERSION_C != CLOCK_IP_SW_PATCH_VERSION) \
  105. )
  106. #error "Software Version Numbers of Clock_Ip_Cfg.c and Clock_Ip.h are different"
  107. #endif
  108. /* Check if source file and Clock_Ip_Private.h file are of the same vendor */
  109. #if (CLOCK_IP_CFG_VENDOR_ID_C != CLOCK_IP_PRIVATE_VENDOR_ID)
  110. #error "Clock_Ip_Cfg.c and Clock_Ip_Private.h have different vendor ids"
  111. #endif
  112. /* Check if source file and Clock_Ip_Private.h file are of the same Autosar version */
  113. #if ((CLOCK_IP_CFG_AR_RELEASE_MAJOR_VERSION_C != CLOCK_IP_PRIVATE_AR_RELEASE_MAJOR_VERSION) || \
  114. (CLOCK_IP_CFG_AR_RELEASE_MINOR_VERSION_C != CLOCK_IP_PRIVATE_AR_RELEASE_MINOR_VERSION) || \
  115. (CLOCK_IP_CFG_AR_RELEASE_REVISION_VERSION_C != CLOCK_IP_PRIVATE_AR_RELEASE_REVISION_VERSION) \
  116. )
  117. #error "AutoSar Version Numbers of Clock_Ip_Cfg.c and Clock_Ip_Private.h are different"
  118. #endif
  119. /* Check if source file and Clock_Ip_Private.h file are of the same Software version */
  120. #if ((CLOCK_IP_CFG_SW_MAJOR_VERSION_C != CLOCK_IP_PRIVATE_SW_MAJOR_VERSION) || \
  121. (CLOCK_IP_CFG_SW_MINOR_VERSION_C != CLOCK_IP_PRIVATE_SW_MINOR_VERSION) || \
  122. (CLOCK_IP_CFG_SW_PATCH_VERSION_C != CLOCK_IP_PRIVATE_SW_PATCH_VERSION) \
  123. )
  124. #error "Software Version Numbers of Clock_Ip_Cfg.c and Clock_Ip_Private.h are different"
  125. #endif
  126. /*==================================================================================================
  127. LOCAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)
  128. ==================================================================================================*/
  129. /*==================================================================================================
  130. LOCAL MACROS
  131. ==================================================================================================*/
  132. /*==================================================================================================
  133. LOCAL CONSTANTS
  134. ==================================================================================================*/
  135. /*==================================================================================================
  136. LOCAL VARIABLES
  137. ==================================================================================================*/
  138. /*==================================================================================================
  139. GLOBAL CONSTANTS
  140. ==================================================================================================*/
  141. /*==================================================================================================
  142. GLOBAL VARIABLES
  143. ==================================================================================================*/
  144. #define MCU_START_SEC_CONFIG_DATA_UNSPECIFIED
  145. #include "Mcu_MemMap.h"
  146. #define MCU_STOP_SEC_CONFIG_DATA_UNSPECIFIED
  147. #include "Mcu_MemMap.h"
  148. /*==================================================================================================
  149. LOCAL FUNCTION PROTOTYPES
  150. ==================================================================================================*/
  151. /*==================================================================================================
  152. LOCAL FUNCTIONS
  153. ==================================================================================================*/
  154. /*==================================================================================================
  155. GLOBAL FUNCTIONS
  156. ==================================================================================================*/
  157. #ifdef __cplusplus
  158. }
  159. #endif
  160. /** @} */