1 /* 2 * Copyright 2021-2024 NXP 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef EMIOS_MCL_IP_INIT_PBCFG_H 8 #define EMIOS_MCL_IP_INIT_PBCFG_H 9 /** 10 * @file Emios_Mcl_Ip_INIT_PBcfg.h 11 * 12 * @version 2.0.0 13 * 14 * @brief AUTOSAR Mcl - MCL driver header file. 15 * @details 16 * 17 * @addtogroup MCL_DRIVER MCL Driver 18 * @{ 19 */ 20 #ifdef __cplusplus 21 extern "C" 22 { 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_Mcl_Ip_Types.h" 32 33 /*================================================================================================== 34 * HEADER FILE VERSION INFORMATION 35 ==================================================================================================*/ 36 #define EMIOS_MCL_IP_INIT_PBCFG_MODULE_ID 255 37 #define EMIOS_MCL_IP_INIT_PBCFG_VENDOR_ID 43 38 #define EMIOS_MCL_IP_INIT_PBCFG_AR_RELEASE_MAJOR_VERSION 4 39 #define EMIOS_MCL_IP_INIT_PBCFG_AR_RELEASE_MINOR_VERSION 7 40 #define EMIOS_MCL_IP_INIT_PBCFG_AR_RELEASE_REVISION_VERSION 0 41 #define EMIOS_MCL_IP_INIT_PBCFG_SW_MAJOR_VERSION 2 42 #define EMIOS_MCL_IP_INIT_PBCFG_SW_MINOR_VERSION 0 43 #define EMIOS_MCL_IP_INIT_PBCFG_SW_PATCH_VERSION 0 44 /*================================================================================================== 45 * FILE VERSION CHECKS 46 ==================================================================================================*/ 47 #if (EMIOS_MCL_IP_INIT_PBCFG_VENDOR_ID != EMIOS_MCL_IP_TYPES_VENDOR_ID) 48 #error "Emios_Mcl_Ip_INIT_PBcfg.h and Emios_Mcl_Ip_Types.h have different vendor ids" 49 #endif 50 51 /* Check if header file and Emios_Mcl_Ip_Types.h file are of the same Autosar version */ 52 #if ((EMIOS_MCL_IP_INIT_PBCFG_AR_RELEASE_MAJOR_VERSION != EMIOS_MCL_IP_TYPES_AR_RELEASE_MAJOR_VERSION) || \ 53 (EMIOS_MCL_IP_INIT_PBCFG_AR_RELEASE_MINOR_VERSION != EMIOS_MCL_IP_TYPES_AR_RELEASE_MINOR_VERSION) || \ 54 (EMIOS_MCL_IP_INIT_PBCFG_AR_RELEASE_REVISION_VERSION != EMIOS_MCL_IP_TYPES_AR_RELEASE_REVISION_VERSION)) 55 #error "AutoSar Version Numbers of Emios_Mcl_Ip_INIT_PBcfg.h and Emios_Mcl_Ip_Types.h are different" 56 #endif 57 58 /* Check if header file and Emios_Mcl_Ip_Types.h file are of the same Software version */ 59 #if ((EMIOS_MCL_IP_INIT_PBCFG_SW_MAJOR_VERSION != EMIOS_MCL_IP_TYPES_SW_MAJOR_VERSION) || \ 60 (EMIOS_MCL_IP_INIT_PBCFG_SW_MINOR_VERSION != EMIOS_MCL_IP_TYPES_SW_MINOR_VERSION) || \ 61 (EMIOS_MCL_IP_INIT_PBCFG_SW_PATCH_VERSION != EMIOS_MCL_IP_TYPES_SW_PATCH_VERSION)) 62 #error "Software Version Numbers of Emios_Mcl_Ip_INIT_PBcfg.h and Emios_Mcl_Ip_Types.h are different" 63 #endif 64 /*================================================================================================== 65 * CONSTANTS 66 ==================================================================================================*/ 67 68 /*================================================================================================== 69 * DEFINES AND MACROS 70 ==================================================================================================*/ 71 72 /*================================================================================================== 73 * ENUMS 74 ==================================================================================================*/ 75 76 /*================================================================================================== 77 * STRUCTURES AND OTHER TYPEDEFS 78 ==================================================================================================*/ 79 80 /*================================================================================================== 81 * GLOBAL VARIABLE DECLARATIONS 82 ==================================================================================================*/ 83 #define MCL_START_SEC_CONFIG_DATA_UNSPECIFIED 84 #include "Mcl_MemMap.h" 85 86 87 /* Emios instance configuration of global parameters */ 88 extern const Emios_Ip_GlobalConfigType Emios_Ip_0_GlobalConfig; 89 90 /* EMIOS configuration structure used for initialization. */ 91 extern const Emios_Mcl_Ip_ConfigType Emios_Mcl_Ip_0_Config; 92 93 #define MCL_STOP_SEC_CONFIG_DATA_UNSPECIFIED 94 #include "Mcl_MemMap.h" 95 96 /*================================================================================================== 97 * FUNCTION PROTOTYPES 98 ==================================================================================================*/ 99 100 #ifdef __cplusplus 101 } 102 #endif 103 104 #endif 105 106