CanIf_Types.h 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /**
  2. * @file CanIf_Types.h
  3. * @version 1.0.0
  4. *
  5. * @brief AUTOSAR CanIf - CanIf module interface
  6. * @details AUTOSAR CanIf module interface.- Stub Version
  7. * This file contains sample code only. It is not part of the production code deliverables.
  8. *
  9. * @addtogroup CANIF_MODULE
  10. * @{
  11. */
  12. /*==================================================================================================
  13. * Project : RTD AUTOSAR 4.4
  14. * Platform : CORTEXM
  15. * Peripheral : generic
  16. * Dependencies :
  17. *
  18. * Autosar Version : 4.4.0
  19. * Autosar Revision : ASR_REL_4_4_REV_0000
  20. * Autosar Conf.Variant :
  21. * SW Version : 1.0.0
  22. * Build Version : S32K1_RTD_1_0_0_HF01_D2109_ASR_REL_4_4_REV_0000_20210907
  23. *
  24. * (c) Copyright 2020-2021 NXP Semiconductors
  25. * All Rights Reserved.
  26. *
  27. * NXP Confidential. This software is owned or controlled by NXP and may only be
  28. * used strictly in accordance with the applicable license terms. By expressly
  29. * accepting such terms or by downloading, installing, activating and/or otherwise
  30. * using the software, you are agreeing that you have read, and that you agree to
  31. * comply with and are bound by, such license terms. If you do not agree to be
  32. * bound by the applicable license terms, then you may not retain, install,
  33. * activate or otherwise use the software.
  34. ==================================================================================================*/
  35. /*==================================================================================================
  36. ==================================================================================================*/
  37. #ifndef CANIF_TYPES_H
  38. #define CANIF_TYPES_H
  39. #ifdef __cplusplus
  40. extern "C"
  41. {
  42. #endif
  43. /*==================================================================================================
  44. * INCLUDE FILES
  45. * 1) system and project includes
  46. * 2) needed interfaces from external units
  47. * 3) internal and external interfaces from this unit
  48. ==================================================================================================*/
  49. #include "ComStackTypes.h"
  50. #include "Can_GeneralTypes.h"
  51. /*==================================================================================================
  52. * SOURCE FILE VERSION INFORMATION
  53. ==================================================================================================*/
  54. #define CANIF_TYPES_VENDOR_ID 43
  55. #define CANIF_TYPES_AR_RELEASE_MAJOR_VERSION 4
  56. #define CANIF_TYPES_AR_RELEASE_MINOR_VERSION 4
  57. #define CANIF_TYPES_AR_RELEASE_REVISION_VERSION 0
  58. #define CANIF_TYPES_SW_MAJOR_VERSION 1
  59. #define CANIF_TYPES_SW_MINOR_VERSION 0
  60. #define CANIF_TYPES_SW_PATCH_VERSION 0
  61. /*==================================================================================================
  62. * FILE VERSION CHECKS
  63. ==================================================================================================*/
  64. #ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
  65. /* Check if current file and Can_GeneralTypes.h header file are of the same version */
  66. #if ((CANIF_TYPES_AR_RELEASE_MAJOR_VERSION != CAN_GENERALTYPES_AR_RELEASE_MAJOR_VERSION) || \
  67. (CANIF_TYPES_AR_RELEASE_MINOR_VERSION != CAN_GENERALTYPES_AR_RELEASE_MINOR_VERSION))
  68. #error "AutoSar Version Numbers of CanIf_Types.h and Can_GeneralTypes.h are different"
  69. #endif
  70. #endif
  71. #ifdef __cplusplus
  72. }
  73. #endif
  74. #endif