SNIP_CLASSIC_CAN_SECTION_8_3_2_5_Can_CheckWakeup
Wortlaut
8.3.2.5 Can_CheckWakeup
[SWS_Can_00360] Definition of API function Can_CheckWakeup ⌈
Service Name
Can_CheckWakeup
Syntax
Std_ReturnType Can_CheckWakeup (
uint8 Controller
)
Service ID [hex]
0x0b
Sync/Async
Synchronous
Reentrancy
Non Reentrant
Parameters (in)
Controller
Controller to be checked for a wakeup.
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 for the given controller.
Available via
Can.h
⌋
[SWS_Can_00361] ⌈The function Can_CheckWakeup shall check if the requested
CAN controller has detected a wakeup. If a wakeup event was successfully detected,
reporting shall be done to EcuM via API EcuM_SetWakeupEvent.⌋
[SWS_Can_00362] ⌈If development error detection for the Can module is enabled:
The function Can_CheckWakeup shall raise the error CAN_E_UNINIT if the driver is
not yet initialized.⌋
[SWS_Can_00363] ⌈If development error detection for the Can module is enabled:
The function Can_CheckWakeup shall raise the error CAN_E_PARAM_CONTROLLER if
the parameter Controller is out of range.⌋
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_CANDriver.pdf |
|---|---|
| Dokumentseite | Seite 63 |
| Ziel-Modul | can (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |