/**************************************************************************************************/ /** * @file : Parcc_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 Parcc_Drv_Configuration * @brief PARCC driver configuration * @{ */ #ifndef PARCC_DRV_CFG_H #define PARCC_DRV_CFG_H #ifdef __cplusplus extern "C"{ #endif #include "Parcc_Drv_PBcfg.h" /** @defgroup Public_MacroDefinition * @{ */ #define PARCC_DRV_CFG_H_VENDOR_ID 0x00B3U #define PARCC_DRV_CFG_H_AR_RELEASE_MAJOR_VERSION 4U #define PARCC_DRV_CFG_H_AR_RELEASE_MINOR_VERSION 6U #define PARCC_DRV_CFG_H_AR_RELEASE_REVISION_VERSION 0U #define PARCC_DRV_CFG_H_SW_MAJOR_VERSION 1U #define PARCC_DRV_CFG_H_SW_MINOR_VERSION 2U #define PARCC_DRV_CFG_H_SW_PATCH_VERSION 0U /* Check if current file and Parcc_Drv_PBcfg.h are of the same vendor */ #if (PARCC_DRV_CFG_H_VENDOR_ID != PARCC_DRV_PBCFG_H_VENDOR_ID) #error "Vendor ID of Parcc_Drv_Cfg.h and Parcc_Drv_PBcfg.h are different" #endif /* Check if current file and Parcc_Drv_PBcfg.h are of the same Autosar version */ #if ((PARCC_DRV_CFG_H_AR_RELEASE_MAJOR_VERSION != PARCC_DRV_PBCFG_H_AR_RELEASE_MAJOR_VERSION) || \ (PARCC_DRV_CFG_H_AR_RELEASE_MINOR_VERSION != PARCC_DRV_PBCFG_H_AR_RELEASE_MINOR_VERSION) || \ (PARCC_DRV_CFG_H_AR_RELEASE_REVISION_VERSION != PARCC_DRV_PBCFG_H_AR_RELEASE_REVISION_VERSION)) #error "AutoSar Version of Parcc_Drv_Cfg.h and Parcc_Drv_PBcfg.h are different" #endif /* Check if current file and Parcc_Drv_PBcfg.h are of the same software version */ #if ((PARCC_DRV_CFG_H_SW_MAJOR_VERSION != PARCC_DRV_PBCFG_H_SW_MAJOR_VERSION) || \ (PARCC_DRV_CFG_H_SW_MINOR_VERSION != PARCC_DRV_PBCFG_H_SW_MINOR_VERSION) || \ (PARCC_DRV_CFG_H_SW_PATCH_VERSION != PARCC_DRV_PBCFG_H_SW_PATCH_VERSION)) #error "Software Version of Parcc_Drv_Cfg.h and Parcc_Drv_PBcfg.h are different" #endif #define PARCC_DRV_CONFIG_EXT \ PARCC_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 PARCC_DRV_CFG_H */ /** @} end of group Parcc_Drv_Configuration */ /** @} end of group Mcu_Module */