Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
sapi_platform_backend.h
Go to the documentation of this file.
1
16#ifndef SAFEAPI_OAL_PLATFORM_BACKEND_H
17#define SAFEAPI_OAL_PLATFORM_BACKEND_H
18
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
31typedef struct sapi_platform_backend_s
32{
42 sapi_status_t (*realtime_init)(uint32_t rt_priority);
44
57
58#ifdef __cplusplus
59}
60#endif
61
62#endif /* SAFEAPI_OAL_PLATFORM_BACKEND_H */
63 /* PLATFORM_BACKEND */
sapi_status_t sapi_platform_register_backend(const sapi_platform_backend_t *backend)
Registers the backend implementation used by sapi_platform_realtime_init() (ADR-005 section 2....
sapi_status_t
Common result/status codes.
Definition sapi_status.h:27
OS Abstraction Layer - Real-time platform configuration service (ADR-035).
Common status/error codes returned by every Safe API Framework function. Shared across all OS Abstrac...
Common fixed-width types and the caller-owned-storage handle pattern used by every OAL service (see A...
Backend vtable: an integrator's implementation of the real-time platform bring-up for a specific targ...
sapi_status_t(*) realtime_init(uint32_t rt_priority)
Backend implementation of sapi_platform_realtime_init(). May be NULL (the service then returns SAPI_S...