CLASSIC
Modul: linif
Rolle: diffundiert
Konfidenz: 90%
SNIP_CLASSIC_LINIF_SECTION_8_3_1_2_Lin_CheckWakeup
Wortlaut
8.3.1.2 Lin_CheckWakeup
[SWS_Lin_00160] Definition of API function Lin_CheckWakeup ⌈
Service Name
Lin_CheckWakeup
Syntax
Std_ReturnType Lin_CheckWakeup (
uint8 Channel
)
Service ID [hex]
0x0a
Sync/Async
Synchronous
Reentrancy
Non Reentrant
Parameters (in)
Channel
LIN channel to be addressed
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
This function checks if a wakeup has occurred on the addressed LIN channel.
Available via
Lin.h
⌋
There are two methods in which wake up detection shall happen, one is from LIN
controller hardware [Micro peripheral device] and/or another from LinTranceiver.
[SWS_Lin_00098]
Upstream requirements: SRS_BSW_00375, SRS_Lin_01563
⌈The function Lin_CheckWakeup shall evaluate the wakeup on the addressed LIN
channel. When a wake-up event on the addressed LIN channel (e.g. RxD pin has
constant low level) is detected, the function Lin_CheckWakeup shall notify the ECU
State Manager module immediately via the EcuM_SetWakeupEvent and the Lin Interface module via LinIf_WakeupConfirmation callback function.⌋
[SWS_Lin_00251] ⌈If development error detection for the LIN module is enabled:
if the channel parameter is invalid, the function Lin_CheckWakeup shall raise the
development error LIN_E_INVALID_CHANNEL otherwise (if DET is disabled) return
E_NOT_OK.⌋
[SWS_Lin_00107] ⌈If development error detection for the LIN module is enabled: if the
function Lin_CheckWakeup is called before the LIN module was initialized, the function
Lin_CheckWakeup shall raise the development error LIN_E_UNINIT.⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
The API specification for Lin_CheckWakeup defines its return value using Std_ReturnType.
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_LINDriver.pdf |
|---|---|
| Dokumentseite | Seite 42 |
| Ziel-Modul | linif (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | diffundiert |
| Automatisierungs-Konfidenz | 0.90 |