123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- #ifndef DET_H
- #define DET_H
- #ifdef __cplusplus
- extern "C"{
- #endif
- #include "Std_Types.h"
- #define DET_VENDOR_ID 43
- #define DET_MODULE_ID 15
- #define DET_AR_RELEASE_MAJOR_VERSION 4
- #define DET_AR_RELEASE_MINOR_VERSION 4
- #define DET_AR_RELEASE_REVISION_VERSION 0
- #define DET_SW_MAJOR_VERSION 1
- #define DET_SW_MINOR_VERSION 0
- #define DET_SW_PATCH_VERSION 0
- #define DET_NO_ECU_CORES (uint8)(10U)
- #define DET_START_SEC_VAR_CLEARED_8_NO_CACHEABLE
- #include "Det_MemMap.h"
- extern uint8 Det_InstanceId[DET_NO_ECU_CORES];
- extern uint8 Det_ApiId[DET_NO_ECU_CORES];
- extern uint8 Det_ErrorId[DET_NO_ECU_CORES];
- extern uint8 Det_RuntimeInstanceId[DET_NO_ECU_CORES];
- extern uint8 Det_RuntimeApiId[DET_NO_ECU_CORES];
- extern uint8 Det_RuntimeErrorId[DET_NO_ECU_CORES];
- extern uint8 Det_TransientInstanceId[DET_NO_ECU_CORES];
- extern uint8 Det_TransientApiId[DET_NO_ECU_CORES];
- extern uint8 Det_TransientFaultId[DET_NO_ECU_CORES];
- #define DET_STOP_SEC_VAR_CLEARED_8_NO_CACHEABLE
- #include "Det_MemMap.h"
- #define DET_START_SEC_VAR_CLEARED_16_NO_CACHEABLE
- #include "Det_MemMap.h"
- extern uint16 Det_TransientModuleId[DET_NO_ECU_CORES];
- extern uint16 Det_ModuleId[DET_NO_ECU_CORES];
- extern uint16 Det_RuntimeModuleId[DET_NO_ECU_CORES];
- #define DET_STOP_SEC_VAR_CLEARED_16_NO_CACHEABLE
- #include "Det_MemMap.h"
- #define DET_START_SEC_CODE
- #include "Det_MemMap.h"
- void Det_Init(void);
- Std_ReturnType Det_ReportError(uint16 ModuleId, uint8 InstanceId, uint8 ApiId, uint8 ErrorId);
- #if defined(ASR_REL_4_0_REV_0003)
- #else
- Std_ReturnType Det_ReportRuntimeError(uint16 ModuleId, uint8 InstanceId, uint8 ApiId, uint8 ErrorId);
- Std_ReturnType Det_ReportTransientFault(uint16 ModuleId, uint8 InstanceId, uint8 ApiId, uint8 FaultId);
- #endif
- void Det_Start(void);
- #define DET_STOP_SEC_CODE
- #include "Det_MemMap.h"
- #ifdef __cplusplus
- }
- #endif
- #endif
|