Cache_Ip_Cfg_Defines.h 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /*==================================================================================================
  2. * Project : RTD AUTOSAR 4.4
  3. * Platform : CORTEXM
  4. * Peripheral : DMA,CACHE,TRGMUX,FLEXIO
  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. #ifndef CACHE_IP_CFG_DEFINES_H_
  25. #define CACHE_IP_CFG_DEFINES_H_
  26. #ifdef __cplusplus
  27. extern "C"
  28. {
  29. #endif
  30. /*==================================================================================================
  31. INCLUDE FILES
  32. 1) system and project includes
  33. 2) needed interfaces from external units
  34. 3) internal and external interfaces from this unit
  35. ==================================================================================================*/
  36. #include "Cache_Ip_Types.h"
  37. /*==================================================================================================
  38. SOURCE FILE VERSION INFORMATION
  39. ==================================================================================================*/
  40. #define CACHE_IP_CFG_DEFINES_VENDOR_ID_H 43
  41. #define CACHE_IP_CFG_DEFINES_AR_RELEASE_MAJOR_VERSION_H 4
  42. #define CACHE_IP_CFG_DEFINES_AR_RELEASE_MINOR_VERSION_H 4
  43. #define CACHE_IP_CFG_DEFINES_AR_RELEASE_REVISION_VERSION_H 0
  44. #define CACHE_IP_CFG_DEFINES_SW_MAJOR_VERSION_H 1
  45. #define CACHE_IP_CFG_DEFINES_SW_MINOR_VERSION_H 0
  46. #define CACHE_IP_CFG_DEFINES_SW_PATCH_VERSION_H 0
  47. /*==================================================================================================
  48. FILE VERSION CHECKS
  49. ==================================================================================================*/
  50. /* Check if header file and Cache_Ip_Types.h file are of the same vendor */
  51. #if (CACHE_IP_CFG_DEFINES_VENDOR_ID_H != CACHE_IP_TYPES_VENDOR_ID_H)
  52. #error "Cache_Ip_Cfg_Defines.h and Cache_Ip_Types.h have different vendor ids"
  53. #endif
  54. /* Check if header file and Cache_Ip_Types.h file are of the same Autosar version */
  55. #if ((CACHE_IP_CFG_DEFINES_AR_RELEASE_MAJOR_VERSION_H != CACHE_IP_TYPES_AR_RELEASE_MAJOR_VERSION_H) || \
  56. (CACHE_IP_CFG_DEFINES_AR_RELEASE_MINOR_VERSION_H != CACHE_IP_TYPES_AR_RELEASE_MINOR_VERSION_H) || \
  57. (CACHE_IP_CFG_DEFINES_AR_RELEASE_REVISION_VERSION_H != CACHE_IP_TYPES_AR_RELEASE_REVISION_VERSION_H) \
  58. )
  59. #error "AutoSar Version Numbers of Cache_Ip_Cfg_Defines.h and Cache_Ip_Types.h are different"
  60. #endif
  61. /* Check if header file and Cache_Ip_Types.h file are of the same Software version */
  62. #if ((CACHE_IP_CFG_DEFINES_SW_MAJOR_VERSION_H != CACHE_IP_TYPES_SW_MAJOR_VERSION_H) || \
  63. (CACHE_IP_CFG_DEFINES_SW_MINOR_VERSION_H != CACHE_IP_TYPES_SW_MINOR_VERSION_H) || \
  64. (CACHE_IP_CFG_DEFINES_SW_PATCH_VERSION_H != CACHE_IP_TYPES_SW_PATCH_VERSION_H) \
  65. )
  66. #error "Software Version Numbers of Cache_Ip_Cfg_Defines.h and Cache_Ip_Types.h are different"
  67. #endif
  68. /*==================================================================================================
  69. DEFINES AND MACROS
  70. ==================================================================================================*/
  71. /*-----------------------------------------------/
  72. / CACHE IP USER MODE SUPPORT /
  73. /-----------------------------------------------*/
  74. #define CACHE_IP_USER_MODE_SUPPORT_IS_AVAILABLE STD_OFF
  75. /*-----------------------------------------------/
  76. / CACHE IP SUPPORT /
  77. /-----------------------------------------------*/
  78. #define CACHE_IP_IS_AVAILABLE STD_ON
  79. #define CACHE_IP_ARMCOREMX_IS_AVAILABLE STD_OFF
  80. #define CACHE_IP_LMEM_IS_AVAILABLE STD_ON
  81. #define CACHE_IP_ALL_IS_AVAILABLE STD_ON
  82. #define CACHE_IP_INSTRUCTION_IS_AVAILABLE STD_OFF
  83. #define CACHE_IP_DATA_IS_AVAILABLE STD_OFF
  84. #define CACHE_IP_LMEM_PC_IS_AVAILABLE STD_ON
  85. #define CACHE_IP_LMEM_PS_IS_AVAILABLE STD_OFF
  86. #define CACHE_IP_DEV_ERROR_DETECT STD_OFF
  87. /*-----------------------------------------------/
  88. / CACHE IP SPECIFIC /
  89. /-----------------------------------------------*/
  90. #define CACHE_IP_LMEM_LINE_SIZE 16U
  91. #define CACHE_IP_LMEM_COMMAND_TIMEOUT_VAL 100000
  92. #define CACHE_IP_LMEM_COMMAND_TIMEOUT_TYPE OSIF_COUNTER_DUMMY
  93. #ifdef __cplusplus
  94. }
  95. #endif
  96. #endif /* CACHE_IP_CFG_DEFINES_H_ */