CLASSIC
Modul: lintrcv
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_LINTRCV_SECTION_8_3_6_LinTrcv_CheckWakeup
Wortlaut
8.3.6 LinTrcv_CheckWakeup
[SWS_LinTrcv_00012] Definition of callback function LinTrcv_CheckWakeup
Upstream requirements: SRS_BSW_00310, SRS_BSW_00369, SRS_BSW_00375, SRS_BSW_
00406
⌈
Service Name
LinTrcv_CheckWakeup
Syntax
Std_ReturnType LinTrcv_CheckWakeup (
uint8 LinNetwork
)
Service ID [hex]
0x07
Sync/Async
Synchronous
Reentrancy
Reentrant
Parameters (in)
LinNetwork
LIN network to which API call has to be applied.
Parameters (inout)
None
Parameters (out)
None
Return value
Std_ReturnType
E_OK: API call has been accepted
E_NOT_OK: API call has not been accepted
Description
Notifies the calling function if a wakeup is detected.
Available via
LinTrcv.h
⌋
[SWS_LinTrcv_00144] ⌈If development error detection for the module LinTrcv is enabled:
If called before the LinTrcv module has been initialized, the function LinTrcv_CheckWakeup shall report the development error LINTRCV_E_UNINIT.⌋
[SWS_LinTrcv_00145] ⌈If development error detection for the module LinTrcv is enabled:
If called with an invalid network number LinNetwork, the function LinTrcv_CheckWakeup shall report the development error LINTRCV_E_INVALID_LIN_NETWORK.⌋
[SWS_LinTrcv_00166] ⌈The function LinTrcv_CheckWakeup shall evaluate the
wakeup on the addressed LIN network.
When a wake-up event on the addressed
LIN network is detected (e.g. dominant bus state or negative edge at wakeup pin), the
function LinTrcv_CheckWakeup shall notify the ECU State Manager module immediately via the EcuM_SetWakeupEvent and LinIf via LinIf_WakeupConfirmation callback
function.⌋
[SWS_LinTrcv_00167] ⌈If development error detection for the module LinTrcv is enabled: If the addressed LIN network is not in mode LINTRCV_TRCV_MODE_SLEEP,
the function LinTrcv_CheckWakeup shall report the development error LINTRCV_
E_TRCV_NOT_SLEEP.⌋
Configuration: See configuration parameter LinTrcvWakeUpSupport.
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_LINTransceiverDriver.pdf |
|---|---|
| Dokumentseite | Seite 30 |
| Ziel-Modul | lintrcv (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |