/**************************************************************************************************/ /** * @file : Scm_Mcu_Drv_Cfg.h * @brief : AUTOSAR Mcu - Pre-Compile(PC) configuration file code template * - Platform: Z20K14xM * - Autosar Version: 4.6.0 * @version : 1.2.0 * @author : Zhixin Semiconductor * @note : None * * @copyright : Copyright (c) 2021-2023 Zhixin Semiconductor Ltd. All rights reserved. **************************************************************************************************/ /** @addtogroup Mcu_Module * @{ */ /** @addtogroup Scm_Mcu_Drv_Configuration * @brief SCM driver configuration * @{ */ #ifndef SCM_MCU_DRV_CFG_H #define SCM_MCU_DRV_CFG_H #ifdef __cplusplus extern "C"{ #endif #include "Scm_Mcu_Drv_PBcfg.h" /** @defgroup Public_MacroDefinition * @{ */ #define SCM_MCU_DRV_CFG_H_VENDOR_ID 0x00B3U #define SCM_MCU_DRV_CFG_H_AR_RELEASE_MAJOR_VERSION 4U #define SCM_MCU_DRV_CFG_H_AR_RELEASE_MINOR_VERSION 6U #define SCM_MCU_DRV_CFG_H_AR_RELEASE_REVISION_VERSION 0U #define SCM_MCU_DRV_CFG_H_SW_MAJOR_VERSION 1U #define SCM_MCU_DRV_CFG_H_SW_MINOR_VERSION 2U #define SCM_MCU_DRV_CFG_H_SW_PATCH_VERSION 0U /* Check if current file and Scm_Mcu_Drv_PBcfg.h are of the same vendor */ #if (SCM_MCU_DRV_CFG_H_VENDOR_ID != SCM_MCU_DRV_PBCFG_H_VENDOR_ID) #error "Vendor ID of Scm_Mcu_Drv_Cfg.h and Scm_Mcu_Drv_PBcfg.h are different" #endif /* Check if current file and Scm_Mcu_Drv_PBcfg.h are of the same Autosar version */ #if ((SCM_MCU_DRV_CFG_H_AR_RELEASE_MAJOR_VERSION != SCM_MCU_DRV_PBCFG_H_AR_RELEASE_MAJOR_VERSION) || \ (SCM_MCU_DRV_CFG_H_AR_RELEASE_MINOR_VERSION != SCM_MCU_DRV_PBCFG_H_AR_RELEASE_MINOR_VERSION) || \ (SCM_MCU_DRV_CFG_H_AR_RELEASE_REVISION_VERSION != SCM_MCU_DRV_PBCFG_H_AR_RELEASE_REVISION_VERSION)) #error "AutoSar Version of Scm_Mcu_Drv_Cfg.h and Scm_Mcu_Drv_PBcfg.h are different" #endif /* Check if current file and PScm_Mcu_Drv_PBcfg.h are of the same software version */ #if ((SCM_MCU_DRV_CFG_H_SW_MAJOR_VERSION != SCM_MCU_DRV_PBCFG_H_SW_MAJOR_VERSION) || \ (SCM_MCU_DRV_CFG_H_SW_MINOR_VERSION != SCM_MCU_DRV_PBCFG_H_SW_MINOR_VERSION) || \ (SCM_MCU_DRV_CFG_H_SW_PATCH_VERSION != SCM_MCU_DRV_PBCFG_H_SW_PATCH_VERSION)) #error "Software Version of Scm_Mcu_Drv_Cfg.h and Scm_Mcu_Drv_PBcfg.h are different" #endif #define SCM_MCU_DRV_CONFIG_EXT \ SCM_MCU_DRV_CONFIG_PB /** @} end of Public_MacroDefinition */ /** @defgroup Public_TypeDefinition * @{ */ /** @} end of group Public_TypeDefinition */ /** @defgroup Global_VariableDeclaration * @{ */ /** @} end of group Global_VariableDeclaration */ /** @defgroup Public_FunctionDeclaration * @{ */ /** @} end of group Public_FunctionDeclaration */ #ifdef __cplusplus } #endif #endif /* #ifndef SCM_MCU_DRV_CFG_H */ /** @} end of group Scm_Mcu_Drv_Configuration */ /** @} end of group Mcu_Module */