/**************************************************************************************************/ /** * @file : Dem.c * @brief : AUTOSAR Dem source file. It is a stub file. Integrators shall replace this file. * - 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 Dem_Module * @{ */ /** @addtogroup Dem * @brief AUTOSAR Dem source file. It is a stub file. * @{ */ #ifdef __cplusplus extern "C" { #endif #include "Dem.h" /** @defgroup Private_MacroDefinition * @{ */ #define DEM_C_VENDOR_ID 0x00B3U #define DEM_C_AR_RELEASE_MAJOR_VERSION 4U #define DEM_C_AR_RELEASE_MINOR_VERSION 6U #define DEM_C_AR_RELEASE_REVISION_VERSION 0U #define DEM_C_SW_MAJOR_VERSION 1U #define DEM_C_SW_MINOR_VERSION 2U #define DEM_C_SW_PATCH_VERSION 0U /* Check if current file and Dem header file are of the same vendor */ #if (DEM_C_VENDOR_ID != DEM_VENDOR_ID) #error "Dem.c and Dem.h have different vendor ids" #endif /* Check if current file and Dem header file are of the same Autosar version */ #if ((DEM_C_AR_RELEASE_MAJOR_VERSION != DEM_AR_RELEASE_MAJOR_VERSION) || \ (DEM_C_AR_RELEASE_MINOR_VERSION != DEM_AR_RELEASE_MINOR_VERSION) || \ (DEM_C_AR_RELEASE_REVISION_VERSION != DEM_AR_RELEASE_REVISION_VERSION)) #error "AutoSar Version Numbers of Dem.c and Dem.h are different" #endif /* Check if current file and Dem header file are of the same Software version */ #if ((DEM_C_SW_MAJOR_VERSION != DEM_SW_MAJOR_VERSION) || \ (DEM_C_SW_MINOR_VERSION != DEM_SW_MINOR_VERSION) || \ (DEM_C_SW_PATCH_VERSION != DEM_SW_PATCH_VERSION)) #error "Software Version Numbers of Dem.c and Dem.h are different" #endif /** @} end of Private_MacroDefinition */ /** @defgroup Private_TypeDefinition * @{ */ /** @} end of group Private_TypeDefinition */ /** @defgroup Global_VariableDefinition * @{ */ /** @} end of group Global_VariableDefinition */ /** @defgroup Private_VariableDefinition * @{ */ /** @} end of group Private_VariableDefinition */ /** @defgroup Private_FunctionDeclaration * @{ */ /** @} end of group Private_FunctionDeclaration */ /** @defgroup Private_FunctionDefinition * @{ */ /** @} end of group Private_FunctionDefinition */ /** @defgroup Public_FunctionDefinition * @{ */ /** * @brief Service to report development errors. * @details This is a function stub only, always returns success. * * @param[in] EventId: ID of the event * @param[in] EventStatus: status of the event * @return Std_ReturnType: This function is always successful * */ Std_ReturnType Dem_SetEventStatus(Dem_EventIdType EventId, Dem_EventStatusType EventStatus) { (void)EventId; (void)EventStatus; return E_OK; } /** @} end of group Public_FunctionDefinition */ #ifdef __cplusplus } #endif /** @} end of group Dem */ /** @} end of group Dem_Module */