1 /* 2 * Copyright 2020-2023 NXP 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 /* Prevention from multiple including the same header */ 8 #ifndef LCU_IP_PBCFG_INIT_H 9 #define LCU_IP_PBCFG_INIT_H 10 11 #ifdef __cplusplus 12 extern "C" 13 { 14 #endif 15 16 /*================================================================================================== 17 * INCLUDE FILES 18 * 1) system and project includes 19 * 2) needed interfaces from external units 20 * 3) internal and external interfaces from this unit 21 ==================================================================================================*/ 22 #include "Lcu_Ip_Types.h" 23 24 /*================================================================================================== 25 * SOURCE FILE VERSION INFORMATION 26 ==================================================================================================*/ 27 /* Inclusion of incompatible header files shall be avoided */ 28 29 #define LCU_IP_INIT_PBCFG_MODULE_ID 255 30 #define LCU_IP_INIT_PBCFG_VENDOR_ID 43 31 #define LCU_IP_INIT_PBCFG_AR_RELEASE_MAJOR_VERSION 4 32 #define LCU_IP_INIT_PBCFG_AR_RELEASE_MINOR_VERSION 7 33 #define LCU_IP_INIT_PBCFG_AR_RELEASE_REVISION_VERSION 0 34 #define LCU_IP_INIT_PBCFG_SW_MAJOR_VERSION 3 35 #define LCU_IP_INIT_PBCFG_SW_MINOR_VERSION 0 36 #define LCU_IP_INIT_PBCFG_SW_PATCH_VERSION 0 37 /* Check if header file and Lcu_Ip_Types.h file are of the same vendor */ 38 #if (LCU_IP_INIT_PBCFG_VENDOR_ID != LCU_IP_TYPES_VENDOR_ID) 39 #error "Lcu_Ip_Init_PBcfg.h and Lcu_Ip_Types.h have different vendor ids" 40 #endif 41 42 /* Check if header file and Lcu_Ip_Types.h file are of the same Autosar version */ 43 #if ((LCU_IP_INIT_PBCFG_AR_RELEASE_MAJOR_VERSION != LCU_IP_TYPES_AR_RELEASE_MAJOR_VERSION) || \ 44 (LCU_IP_INIT_PBCFG_AR_RELEASE_MINOR_VERSION != LCU_IP_TYPES_AR_RELEASE_MINOR_VERSION) || \ 45 (LCU_IP_INIT_PBCFG_AR_RELEASE_REVISION_VERSION != LCU_IP_TYPES_AR_RELEASE_REVISION_VERSION) \ 46 ) 47 #error "AutoSar Version Numbers of Lcu_Ip_Init_PBcfg.h and Lcu_Ip_Types.h are different" 48 #endif 49 50 /* Check if header file and Lcu_Ip_Types.h file are of the same Software version */ 51 #if ((LCU_IP_INIT_PBCFG_SW_MAJOR_VERSION != LCU_IP_TYPES_SW_MAJOR_VERSION) || \ 52 (LCU_IP_INIT_PBCFG_SW_MINOR_VERSION != LCU_IP_TYPES_SW_MINOR_VERSION) || \ 53 (LCU_IP_INIT_PBCFG_SW_PATCH_VERSION != LCU_IP_TYPES_SW_PATCH_VERSION) \ 54 ) 55 #error "Software Version Numbers of Lcu_Ip_Init_PBcfg.h and Lcu_Ip_Types.h are different" 56 #endif 57 58 /*=============================================================================================== 59 DEFINES AND MACROS 60 ===============================================================================================*/ 61 62 /*================================================================================================== 63 * ENUMS 64 ==================================================================================================*/ 65 66 /*================================================================================================== 67 * STRUCTURES AND OTHER TYPEDEFS 68 ==================================================================================================*/ 69 70 71 /*================================================================================================== 72 * GLOBAL VARIABLE DECLARATIONS 73 ==================================================================================================*/ 74 75 /*================================================================================================== 76 * FUNCTION PROTOTYPES 77 ==================================================================================================*/ 78 79 #ifdef __cplusplus 80 } 81 #endif 82 83 #endif 84 85 /*================================================================================================== 86 * END OF FILE 87 ==================================================================================================*/ 88