Cmp_Ip_Defines.h 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*==================================================================================================
  2. * Project : RTD AUTOSAR 4.4
  3. * Platform : CORTEXM
  4. * Peripheral : Ftm Lpit Lptmr Port_Ci LpCmp
  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 CMP_IP_DEFINES_H
  25. #define CMP_IP_DEFINES_H
  26. /**
  27. * @file Cmp_Ip_Defines.h
  28. * @version 1.0.0
  29. *
  30. * @brief AUTOSAR Icu - contains the data exported by the Icu module
  31. * @details Contains the information that will be exported by the module, as requested by Autosar.
  32. *
  33. * @addtogroup cmp_icu_ip CMP IPL
  34. * @{
  35. */
  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. /* Include platform header file. */
  47. #include "S32K146_CMP.h"
  48. /*==================================================================================================
  49. * SOURCE FILE VERSION INFORMATION
  50. *================================================================================================*/
  51. #define CMP_IP_DEFINES_VENDOR_ID 43
  52. #define CMP_IP_DEFINES_AR_RELEASE_MAJOR_VERSION 4
  53. #define CMP_IP_DEFINES_AR_RELEASE_MINOR_VERSION 4
  54. #define CMP_IP_DEFINES_AR_RELEASE_REVISION_VERSION 0
  55. #define CMP_IP_DEFINES_SW_MAJOR_VERSION 1
  56. #define CMP_IP_DEFINES_SW_MINOR_VERSION 0
  57. #define CMP_IP_DEFINES_SW_PATCH_VERSION 0
  58. /*==================================================================================================
  59. * FILE VERSION CHECKS
  60. *================================================================================================*/
  61. /* Check if header file and StandardTypes.h file are of the same Autosar version */
  62. #ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
  63. #if ((CMP_IP_DEFINES_AR_RELEASE_MAJOR_VERSION != STD_AR_RELEASE_MAJOR_VERSION) || \
  64. (CMP_IP_DEFINES_AR_RELEASE_MINOR_VERSION != STD_AR_RELEASE_MINOR_VERSION))
  65. #error "AutoSar Version Numbers of Cmp_Ip_Defines.h and StandardTypes.h are different"
  66. #endif
  67. #endif
  68. /*==================================================================================================
  69. DEFINES AND MACROS
  70. ==================================================================================================*/
  71. #define CMP_ICU_NOT_SUPPORT_LOWPOWER
  72. #define ICU_CMP_INSTANCE_COUNT (CMP_INSTANCE_COUNT)
  73. /** @brief Adds or removes all services related to input state functionality. */
  74. #define CMP_ICU_GET_INPUT_STATE_API (STD_ON)
  75. #define CMP_IP_DEV_ERROR_DETECT (STD_ON)
  76. #ifdef __cplusplus
  77. }
  78. #endif
  79. /** @} */
  80. #endif /* CMP_IP_DEFINES_H */