Power_Ip_Cfg_Defines.h 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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 Power_Ip_Cfg_Defines.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 POWER_DRIVER_CONFIGURATION Power Ip Driver
  32. * @{
  33. */
  34. #ifndef POWER_IP_CFG_DEFINES_H
  35. #define POWER_IP_CFG_DEFINES_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 "StandardTypes.h"
  46. /*==================================================================================================
  47. SOURCE FILE VERSION INFORMATION
  48. ==================================================================================================*/
  49. #define POWER_IP_CFG_DEFINES_VENDOR_ID 43
  50. #define POWER_IP_CFG_DEFINES_AR_RELEASE_MAJOR_VERSION 4
  51. #define POWER_IP_CFG_DEFINES_AR_RELEASE_MINOR_VERSION 4
  52. #define POWER_IP_CFG_DEFINES_AR_RELEASE_REVISION_VERSION 0
  53. #define POWER_IP_CFG_DEFINES_SW_MAJOR_VERSION 1
  54. #define POWER_IP_CFG_DEFINES_SW_MINOR_VERSION 0
  55. #define POWER_IP_CFG_DEFINES_SW_PATCH_VERSION 0
  56. /*==================================================================================================
  57. * FILE VERSION CHECKS
  58. ==================================================================================================*/
  59. #ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
  60. /* Check if Power_Ip_Cfg_Defines.h file and StandardTypes.h file are of the same Autosar version */
  61. #if ((POWER_IP_CFG_DEFINES_AR_RELEASE_MAJOR_VERSION != STD_AR_RELEASE_MAJOR_VERSION) || \
  62. (POWER_IP_CFG_DEFINES_AR_RELEASE_MINOR_VERSION != STD_AR_RELEASE_MINOR_VERSION))
  63. #error "AutoSar Version Numbers of Power_Ip_Cfg_Defines.h and StandardTypes.h are different"
  64. #endif
  65. #endif
  66. /*==================================================================================================
  67. DEFINES AND MACROS
  68. ==================================================================================================*/
  69. /**
  70. * @brief Derivative used.
  71. */
  72. #define POWER_IP_S32K144
  73. #if (defined(POWER_IP_S32K148) || defined(POWER_IP_S32K146) || defined(POWER_IP_S32K144) || defined(POWER_IP_S32K142))
  74. #define POWER_IP_HSRUN_SUPPORT STD_ON
  75. #else
  76. #define POWER_IP_HSRUN_SUPPORT STD_OFF
  77. #endif
  78. /**
  79. * @brief Support for Low Power mode.
  80. */
  81. #define MCU_ENTER_LOW_POWER_MODE (STD_OFF)
  82. /**
  83. * @brief
  84. */
  85. #define MCU_PERFORM_RESET_API (STD_ON)
  86. /**
  87. * @brief ISR Mcu_ResetAlternate_ISR is/isn't available (STD_ON/STD_OFF)
  88. */
  89. #define POWER_IP_RESET_ALTERNATE_ISR_USED (STD_OFF)
  90. /**
  91. * @brief ISR Mcu_PMC_UnderOverVoltage_ISR is/isn't available (STD_ON/STD_OFF)
  92. */
  93. #define POWER_IP_VOLTAGE_ERROR_ISR_USED (STD_OFF)
  94. /**
  95. * @brief Enable the usage of Non-Autosar Peripheral CMU.
  96. */
  97. #define MCU_ENABLE_CMU_PERIPHERAL (STD_OFF)
  98. /**
  99. * @brief This parameter shall be set True, if the H/W does not have a PLL or the PLL circuitry is enabled after the power on without S/W intervention.
  100. */
  101. #define POWER_IP_NO_PLL (STD_OFF)
  102. /**
  103. * @brief This define controls the availability of function Mcu_SleepOnExit
  104. */
  105. #define POWER_IP_SLEEPONEXIT_SUPPORT (STD_ON)
  106. /**
  107. * @brief Low Voltage Detect Status and Control 1 Register support (PMC_LVDSC1).
  108. */
  109. #define POWER_IP_PMC_LVDSC1_SUPPORT (STD_ON)
  110. /**
  111. * @brief Enable the usage of Non-Autosar API Mcu_GetPowerMode_State() for getting infos system platform configuration.
  112. */
  113. #define POWER_IP_POWERMODE_STATE_API (STD_OFF)
  114. /**
  115. * @brief If this parameter is set to TRUE, the System Mode Controller (SMC) initialization has to be disabled in the MCU driver.
  116. */
  117. #define POWER_MODE_CHANGE_NOTIFICATION (STD_OFF)
  118. /**
  119. * @brief Enable the usage of Non-Autosar API Power_Ip_SRAMRetentionConfig().
  120. */
  121. #define POWER_IP_SRAM_RETEN_CONFIG_API (STD_OFF)
  122. /**
  123. * @brief If this parameter is set to TRUE, the Reset Control Module (RMC) initialization has to be disabled from the MCU driver.
  124. */
  125. #define POWER_IP_DISABLE_RCM_INIT (STD_OFF)
  126. /**
  127. * @brief If this parameter is set to TRUE, the Power Management Controller (PMC) initialization has to be disabled from the MCU driver.
  128. */
  129. #define POWER_IP_DISABLE_PMC_INIT (STD_OFF)
  130. /**
  131. * @brief If this parameter is set to TRUE, the System Mode Controller (SMC) initialization has to be disabled from the MCU driver.
  132. */
  133. #define POWER_IP_DISABLE_SMC_INIT (STD_OFF)
  134. /*==================================================================================================
  135. ENUMS
  136. ==================================================================================================*/
  137. /*==================================================================================================
  138. STRUCTURES AND OTHER TYPEDEFS
  139. ==================================================================================================*/
  140. #ifdef __cplusplus
  141. }
  142. #endif
  143. #endif /* #ifndef POWER_IP_CFG_DEFINES_H */
  144. /** @} */