SNIP_CLASSIC_CAN_SECTION_7_2_Driver_State_Machine
Wortlaut
7.2 Driver State Machine
The Can module has a very simple state machine, with the two states CAN_UNINIT and CAN_READY. 7.1 shows the state machine.
[SWS_Can_00103] Upstream requirements: SRS_BSW_00406
⌈After power-up/reset, the Can module shall be in the state CAN_UNINIT.⌋ CAN_UNINIT CAN_READY Initial Can_Init()
Can_DeInit() Figure 7.1: Driver State
[SWS_Can_00246] Upstream requirements: SRS_SPAL_12057, SRS_Can_01041
⌈The function Can_Init shall change the module state to CAN_READY, after initializing all controllers inside the HW Unit.⌋
[SWS_Can_00245] Upstream requirements: SRS_SPAL_12057, SRS_Can_01041
⌈The function Can_Init shall initialize all CAN controllers according to their configuration.⌋ Each CAN controller must then be started separately by calling the function Can_SetControllerMode(CAN_CS_STARTED). Implementation hint: Hardware register settings that have impact on all CAN controllers inside the HW Unit can only be set in the function Can_Init. Implementation hint: The ECU State Manager module shall call Can_Init at most once during runtime.
[SWS_Can_91009] Upstream requirements: SRS_Can_01166
⌈The function Can_DeInit shall change the module state to CAN_UNINIT before de-initializing all controllers inside the HW unit⌋ Refer to [SWS_Can_91010].
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 29 |
| Ziel-Modul | can (classic) |
| Ziel-Anforderung | SWS_Can_91010 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |