
/*!
* @file             Dem_IntErrId.h
*
* @version          1.0.0
*
* @brief            Header file of Dem error codes configuration.
*
* @details          This file contains the used configuration parameters generated by EB tresos studio
*
*/
/*******************************************************************************
* Project Name      : AUTOSAR MCAL
* Platform          : Arm
* Peripheral        : Dem
* Autosar Standard  : Classic Platform 4.4.0
* Revision Number   :
* Compiled Version  : G32A10xx_MCAL_1_0_0_01-Otc-25
*
* Copyright (C) 2026 Geehy Semiconductor
*
* You may not use this file except in compliance with the GEEHY COPYRIGHT NOTICE
* (Geehy Semiconductor Software License Agreement).
*
* The program is only for reference, which is distributed in the hope that it
* will be useful and instructional for customers to develop their software.
* Unless required by applicable law or agreed to in writing, the program is
* distributed on an "AS IS" BASIS, WITHOUT ANY WARRANTY OR CONDITIONS OF ANY
* KIND, either express or implied. See the Geehy Semiconductor Software License Agreement for
* the governing permissions and limitations under the License.
*
*******************************************************************************/
#ifndef DEM_INTERRID_H
#define DEM_INTERRID_H

#ifdef __cplusplus
extern "C"{
#endif

#include "Dem_Types.h"

/**************************************************************************
                  VENDOR ID & AUTOSAR VERSION INFO
**************************************************************************/
/** Vendor ID (vendorId) of the dedicated implementation of this module according to the AUTOSAR vendor list. */
#define DEM_EVENTID_H_VENDOR_ID                      0x00C1U
/** Major version number of AUTOSAR release on which the appropriate implementation is based on. */
#define DEM_EVENTID_H_AR_RELEASE_MAJOR_VERSION       0x04U
/** Minor version number of AUTOSAR release on which the appropriate implementation is based on. */
#define DEM_EVENTID_H_AR_RELEASE_MINOR_VERSION       0x04U
/** Revision version number of AUTOSAR release on which the appropriate implementation is based on. */
#define DEM_EVENTID_H_AR_RELEASE_REVISION_VERSION    0x00U
/** Major version number of the vendor specific implementation of the module. The numbering is vendor specific. */
#define DEM_EVENTID_H_SW_MAJOR_VERSION               0x01U
/** Minor version number of the vendor specific implementation of the module. The numbering is vendor specific. */
#define DEM_EVENTID_H_SW_MINOR_VERSION               0x00U
/** Patch level version number of the vendor specific implementation of the module. The numbering is vendor specific. */
#define DEM_EVENTID_H_SW_PATCH_VERSION               0x00U

/**************************************************************************
                    VERSION INFOMATION VERIFICATION
**************************************************************************/
/* Make sure the vendor ids are same between the current file and Dem_Types.h */
#if (DEM_TYPES_H_VENDOR_ID != DEM_EVENTID_H_VENDOR_ID)
    #error "Vendor ids mismatch between Dem_IntErrid.h and Dem_Types.h."
#endif

/* Make sure the AUTOSAR major version numbers are same between the current file and Dem_Types.h */
#if (DEM_TYPES_H_AR_RELEASE_MAJOR_VERSION != DEM_EVENTID_H_AR_RELEASE_MAJOR_VERSION)
    #error "AUTOSAR Major Version Numbers mismatch between Dem_IntErrid.h and Dem_Types.h."
#endif
/* Make sure the AUTOSAR minor version numbers are same between the current file and Dem_Types.h */
#if (DEM_TYPES_H_AR_RELEASE_MINOR_VERSION != DEM_EVENTID_H_AR_RELEASE_MINOR_VERSION)
    #error "AUTOSAR Minor Version Numbers mismatch between Dem_IntErrid.h and Dem_Types.h."
#endif
/* Make sure the AUTOSAR revision version numbers are same between the current file and Dem_Types.h */
#if (DEM_TYPES_H_AR_RELEASE_REVISION_VERSION != DEM_EVENTID_H_AR_RELEASE_REVISION_VERSION)
    #error "AUTOSAR Revision Version Numbers mismatch between Dem_IntErrid.h and Dem_Types.h."
#endif

/* Make sure the software major version numbers are same between the current file and Dem_Types.h */
#if (DEM_TYPES_H_SW_MAJOR_VERSION != DEM_EVENTID_H_SW_MAJOR_VERSION)
    #error "Software Major Version Numbers mismatch between Dem_IntErrid.h and Dem_Types.h."
#endif
/* Make sure the software minor version numbers are same between the current file and Dem_Types.h */
#if (DEM_TYPES_H_SW_MINOR_VERSION != DEM_EVENTID_H_SW_MINOR_VERSION)
    #error "Software Minor Version Numbers mismatch between Dem_IntErrid.h and Dem_Types.h."
#endif
/* Make sure the software patch version numbers are same between the current file and Dem_Types.h */
#if (DEM_TYPES_H_SW_PATCH_VERSION != DEM_EVENTID_H_SW_PATCH_VERSION)
    #error "Software Patch Version Numbers mismatch between Dem_IntErrid.h and Dem_Types.h."
#endif

/**************************************************************************
                           MACRO DEFINITION
**************************************************************************/
/** Config DEM Event Parameter of DemEventParameter_0*/
#define DemConfigSet_DemEventParameter_0   ((Dem_EventIdType) 0x1)
/** Config DEM Event Parameter of DemEventParameter_1*/
#define DemConfigSet_DemEventParameter_1   ((Dem_EventIdType) 0xf1)
#ifdef __cplusplus
}
#endif

#endif /* DEM_INTERRID_H */
