CLASSIC
Modul: canif
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_CANIF_SECTION_8_4_6_CanIf_ControllerBusOff
Wortlaut
8.4.6 CanIf_ControllerBusOff
[SWS_CANIF_00218] Definition of callback function CanIf_ControllerBusOff ⌈
Service Name
CanIf_ControllerBusOff
Syntax
void CanIf_ControllerBusOff (
uint8 ControllerId
)
Service ID [hex]
0x16
Sync/Async
Synchronous
Reentrancy
Reentrant
Parameters (in)
ControllerId
Abstract CanIf ControllerId which is assigned to a CAN controller,
where a BusOff occured.
Parameters (inout)
None
Parameters (out)
None
Return value
None
Description
This service indicates a Controller BusOff event referring to the corresponding CAN Controller
with the abstract CanIf ControllerId.
Available via
CanIf.h
⌋
Note: The callback service CanIf_ControllerBusOff() is called by CanDrv and
implemented in CanIf. It is called in case of a mode change notification of the CanDrv.
[SWS_CANIF_00429]
Upstream requirements: SRS_BSW_00323
⌈If parameter ControllerId of CanIf_ControllerBusOff() has an invalid value,
CanIf shall report development error code CANIF_E_PARAM_CONTROLLERID to the
Det_ReportError service of the DET module, when CanIf_ControllerBusOff
() is called.⌋
[SWS_CANIF_00431] ⌈If CanIf was not initialized before calling CanIf_ControllerBusOff(), CanIf shall not execute BusOff notification, when CanIf_ControllerBusOff(), is called.⌋
Note: The call context of CanIf_ControllerBusOff() is either on interrupt level
(interrupt mode) or on task level (polling mode).
[SWS_CANIF_00433] ⌈Configuration of CanIf_ControllerBusOff(): ID of the
CAN Controller is published inside the configuration description of the CanIf (see
CanIfCtrlCfg).⌋
Note: This service always has to be available, so there does not exist an appropriate
configuration parameter.
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_CANInterface.pdf |
|---|---|
| Dokumentseite | Seite 119 |
| Ziel-Modul | canif (classic) |
| Ziel-Anforderung | SWS_Det_00009 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |