SNIP_CLASSIC_LIN_SECTION_8_3_2_3_Lin_GoToSleepInternal
Wortlaut
8.3.2.3 Lin_GoToSleepInternal
[SWS_Lin_00167] Definition of API function Lin_GoToSleepInternal ⌈
Service Name
Lin_GoToSleepInternal
Syntax
Std_ReturnType Lin_GoToSleepInternal (
uint8 Channel
)
▽
△
Service ID [hex]
0x09
Sync/Async
Synchronous
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: Command has been accepted
E_NOT_OK: Command has not been accepted,
development or production error occurred
Description
Sets the channel state to LIN_CH_SLEEP, enables the wake-up detection and optionally sets
the LIN hardware unit to reduced power operation mode (if supported by HW).
Available via
Lin.h
⌋
[SWS_Lin_00095] ⌈The function Lin_GoToSleepInternal shall set the channel state to
LIN_CH_SLEEP.⌋
[SWS_Lin_00222] ⌈If external wake-up detection is supported by configuration parameter LinChannelWakeupSupport, then the function Lin_GoToSleepInternal shall enable
bus monitoring for a wake-up request on that channel.⌋
[SWS_Lin_00223] ⌈The function Lin_GoToSleepInternal shall optionally set the LIN
hardware unit to reduced power operation mode (if supported by HW).⌋
[SWS_Lin_00133] ⌈If development error detection for the LIN module is enabled: if
the function Lin_GoToSleepInternal is called before the LIN module was initialized, the
function Lin_GoToSleepInternal shall raise the development error LIN_E_UNINIT.⌋
[SWS_Lin_00135] ⌈If development error detection for the LIN module is enabled:
the function Lin_GoToSleepInternal shall raise the development error
LIN_E_INVALID_CHANNEL if the channel parameter is invalid.⌋
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 44 |
| Ziel-Modul | lin (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |