1 /* 2 * Copyright 2021-2024 NXP 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef EMIOS_ICU_IP_SA_INIT_PBCFG_H 8 #define EMIOS_ICU_IP_SA_INIT_PBCFG_H 9 10 /** 11 * @file Emios_Icu_Ip_SA_Init_PBCfg.h 12 * @version 2.0.0 13 * 14 * @brief AUTOSAR Icu - contains the data exported by the ICU module. 15 * @details Contains the information that will be exported by the module, as requested by Autosar. 16 * 17 * @addtogroup emios_icu_ip EMIOS IPL 18 * @{ 19 */ 20 21 #ifdef __cplusplus 22 extern "C"{ 23 #endif 24 25 /*================================================================================================== 26 * INCLUDE FILES 27 * 1) system and project includes 28 * 2) needed interfaces from external units 29 * 3) internal and external interfaces from this unit 30 *================================================================================================*/ 31 #include "Emios_Icu_Ip_Types.h" 32 /*================================================================================================== 33 * SOURCE FILE VERSION INFORMATION 34 *================================================================================================*/ 35 #define EMIOS_ICU_IP_SA_INIT_PBCFG_VENDOR_ID 43 36 #define EMIOS_ICU_IP_SA_INIT_PBCFG_AR_RELEASE_MAJOR_VERSION 4 37 #define EMIOS_ICU_IP_SA_INIT_PBCFG_AR_RELEASE_MINOR_VERSION 7 38 #define EMIOS_ICU_IP_SA_INIT_PBCFG_AR_RELEASE_REVISION_VERSION 0 39 #define EMIOS_ICU_IP_SA_INIT_PBCFG_SW_MAJOR_VERSION 2 40 #define EMIOS_ICU_IP_SA_INIT_PBCFG_SW_MINOR_VERSION 0 41 #define EMIOS_ICU_IP_SA_INIT_PBCFG_SW_PATCH_VERSION 0 42 43 /*================================================================================================== 44 * FILE VERSION CHECKS 45 *================================================================================================*/ 46 /* Check if source file and ICU header file are of the same vendor */ 47 #if (EMIOS_ICU_IP_SA_INIT_PBCFG_VENDOR_ID != EMIOS_ICU_IP_TYPES_VENDOR_ID) 48 #error "Emios_Icu_Ip_SA_Init_PBcfg.h and Emios_Icu_Ip_Types.h have different vendor IDs" 49 #endif 50 /* Check if source file and ICU header file are of the same AutoSar version */ 51 #if ((EMIOS_ICU_IP_SA_INIT_PBCFG_AR_RELEASE_MAJOR_VERSION != EMIOS_ICU_IP_TYPES_AR_RELEASE_MAJOR_VERSION) || \ 52 (EMIOS_ICU_IP_SA_INIT_PBCFG_AR_RELEASE_MINOR_VERSION != EMIOS_ICU_IP_TYPES_AR_RELEASE_MINOR_VERSION) || \ 53 (EMIOS_ICU_IP_SA_INIT_PBCFG_AR_RELEASE_REVISION_VERSION != EMIOS_ICU_IP_TYPES_AR_RELEASE_REVISION_VERSION)) 54 #error "AutoSar Version Numbers of Emios_Icu_Ip_SA_Init_PBcfg.h and Emios_Icu_Ip_Types.h are different" 55 #endif 56 /* Check if source file and ICU header file are of the same Software version */ 57 #if ((EMIOS_ICU_IP_SA_INIT_PBCFG_SW_MAJOR_VERSION != EMIOS_ICU_IP_TYPES_SW_MAJOR_VERSION) || \ 58 (EMIOS_ICU_IP_SA_INIT_PBCFG_SW_MINOR_VERSION != EMIOS_ICU_IP_TYPES_SW_MINOR_VERSION) || \ 59 (EMIOS_ICU_IP_SA_INIT_PBCFG_SW_PATCH_VERSION != EMIOS_ICU_IP_TYPES_SW_PATCH_VERSION)) 60 #error "Software Version Numbers of Emios_Icu_Ip_SA_Init_PBcfg.h and Emios_Icu_Ip_Types.h are different" 61 #endif 62 /*================================================================================================== 63 * CONSTANTS 64 ==================================================================================================*/ 65 66 /*================================================================================================== 67 * DEFINES AND MACROS 68 ==================================================================================================*/ 69 #if (STD_ON == EMIOS_ICU_IP_USED) 70 71 #define EMIOS_ICU_CONFIG_SA_INIT_PB 72 73 #endif /* EMIOS_ICU_IP_USED */ 74 75 /*================================================================================================== 76 * ENUMS 77 ==================================================================================================*/ 78 79 /*================================================================================================== 80 * STRUCTURES AND OTHER TYPEDEFS 81 ==================================================================================================*/ 82 83 /*================================================================================================== 84 * GLOBAL VARIABLE DECLARATIONS 85 ==================================================================================================*/ 86 87 /*================================================================================================== 88 * FUNCTION PROTOTYPES 89 ==================================================================================================*/ 90 91 #ifdef __cplusplus 92 } 93 #endif 94 95 /** @} */ 96 97 #endif /* EMIOS_ICU_IP_SA_INIT_PBCFG_H */ 98 99