/**************************************************************************************************/ /** * @file : Pmu_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 Pmu_Drv_Configuration * @brief PMU driver configuration * @{ */ #ifndef PMU_DRV_CFG_H #define PMU_DRV_CFG_H #ifdef __cplusplus extern "C"{ #endif #include "Pmu_Drv_PBcfg.h" /** @defgroup Public_MacroDefinition * @{ */ #define PMU_DRV_CFG_H_VENDOR_ID 0x00B3U #define PMU_DRV_CFG_H_AR_RELEASE_MAJOR_VERSION 4U #define PMU_DRV_CFG_H_AR_RELEASE_MINOR_VERSION 6U #define PMU_DRV_CFG_H_AR_RELEASE_REVISION_VERSION 0U #define PMU_DRV_CFG_H_SW_MAJOR_VERSION 1U #define PMU_DRV_CFG_H_SW_MINOR_VERSION 2U #define PMU_DRV_CFG_H_SW_PATCH_VERSION 0U /* Check if current file and Pmu_Drv_PBcfg.h are of the same vendor */ #if (PMU_DRV_CFG_H_VENDOR_ID != PMU_DRV_PBCFG_H_VENDOR_ID) #error "Vendor ID of Pmu_Drv_Cfg.h and Pmu_Drv_PBcfg.h are different" #endif /* Check if current file and Pmu_Drv_PBcfg.h are of the same Autosar version */ #if ((PMU_DRV_CFG_H_AR_RELEASE_MAJOR_VERSION != PMU_DRV_PBCFG_H_AR_RELEASE_MAJOR_VERSION) || \ (PMU_DRV_CFG_H_AR_RELEASE_MINOR_VERSION != PMU_DRV_PBCFG_H_AR_RELEASE_MINOR_VERSION) || \ (PMU_DRV_CFG_H_AR_RELEASE_REVISION_VERSION != PMU_DRV_PBCFG_H_AR_RELEASE_REVISION_VERSION)) #error "AutoSar Version of Pmu_Drv_Cfg.h and Pmu_Drv_PBcfg.h are different" #endif /* Check if current file and Pmu_Drv_PBcfg.h are of the same software version */ #if ((PMU_DRV_CFG_H_SW_MAJOR_VERSION != PMU_DRV_PBCFG_H_SW_MAJOR_VERSION) || \ (PMU_DRV_CFG_H_SW_MINOR_VERSION != PMU_DRV_PBCFG_H_SW_MINOR_VERSION) || \ (PMU_DRV_CFG_H_SW_PATCH_VERSION != PMU_DRV_PBCFG_H_SW_PATCH_VERSION)) #error "Software Version of Pmu_Drv_Cfg.h and Pmu_Drv_PBcfg.h are different" #endif #define PMU_DRV_CONFIG_EXT \ PMU_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 PMU_DRV_CFG_H */ /** @} end of group Pmu_Drv_Configuration */ /** @} end of group Mcu_Module */