DEENESPTFRRUARHIKOZHNL
CLASSIC Modul: can Rolle: constitutive Konfidenz: 95%

SNIP_CLASSIC_CAN_SECTION_8_3_2_7_Can_GetControllerMode

Quelle: SWS_CANDriver.pdf (Seite 65) • Ziel-Anforderung: SWS_Std_00005

Wortlaut

8.3.2.7 Can_GetControllerMode [SWS_Can_91014] Definition of API function Can_GetControllerMode ⌈ Service Name Can_GetControllerMode Syntax Std_ReturnType Can_GetControllerMode ( uint8 Controller, Can_ControllerStateType* ControllerModePtr ) Service ID [hex] 0x12 Sync/Async Synchronous Reentrancy Non Reentrant Parameters (in) Controller CAN controller for which the status shall be requested. Parameters (inout) None Parameters (out) ControllerModePtr Pointer to a memory location, where the current mode of the CAN controller will be stored. Return value Std_ReturnType E_OK: Controller mode request has been accepted. E_NOT_OK: Controller mode request has not been accepted. Description This service reports about the current status of the requested CAN controller. Available via Can.h ⌋ [SWS_Can_91015] ⌈The service Can_GetControllerMode shall return the mode of the requested CAN controller.⌋ [SWS_Can_91016] Upstream requirements: SRS_BSW_00406, SRS_BSW_00416 ⌈If development error detection for the Can module is enabled: The function Can_GetControllerMode shall raise the error CAN_E_UNINIT and return E_NOT_OK if the driver is not yet initialized.⌋ [SWS_Can_91017] Upstream requirements: SRS_BSW_00323 ⌈If parameter Controller of Can_GetControllerMode() has an invalid value, the CanDrv shall report development error code CAN_E_PARAM_CONTROLLER to the Det_ReportError service of the DET.⌋ [SWS_Can_91018] Upstream requirements: SRS_BSW_00323 ⌈If parameter ControllerModePtr of Can_GetControllerMode() has an null pointer, the CanDrv shall report development error code CAN_E_PARAM_POINTER to the Det_ReportError service of the DET.⌋

Versionen & Provenienz · Zugeordnete Anforderungen

Diese Angaben zeigt der Versions-Explorer.

Begründung & Zuweisungs-Evidenz

Cited verbatim in the snippet (deterministic citation).

Dokumenten-Herkunft & Rückverfolgbarkeit

Spezifikations-Dokument SWS_CANDriver.pdf
Dokumentseite Seite 65
Ziel-Modul can (classic)
Ziel-Anforderung SWS_Std_00005
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95