Dma_Ip_Cfg.h 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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 DMA_IP_CFG_H_
  25. #define DMA_IP_CFG_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 "Dma_Ip_Types.h"
  37. #include "Dma_Ip_VS_0_PBcfg.h"
  38. /*==================================================================================================
  39. SOURCE FILE VERSION INFORMATION
  40. ==================================================================================================*/
  41. #define DMA_IP_CFG_VENDOR_ID_H 43
  42. #define DMA_IP_CFG_AR_RELEASE_MAJOR_VERSION_H 4
  43. #define DMA_IP_CFG_AR_RELEASE_MINOR_VERSION_H 4
  44. #define DMA_IP_CFG_AR_RELEASE_REVISION_VERSION_H 0
  45. #define DMA_IP_CFG_SW_MAJOR_VERSION_H 1
  46. #define DMA_IP_CFG_SW_MINOR_VERSION_H 0
  47. #define DMA_IP_CFG_SW_PATCH_VERSION_H 0
  48. /*==================================================================================================
  49. FILE VERSION CHECKS
  50. ==================================================================================================*/
  51. /* Check if header file and Dma_Ip_Types.h file are of the same vendor */
  52. #if (DMA_IP_CFG_VENDOR_ID_H != DMA_IP_TYPES_VENDOR_ID_H)
  53. #error "Dma_Ip_Cfg.h and Dma_Ip_Types.h have different vendor ids"
  54. #endif
  55. /* Check if header file and Dma_Ip_Types.h file are of the same Autosar version */
  56. #if ((DMA_IP_CFG_AR_RELEASE_MAJOR_VERSION_H != DMA_IP_TYPES_AR_RELEASE_MAJOR_VERSION_H) || \
  57. (DMA_IP_CFG_AR_RELEASE_MINOR_VERSION_H != DMA_IP_TYPES_AR_RELEASE_MINOR_VERSION_H) || \
  58. (DMA_IP_CFG_AR_RELEASE_REVISION_VERSION_H != DMA_IP_TYPES_AR_RELEASE_REVISION_VERSION_H) \
  59. )
  60. #error "AutoSar Version Numbers of Dma_Ip_Cfg.h and Dma_Ip_Types.h are different"
  61. #endif
  62. /* Check if header file and Dma_Ip_Types.h file are of the same Software version */
  63. #if ((DMA_IP_CFG_SW_MAJOR_VERSION_H != DMA_IP_TYPES_SW_MAJOR_VERSION_H) || \
  64. (DMA_IP_CFG_SW_MINOR_VERSION_H != DMA_IP_TYPES_SW_MINOR_VERSION_H) || \
  65. (DMA_IP_CFG_SW_PATCH_VERSION_H != DMA_IP_TYPES_SW_PATCH_VERSION_H) \
  66. )
  67. #error "Software Version Numbers of Dma_Ip_Cfg.h and Dma_Ip_Types.h are different"
  68. #endif
  69. /* Check if header file and Dma_Ip_VS_0_PBcfg.h file are of the same vendor */
  70. #if (DMA_IP_CFG_VENDOR_ID_H != DMA_IP_VS_0_PBCFG_VENDOR_ID_H)
  71. #error "Dma_Ip_Cfg.h and Dma_Ip_VS_0_PBcfg.h have different vendor ids"
  72. #endif
  73. /* Check if header file and Dma_Ip_VS_0_PBcfg.h file are of the same Autosar version */
  74. #if ((DMA_IP_CFG_AR_RELEASE_MAJOR_VERSION_H != DMA_IP_VS_0_PBCFG_AR_RELEASE_MAJOR_VERSION_H) || \
  75. (DMA_IP_CFG_AR_RELEASE_MINOR_VERSION_H != DMA_IP_VS_0_PBCFG_AR_RELEASE_MINOR_VERSION_H) || \
  76. (DMA_IP_CFG_AR_RELEASE_REVISION_VERSION_H != DMA_IP_VS_0_PBCFG_AR_RELEASE_REVISION_VERSION_H) \
  77. )
  78. #error "AutoSar Version Numbers of Dma_Ip_Cfg.h and Dma_Ip_VS_0_PBcfg.h are different"
  79. #endif
  80. /* Check if header file and Dma_Ip_VS_0_PBcfg.h file are of the same Software version */
  81. #if ((DMA_IP_CFG_SW_MAJOR_VERSION_H != DMA_IP_VS_0_PBCFG_SW_MAJOR_VERSION_H) || \
  82. (DMA_IP_CFG_SW_MINOR_VERSION_H != DMA_IP_VS_0_PBCFG_SW_MINOR_VERSION_H) || \
  83. (DMA_IP_CFG_SW_PATCH_VERSION_H != DMA_IP_VS_0_PBCFG_SW_PATCH_VERSION_H) \
  84. )
  85. #error "Software Version Numbers of Dma_Ip_Cfg.h and Dma_Ip_VS_0_PBcfg.h are different"
  86. #endif
  87. #ifdef __cplusplus
  88. }
  89. #endif
  90. #endif /* DMA_IP_CFG_H_ */
  91. /*==================================================================================================
  92. * END OF FILE
  93. ==================================================================================================*/