CLASSIC
Modul: cantrcv
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_CANTRCV_SECTION_8_3_15_CanTrcv_DeInit
Wortlaut
8.3.15 CanTrcv_DeInit
[SWS_CanTrcv_91001] Definition of API function CanTrcv_DeInit
Upstream requirements: SRS_Can_01108, SRS_BSW_00336
⌈
Service Name
CanTrcv_DeInit
Syntax
void CanTrcv_DeInit (
void
)
Service ID [hex]
0x10
Sync/Async
Synchronous
Reentrancy
Non Reentrant
Parameters (in)
None
Parameters (inout)
None
Parameters (out)
None
Return value
None
Description
De-initializes the CanTrcv module.
Available via
CanTrcv.h
⌋
[SWS_CanTrcv_91002]
Upstream requirements: SRS_Can_01108
⌈The function CanTrcv_DeInit shall de-initialize all the connected CAN transceivers
based on their de-initialization sequences.⌋
[SWS_CanTrcv_91003]
Upstream requirements: SRS_Can_01108
⌈The function CanTrcv_DeInit shall set the CAN transceiver hardware to the state
NOT_ACTIVE.⌋
In the state NOT_ACTIVE, the CAN transceiver hardware allows to be re-configured
with a new configuration sequence
[SWS_CanTrcv_91004]
Upstream requirements: SRS_BSW_00369
⌈If there is no/incorrect communication towards the transceiver,
the function
CanTrcv_DeInit shall report the runtime error CANTRCV_E_NO_TRCV_CONTROL
code to the Default Error Tracer.
For Eg., there are different transceiver types and different access ways (port connection, SPI). This runtime error should be signaled if you detect any miscommunication
with your hardware. Depending on connection type and depending on your transceiver
hardware you may not run in situations where you have to signal this error.⌋
[SWS_CanTrcv_91005]
Upstream requirements: SRS_BSW_00369
⌈If
development
error
detection
for
the
CanTrcv
module
is
enabled:
The
function
CanTrcv_DeInit
shall
raise
the
error
CANTRCV_E_TRCV_NOT_STANDBY if the transceiver is not in mode CANTRCV_TRCVMODE_STANDBY
or CANTRCV_TRCVMODE_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_CANTransceiverDriver.pdf |
|---|---|
| Dokumentseite | Seite 49 |
| Ziel-Modul | cantrcv (classic) |
| Ziel-Anforderung | SWS_CanTrcv_91005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |