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

SNIP_CLASSIC_LINIF_SECTION_8_2_10_LinIf_SetTrcvWakeupMode

Quelle: SWS_LINInterface.pdf (Seite 93) • Ziel-Anforderung: SWS_Std_00005

Wortlaut

8.2.10 LinIf_SetTrcvWakeupMode [SWS_LinIf_00550] Definition of API function LinIf_SetTrcvWakeupMode Upstream requirements: SRS_Lin_01589 ⌈ Service Name LinIf_SetTrcvWakeupMode Syntax Std_ReturnType LinIf_SetTrcvWakeupMode ( NetworkHandleType Channel, LinTrcv_TrcvWakeupModeType LinTrcvWakeupMode ) Service ID [hex] 0x0b Sync/Async Synchronous Reentrancy Reentrant Channel Identification of the LIN channel Parameters (in) LinTrcvWakeupMode Requested transceiver wake up reason. Parameters (inout) None Parameters (out) None Return value Std_ReturnType E_OK: The call of the LIN Transceiver Driver’s API service has returned E_OK. E_NOT_OK: The call of the LIN Transceiver Driver’s API service has returned E_NOT_OK or channel or mode parameter is invalid. Description This API enables, disables and clears the notification for wakeup events on the addressed network Available via LinIf.h ⌋ [SWS_LinIf_00551] ⌈This API shall enable, disable or clear the notification for wake up events on the addressed network by calling the underlying function LinTrcv_SetWakeupMode(LinNetwork, TrcvWakeupMode).⌋ [SWS_LinIf_00595] ⌈If development error detection is enabled and an invalid value for Channel is given, the function LinIf_SetTrcvWakeupMode shall report LINIF_ E_NONEXISTENT_CHANNEL to the default error tracer.⌋ [SWS_LinIf_00596] ⌈If development error detection is enabled and an invalid value for LinTrcvWakeupMode is given, the function LinIf_SetTrcvWakeupMode shall report LINIF_E_PARAMETER to the default error tracer.⌋ [SWS_LinIf_00637] ⌈The function LinIf_SetTrcvWakeupMode is required only if at least one LIN channel uses the LIN transceiver driver. This function shall be pre-compile time configurable On/Off by the configuration parameter LinIfTrcvDriverSupported.⌋ Caveats: • The LIN Interface has to be initialized with a call of LinIf_Init before this API service may be called, see [SRS_BSW_00487]. • The implementation may be e.g. disabling the interrupt source for the wake up. If the interrupt is level triggered a pending interrupt is automatically stored and raised after enabling the notification again. It is very important not to lose wake up events during the disabled period.

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_LINInterface.pdf
Dokumentseite Seite 93
Ziel-Modul linif (classic)
Ziel-Anforderung SWS_Std_00005
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95