|
Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
Backend-defined controlled system restart (ADR-004 section 3). More...
Files | |
| file | src/oal/reboot/sapi_reboot.c |
| Reboot service: dispatches to the backend registered via sapi_reboot_register_backend() (ADR-005). | |
Functions | |
| sapi_status_t | sapi_reboot_request (uint16_t reason_code) |
| Requests a controlled system restart. | |
Backend-defined controlled system restart (ADR-004 section 3).
| sapi_status_t sapi_reboot_request | ( | uint16_t | reason_code | ) |
Requests a controlled system restart.
| reason_code | Backend-visible diagnostic code (e.g. persisted to NVM/black-box storage before the reset, backend-defined). |
REQ-OAL-REBOOT-010
Definition at line 44 of file sapi_reboot.c.