Spi_Ipw_VS_0_PBcfg.h 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /**
  2. * @file Spi_Ipw_VS_0_PBcfg.h
  3. * @version 1.0.0
  4. *
  5. * @brief AUTOSAR Spi - Spi configuration header file.
  6. * @details This file is the header containing all the extern declaration for SPI
  7. * module configuration(s).
  8. * @addtogroup SPI_DRIVER_CONFIGURATION Spi Driver Configuration
  9. * @{
  10. */
  11. /*==================================================================================================
  12. * Project : RTD AUTOSAR 4.4
  13. * Platform : CORTEXM
  14. * Peripheral : LPSPI
  15. * Dependencies :
  16. *
  17. * Autosar Version : 4.4.0
  18. * Autosar Revision : ASR_REL_4_4_REV_0000
  19. * Autosar Conf.Variant :
  20. * SW Version : 1.0.0
  21. * Build Version : S32K1_RTD_1_0_0_HF01_D2109_ASR_REL_4_4_REV_0000_20210907
  22. *
  23. * (c) Copyright 2020-2021 NXP Semiconductors
  24. * All Rights Reserved.
  25. *
  26. * NXP Confidential. This software is owned or controlled by NXP and may only be
  27. * used strictly in accordance with the applicable license terms. By expressly
  28. * accepting such terms or by downloading, installing, activating and/or otherwise
  29. * using the software, you are agreeing that you have read, and that you agree to
  30. * comply with and are bound by, such license terms. If you do not agree to be
  31. * bound by the applicable license terms, then you may not retain, install,
  32. * activate or otherwise use the software.
  33. ==================================================================================================*/
  34. #ifndef SPI_IPW_VS_0_PBCFG_H
  35. #define SPI_IPW_VS_0_PBCFG_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. * 4) user callback header files
  45. ==================================================================================================*/
  46. #include "Spi_IPW.h"
  47. /*==================================================================================================
  48. * SOURCE FILE VERSION INFORMATION
  49. ==================================================================================================*/
  50. #define SPI_IPW_VENDOR_ID_VS_0_PBCFG_H 43
  51. #define SPI_IPW_AR_RELEASE_MAJOR_VERSION_VS_0_PBCFG_H 4
  52. #define SPI_IPW_AR_RELEASE_MINOR_VERSION_VS_0_PBCFG_H 4
  53. #define SPI_IPW_AR_RELEASE_REVISION_VERSION_VS_0_PBCFG_H 0
  54. #define SPI_IPW_SW_MAJOR_VERSION_VS_0_PBCFG_H 1
  55. #define SPI_IPW_SW_MINOR_VERSION_VS_0_PBCFG_H 0
  56. #define SPI_IPW_SW_PATCH_VERSION_VS_0_PBCFG_H 0
  57. /*==================================================================================================
  58. * FILE VERSION CHECKS
  59. ==================================================================================================*/
  60. /* Check if this header file and Spi_IPW.h are of the same vendor */
  61. #if (SPI_IPW_VENDOR_ID_VS_0_PBCFG_H != SPI_IPW_VENDOR_ID)
  62. #error "Spi_Ipw_PBcfg.h and Spi_IPW.h have different vendor ids"
  63. #endif
  64. /* Check if Spi_Ipw_PBcfg.h file and Spi_IPW.h file are of the same Autosar version */
  65. #if ((SPI_IPW_AR_RELEASE_MAJOR_VERSION_VS_0_PBCFG_H != SPI_IPW_AR_RELEASE_MAJOR_VERSION) || \
  66. (SPI_IPW_AR_RELEASE_MINOR_VERSION_VS_0_PBCFG_H != SPI_IPW_AR_RELEASE_MINOR_VERSION) || \
  67. (SPI_IPW_AR_RELEASE_REVISION_VERSION_VS_0_PBCFG_H != SPI_IPW_AR_RELEASE_REVISION_VERSION))
  68. #error "AutoSar Version Numbers of Spi_Ipw_PBcfg.h and Spi_IPW.h are different"
  69. #endif
  70. #if ((SPI_IPW_SW_MAJOR_VERSION_VS_0_PBCFG_H != SPI_IPW_SW_MAJOR_VERSION) || \
  71. (SPI_IPW_SW_MINOR_VERSION_VS_0_PBCFG_H != SPI_IPW_SW_MINOR_VERSION) || \
  72. (SPI_IPW_SW_PATCH_VERSION_VS_0_PBCFG_H != SPI_IPW_SW_PATCH_VERSION))
  73. #error "Software Version Numbers of Spi_Ipw_PBcfg.h and Spi_IPW.h are different"
  74. #endif
  75. /*==================================================================================================
  76. * CONSTANTS
  77. ==================================================================================================*/
  78. /*==================================================================================================
  79. * ENUMS
  80. ==================================================================================================*/
  81. /*==================================================================================================
  82. * STRUCTURES AND OTHER TYPEDEFS
  83. ==================================================================================================*/
  84. /*==================================================================================================
  85. * GLOBAL VARIABLE DECLARATIONS
  86. ==================================================================================================*/
  87. #define SPI_START_SEC_CONFIG_DATA_UNSPECIFIED
  88. #include "Spi_MemMap.h"
  89. /* External device Configuration */
  90. extern const Spi_ExDevicesConfigType Spi_aExternalDeviceConfigList_VS_0[1U];
  91. /* Hardwre unit device configuration */
  92. extern const Spi_PhyUnitsConfigType Spi_aHwUnitConfigList_VS_0[SPI_MAX_HWUNIT];
  93. #define SPI_STOP_SEC_CONFIG_DATA_UNSPECIFIED
  94. #include "Spi_MemMap.h"
  95. /*==================================================================================================
  96. * FUNCTION PROTOTYPES
  97. ==================================================================================================*/
  98. #ifdef __cplusplus
  99. }
  100. #endif
  101. #endif
  102. /** @} */