CLASSIC
Modul: linif
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_LINIF_SECTION_8_2_20_LinIf_CheckWakeup
Wortlaut
8.2.20 LinIf_CheckWakeup
[SWS_LinIf_00378] Definition of API function LinIf_CheckWakeup
Upstream requirements: SRS_Lin_01514, SRS_BSW_00375
⌈
Service Name
LinIf_CheckWakeup
Syntax
Std_ReturnType LinIf_CheckWakeup (
EcuM_WakeupSourceType WakeupSource
)
Service ID [hex]
0x60
Sync/Async
Synchronous
Reentrancy
Reentrant
Parameters (in)
WakeupSource
Source device, which initiated the wakeup event: LIN controller or
LIN transceiver
Parameters (inout)
None
Parameters (out)
None
Return value
Std_ReturnType
E_OK: No error has occurred during execution of the API
E_NOT_OK: An error has occurred during execution of the API or
invalid WakeupSource
Description
Will be called when the EcuM has been notified about a wakeup on a specific LIN channel.
Available via
LinIf.h
⌋
The LIN Interface will recognize the source of the wakeup and thus the destination of
this call by the parameter of the function LinIf_CheckWakeup.
[SWS_LinIf_00503] ⌈The function LinIf_CheckWakeup shall issue the call of function Lin_CheckWakeup or LinTrcv_CheckWakeup depending on the given parameter WakeupSource.⌋
Note: It is implementation specific, which controllers and transceivers are queried. LinIf
just has to find out the exact LIN hardware device.
[SWS_LinIf_00566] ⌈If development error detection is enabled and the parameter
WakeupSource has an invalid value, the function LinIf_CheckWakeup shall raise
the development error code LINIF_E_PARAM_WAKEUPSOURCE.⌋
The function LinIf_CheckWakeup may be called in an interrupt or polling mode.
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 112 |
| Ziel-Modul | linif (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |