Ram_Ip_Cfg.h 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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_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 Ram_Ip_Cfg.h
  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 RAM_DRIVER_CONFIGURATION Ram Ip Driver
  32. * @{
  33. */
  34. #ifndef RAM_IP_CFG_H
  35. #define RAM_IP_CFG_H
  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 "Ram_Ip_VS_0_PBcfg.h"
  46. /*==================================================================================================
  47. * SOURCE FILE VERSION INFORMATION
  48. ==================================================================================================*/
  49. #define RAM_IP_CFG_VENDOR_ID 43
  50. #define RAM_IP_CFG_AR_RELEASE_MAJOR_VERSION 4
  51. #define RAM_IP_CFG_AR_RELEASE_MINOR_VERSION 4
  52. #define RAM_IP_CFG_AR_RELEASE_REVISION_VERSION 0
  53. #define RAM_IP_CFG_SW_MAJOR_VERSION 1
  54. #define RAM_IP_CFG_SW_MINOR_VERSION 0
  55. #define RAM_IP_CFG_SW_PATCH_VERSION 0
  56. /*==================================================================================================
  57. * FILE VERSION CHECKS
  58. ==================================================================================================*/
  59. /* Check if Ram_Ip_Cfg.h file and Ram_Ip_VS_0_PBcfg.h file are of the same vendor */
  60. #if (RAM_IP_CFG_VENDOR_ID != RAM_IP_VS_0_PBCFG_VENDOR_ID)
  61. #error "Ram_Ip_Cfg.h and Ram_Ip_VS_0_PBcfg.h have different vendor ids"
  62. #endif
  63. /* Check if Ram_Ip_Cfg.h file and Ram_Ip_VS_0_PBcfg.h file are of the same Autosar version */
  64. #if ((RAM_IP_CFG_AR_RELEASE_MAJOR_VERSION != RAM_IP_VS_0_PBCFG_AR_RELEASE_MAJOR_VERSION) || \
  65. (RAM_IP_CFG_AR_RELEASE_MINOR_VERSION != RAM_IP_VS_0_PBCFG_AR_RELEASE_MINOR_VERSION) || \
  66. (RAM_IP_CFG_AR_RELEASE_REVISION_VERSION != RAM_IP_VS_0_PBCFG_AR_RELEASE_REVISION_VERSION) \
  67. )
  68. #error "AutoSar Version Numbers of Ram_Ip_Cfg.h and Ram_Ip_VS_0_PBcfg.h are different"
  69. #endif
  70. /* Check if Ram_Ip_Cfg.h file and Ram_Ip_VS_0_PBcfg.h file are of the same Software version */
  71. #if ((RAM_IP_CFG_SW_MAJOR_VERSION != RAM_IP_VS_0_PBCFG_SW_MAJOR_VERSION) || \
  72. (RAM_IP_CFG_SW_MINOR_VERSION != RAM_IP_VS_0_PBCFG_SW_MINOR_VERSION) || \
  73. (RAM_IP_CFG_SW_PATCH_VERSION != RAM_IP_VS_0_PBCFG_SW_PATCH_VERSION) \
  74. )
  75. #error "Software Version Numbers of Ram_Ip_Cfg.h and Ram_Ip_VS_0_PBcfg.h are different"
  76. #endif
  77. /*==================================================================================================
  78. DEFINES AND MACROS
  79. ==================================================================================================*/
  80. #define RAM_IP_DEV_ERROR_DETECT (STD_OFF)
  81. #if (RAM_IP_GET_RAM_STATE_API == STD_ON)
  82. #define RAM_TIMEOUT_TYPE (OSIF_COUNTER_DUMMY)
  83. #define RAM_TIMEOUT_VALUE_US (50000U)
  84. #endif
  85. /*==================================================================================================
  86. ENUMS
  87. ==================================================================================================*/
  88. /*==================================================================================================
  89. STRUCTURES AND OTHER TYPEDEFS
  90. ==================================================================================================*/
  91. /*==================================================================================================
  92. ENUMS
  93. ==================================================================================================*/
  94. #ifdef __cplusplus
  95. }
  96. #endif
  97. #endif /* RAM_IP_CFG_H */
  98. /** @} */