|
Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
OS-backend adaptation surface for Clock Synchronization (ADR-005, ADR-017, ADR-021). More...
#include <stdint.h>#include "safeapi/oal/clocksync/sapi_clocksync.h"#include "safeapi/utils/status/sapi_status.h"Go to the source code of this file.
Data Structures | |
| struct | sapi_clocksync_backend_t |
| Backend vtable: an integrator's implementation of clock synchronization for a specific mechanism (PTP/GPS/NTP/custom). Any slot may be NULL if unsupported by the backend (-> SAPI_STATUS_NOT_SUPPORTED). More... | |
Functions | |
| sapi_status_t | sapi_clocksync_register_backend (const sapi_clocksync_backend_t *backend) |
| Registers the backend implementation used by every sapi_clocksync_* call (ADR-005-style single global backend). | |
OS-backend adaptation surface for Clock Synchronization (ADR-005, ADR-017, ADR-021).
For platform integrators implementing a sapi_clocksync_backend_t (PTP, GPS discipline, NTP, or a custom link) and calling sapi_clocksync_register_backend() - NOT part of the consumer API (safeapi/clocksync/sapi_clocksync.h). A real application should never include this file; only the startup code that wires a concrete backend does.
Definition in file sapi_clocksync_backend.h.