Port_Ci_Port_Ip_Defines.h 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. /*==================================================================================================
  2. * Project : RTD AUTOSAR 4.4
  3. * Platform : CORTEXM
  4. * Peripheral : PORT_CI
  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 PORT_CI_PORT_IP_DEFINES_H
  25. #define PORT_CI_PORT_IP_DEFINES_H
  26. /**
  27. * @file Port_Ci_Port_Ip_Defines.h
  28. *
  29. * @addtogroup Port_CFG
  30. * @{
  31. */
  32. #ifdef __cplusplus
  33. extern "C"{
  34. #endif
  35. /*==================================================================================================
  36. * INCLUDE FILES
  37. * 1) system and project includes
  38. * 2) needed interfaces from external units
  39. * 3) internal and external interfaces from this unit
  40. ==================================================================================================*/
  41. #include "S32K146_GPIO.h"
  42. #include "S32K146_PORT.h"
  43. /*==================================================================================================
  44. * SOURCE FILE VERSION INFORMATION
  45. ==================================================================================================*/
  46. /**
  47. * @brief Parameters that shall be published within the Port driver header file and also in the
  48. * module description file
  49. * @details The integration of incompatible files shall be avoided.
  50. *
  51. */
  52. #define PORT_CI_PORT_IP_VENDOR_ID_DEFINES_H 43
  53. #define PORT_CI_PORT_IP_AR_RELEASE_MAJOR_VERSION_DEFINES_H 4
  54. #define PORT_CI_PORT_IP_AR_RELEASE_MINOR_VERSION_DEFINES_H 4
  55. #define PORT_CI_PORT_IP_AR_RELEASE_REVISION_VERSION_DEFINES_H 0
  56. #define PORT_CI_PORT_IP_SW_MAJOR_VERSION_DEFINES_H 1
  57. #define PORT_CI_PORT_IP_SW_MINOR_VERSION_DEFINES_H 0
  58. #define PORT_CI_PORT_IP_SW_PATCH_VERSION_DEFINES_H 0
  59. /*==================================================================================================
  60. * FILE VERSION CHECKS
  61. ==================================================================================================*/
  62. /*==================================================================================================
  63. * CONSTANTS
  64. ==================================================================================================*/
  65. /*==================================================================================================
  66. * DEFINES AND MACROS
  67. ==================================================================================================*/
  68. /*! @brief PORT_CI module has DSE bit */
  69. #define FEATURE_PORT_CI_PORT_IP_HAS_DRIVE_STRENGTH
  70. /*! @brief PORT_CI module has LK bit */
  71. #define FEATURE_PORT_CI_PORT_IP_HAS_LOCK_REGISTER
  72. #define PORT_ENABLE_USER_MODE_SUPPORT (STD_OFF)
  73. #ifndef MCAL_ENABLE_USER_MODE_SUPPORT
  74. #ifdef PORT_ENABLE_USER_MODE_SUPPORT
  75. #if (STD_ON == PORT_ENABLE_USER_MODE_SUPPORT)
  76. #error MCAL_ENABLE_USER_MODE_SUPPORT is not enabled. For running Port in user mode the MCAL_ENABLE_USER_MODE_SUPPORT needs to be defined
  77. #endif /* (STD_ON == PORT_ENABLE_USER_MODE_SUPPORT) */
  78. #endif /* ifdef PORT_ENABLE_USER_MODE_SUPPORT*/
  79. #endif /* ifndef MCAL_ENABLE_USER_MODE_SUPPORT */
  80. /* Pre-processor switch to enable/disable development error detection for Port_Ci Ip API */
  81. #define PORT_CI_PORT_IP_DEV_ERROR_DETECT (STD_OFF)
  82. /*==================================================================================================
  83. * ENUMS
  84. ==================================================================================================*/
  85. /*==================================================================================================
  86. * STRUCTURES AND OTHER TYPEDEFS
  87. ==================================================================================================*/
  88. /*==================================================================================================
  89. * GLOBAL VARIABLE DECLARATIONS
  90. ==================================================================================================*/
  91. /*==================================================================================================
  92. * FUNCTION PROTOTYPES
  93. ==================================================================================================*/
  94. #ifdef __cplusplus
  95. }
  96. #endif
  97. /** @} */
  98. #endif /* PORT_CI_PORT_IP_DEFINES_H */