SNIP_CLASSIC_LIN_SECTION_8_3_2_4_Lin_Wakeup
Wortlaut
8.3.2.4 Lin_Wakeup
[SWS_Lin_00169] Definition of API function Lin_Wakeup ⌈
Service Name
Lin_Wakeup
Syntax
Std_ReturnType Lin_Wakeup (
uint8 Channel
)
Service ID [hex]
0x07
Sync/Async
Asynchronous
Reentrancy
Non Reentrant for the same Channel. Reentrant for different Channel.
Parameters (in)
Channel
LIN channel to be addressed
Parameters (inout)
None
▽
△
Parameters (out)
None
Return value
Std_ReturnType
E_OK: Wake-up request has been accepted
E_NOT_OK: Wake-up request has not been accepted,
development or production error occurred
Description
Generates a wake up pulse and sets the channel state to LIN_CH_OPERATIONAL.
Available via
Lin.h
⌋
[SWS_Lin_00137] ⌈If development error detection for the LIN module is enabled: if
the function Lin_Wakeup is called before the LIN module was initialized, the function
Lin_Wakeup shall raise the development error LIN_E_UNINIT.⌋
[SWS_Lin_00139] ⌈If development error detection for the LIN module is enabled: the
function Lin_Wakeup shall raise the development error LIN_E_INVALID_CHANNEL if
the channel parameter is invalid or the channel is inactive.⌋
[SWS_Lin_00140] ⌈If development error detection for the LIN module is enabled: the
function Lin_Wakeup shall raise the development error LIN_E_STATE_TRANSITION if
the LIN channel state-machine is not in the state LIN_CH_SLEEP.⌋
Note: The Lin driver’s environment shall only call Lin_Wakeup when the LIN channel is
in state LIN_CH_SLEEP.
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_LINDriver.pdf |
|---|---|
| Dokumentseite | Seite 45 |
| Ziel-Modul | lin (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |