CLASSIC
Modul: dem
Rolle: diffundiert
Konfidenz: 90%
SNIP_CLASSIC_DEM_SECTION_8_API_specification
Wortlaut
8 API specification
The figures below show the interfaces between Dem and its surrounding SW-Cs and BSW modules. The description of the interface shall give a simple overview of these relations.
«...
Dem
«modu... FiM
«module» EcuM
«modu... NvM
«interface» Dem_NvM_Optional
«function» ::NvM_SetRamBlockStatus NvM_SetRamBlockStatus(return, BlockId, BlockChanged) ::NvM_ReadBlock NvM_ReadBlock(return, BlockId, NvM_DstPtr) ::NvM_GetErrorStatus NvM_GetErrorStatus(return, BlockId, RequestResultPtr) ::NvM_WriteBlock NvM_WriteBlock(return, BlockId, NvM_SrcPtr)
«interface» Dem_Fim_Optional
«function» ::FiM_DemInit FiM_DemInit() ::FiM_DemTriggerOnMonitorStatus FiM_DemTriggerOnMonitorStatus(EventId)
«interface» EcuM_Dem_Optional
«function» ::Dem_Shutdown Dem_Shutdown() ::Dem_Init Dem_Init(ConfigPtr) ::Dem_PreInit Dem_PreInit()
«module» SchM
«interface» SchM_Dem_Mandatory
«scheduled_function» ::Dem_MainFunction Dem_MainFunction()
«module» Dcm
«modu... Det
«interface» Dem_Det_Optional
«function» ::Det_ReportError Det_ReportError(return, ModuleId, InstanceId, ApiId, ErrorId)
«module» [BSW]
«module» [SWC]
«interface» Fim_Dem_Mandatory
«function» ::Dem_GetMonitorStatus Dem_GetMonitorStatus(return, EventID, MonitorStatus)
«realize»
«realize»
«realize»
«realize»
«optional»
«realize»
«optional»
«optional»
«realize»
«optional»
«optional»
«mandatory» Figure 8.1: Overview of interfaces between the Dem and other BSW modules
«m... [BSW]
«m... [SWC]
«m... Dem
«interface» BSW/SWC_Dem_Use
«function» ::Dem_GetDTCOfEvent
+
Dem_GetDTCOfEvent(Std_ReturnType, Dem_EventIdType, Dem_DTCFormatType, uint32**) ::Dem_SetEventDisabled
+
Dem_SetEventDisabled(Std_ReturnType, Dem_EventIdType) ::Dem_GetEventExtendedDataRecordEx
+
Dem_GetEventExtendedDataRecordEx(Std_ReturnType, Dem_EventIdType, uint8, uint8**, uint16**): void ::Dem_GetEventFreezeFrameDataEx
+
Dem_GetEventFreezeFrameDataEx(Std_ReturnType, Dem_EventIdType, uint8, uint16, uint8**, uint16**): void ::Dem_GetEventMemoryOverflow
+
Dem_GetEventMemoryOverflow(Std_ReturnType, uint8, Dem_DTCOriginType, boolean**): void ::Dem_SetDTCSuppression
+
Dem_SetDTCSuppression(Std_ReturnType, uint8, boolean): void ::Dem_GetIndicatorStatus
+
Dem_GetIndicatorStatus(Std_ReturnType, uint8, Dem_IndicatorStatusType**) ::Dem_SetEnableCondition
+
Dem_SetEnableCondition(Std_ReturnType, uint8, boolean) ::Dem_SetStorageCondition
+
Dem_SetStorageCondition(Std_ReturnType, uint8, boolean): void ::Dem_RepIUMPRDenRelease
+
Dem_RepIUMPRDenRelease(Std_ReturnType, Dem_RatioIdType) ::Dem_ResetEventDebounceStatus
+
Dem_ResetEventDebounceStatus(Std_ReturnType, Dem_EventIdType, Dem_DebounceResetStatusType) ::Dem_GetEventUdsStatus
+
Dem_GetEventUdsStatus(Std_ReturnType, Dem_EventIdType, Dem_UdsStatusByteType**) ::Dem_SetPtoStatus
+
Dem_SetPtoStatus(Std_ReturnType, boolean) ::Dem_RepIUMPRFaultDetect
+
Dem_RepIUMPRFaultDetect(Std_ReturnType, Dem_RatioIdType)
«interface» BSW_Dem_Use
«function» ::Dem_ClearDTC
+
Dem_ClearDTC(Std_ReturnType, uint8) ::Dem_GetVersionInfo
+
Dem_GetVersionInfo(Std_VersionInfoType**)
«interface» SWC_Dem_Use
«function» ::Dem_ResetEventStatus
+
Dem_ResetEventStatus(Std_ReturnType, Dem_EventIdType) ::Dem_PrestoreFreezeFrame
+
Dem_PrestoreFreezeFrame(Std_ReturnType, Dem_EventIdType) ::Dem_RestartOperationCycle
+
Dem_RestartOperationCycle(Std_ReturnType, uint8) ::Dem_SetEventStatus
+
Dem_SetEventStatus(Std_ReturnType, Dem_EventIdType, Dem_EventStatusType) ::Dem_ClearPrestoredFreezeFrame
+
Dem_ClearPrestoredFreezeFrame(Std_ReturnType, Dem_EventIdType) ::Dem_GetFaultDetectionCounter
+
Dem_GetFaultDetectionCounter(Std_ReturnType, Dem_EventIdType, sint8**) ::Dem_ResetMonitorStatus
+
Dem_ResetMonitorStatus(Std_ReturnType, Dem_EventIdType)
«realize»
«realize»
«use»
«use»
«use»
«use»
«realize» Figure 8.2: Overview of interfaces between the Dem and other BSW modules (in general)
«interface» Dcm_Dem_Optional
«function» ::Dem_SetFreezeFrameRecordFilter
+
Dem_SetFreezeFrameRecordFilter(return, ClientId, DTCFormat) ::Dem_GetNextFilteredDTC
+
Dem_GetNextFilteredDTC(return, ClientId, DTC, DTCStatus) ::Dem_GetSeverityOfDTC
+
Dem_GetSeverityOfDTC(return, DTCSeverity, ClientId) ::Dem_GetNumberOfFilteredDTC
+
Dem_GetNumberOfFilteredDTC(return, ClientId, NumberOfFilteredDTC) ::Dem_SetDTCFilter
+
Dem_SetDTCFilter(return, ClientId, DTCStatusMask, DTCFormat, DTCOrigin, FilterWithSeverity, DTCSeverityMask, FilterForFaultDetectionCounter) ::Dem_GetTranslationType
+
Dem_GetTranslationType(return, ClientId) ::Dem_GetDTCStatusAvailabilityMask
+
Dem_GetDTCStatusAvailabilityMask(return, ClientId, DTCStatusMask, DTCOrigin) ::Dem_GetNextFilteredDTCAndFDC
+
Dem_GetNextFilteredDTCAndFDC(return, ClientId, DTC, DTCFaultDetectionCounter) ::Dem_GetStatusOfDTC
+
Dem_GetStatusOfDTC(return, ClientId, DTCStatus) ::Dem_GetSizeOfFreezeFrameSelection
+
Dem_GetSizeOfFreezeFrameSelection(return, ClientId, SizeOfFreezeFrame) ::Dem_DcmReadDataOfOBDFreezeFrame
+
Dem_DcmReadDataOfOBDFreezeFrame(return, PID, DataElementIndexOfPID, DestBuffer, BufSize) ::Dem_GetNextExtendedDataRecord
+
Dem_GetNextExtendedDataRecord(return, ClientId, DestBuffer, BufSize) ::Dem_GetDTCByOccurrenceTime
+
Dem_GetDTCByOccurrenceTime(return, ClientId, DTCRequest, DTC) ::Dem_ClearDTC
+
Dem_ClearDTC(return, ClientId) ::Dem_GetNextFilteredRecord
+
Dem_GetNextFilteredRecord(return, ClientId, DTC, RecordNumber) ::Dem_DisableDTCSetting
+
Dem_DisableDTCSetting(return, ClientId) ::Dem_EnableDTCRecordUpdate
+
Dem_EnableDTCRecordUpdate(return, ClientId) ::Dem_GetNextFreezeFrameData
+
Dem_GetNextFreezeFrameData(return, ClientId, DestBuffer, BufSize) ::Dem_GetNextFilteredDTCAndSeverity
+
Dem_GetNextFilteredDTCAndSeverity(return, ClientId, DTC, DTCStatus, DTCSeverity, DTCFunctionalUnit) ::Dem_GetSizeOfExtendedDataRecordSelection
+
Dem_GetSizeOfExtendedDataRecordSelection(return, ClientId, SizeOfExtendedDataRecord) ::Dem_DisableDTCRecordUpdate
+
Dem_DisableDTCRecordUpdate(return, ClientId)
«module» Dem
«module» Dcm
«interface» Dcm_Dem_Configurable
«function» ::Dem_DcmReadDataOfPID01
+
Dem_DcmReadDataOfPID01(return, PID01value) ::Dem_DcmReadDataOfPID30
+
Dem_DcmReadDataOfPID30(return, PID30value) ::Dem_DcmReadDataOfPID21
+
Dem_DcmReadDataOfPID21(return, PID21value) ::Dem_DcmGetInfoTypeValue08
+
Dem_DcmGetInfoTypeValue08(return, OpStatus, Iumprdata08, Iumprdata08BufferSize) ::Dem_DcmGetInfoTypeValue0B
+
Dem_DcmGetInfoTypeValue0B(return, OpStatus, Iumprdata0B, Iumprdata0BBufferSize) ::Dem_DcmReadDataOfPID4D
+
Dem_DcmReadDataOfPID4D(return, PID4Dvalue) ::Dem_DcmReadDataOfPID1C
+
Dem_DcmReadDataOfPID1C(return, PID1Cvalue) ::Dem_DcmReadDataOfPID41
+
Dem_DcmReadDataOfPID41(return, PID41value) ::Dem_DcmReadDataOfPID4E
+
Dem_DcmReadDataOfPID4E(return, PID4Evalue) ::Dem_DcmReadDataOfPID31
+
Dem_DcmReadDataOfPID31(return, PID31value)
«optional»
«configurable»
«realize»
«realize» Figure 8.3: Overview of interfaces between the Dem and Dcm
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
The type Std_VersionInfoType is explicitly used in the signature of Dem_GetVersionInfo shown in the diagram.
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_DiagnosticEventManager.pdf |
|---|---|
| Dokumentseite | Seite 247 |
| Ziel-Modul | dem (classic) |
| Ziel-Anforderung | SWS_Std_00015 |
| Semantische Rolle | diffundiert |
| Automatisierungs-Konfidenz | 0.90 |