Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
rte_osadapter_fsou.h File Reference

OSAdapter interface for the Fail-Safe Output Unit (FSOU) output permission (ADR-041). More...

Include dependency graph for rte_osadapter_fsou.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rte_osadapter_fsou_t
 OSAdapter FSOU operations vtable. More...

Functions

rte_status_t rte_osadapter_fsou_register (const rte_osadapter_fsou_t *adapter)
 Registers the OSAdapter FSOU implementation (REQ-FSOU-001).

Detailed Description

OSAdapter interface for the Fail-Safe Output Unit (FSOU) output permission (ADR-041).

Optional seam: a platform with an FSOU registers this vtable; a build without one (the container build) leaves it unregistered and the software checkpoint stays the only output gate. See rte/oal/fsou/rte_fsou.h for the consumer-facing calls.

Compliant with CENELEC EN 50128 SIL 4 and MISRA C:2012.

Definition in file rte_osadapter_fsou.h.

Function Documentation

◆ rte_osadapter_fsou_register()

rte_status_t rte_osadapter_fsou_register ( const rte_osadapter_fsou_t * adapter)

Registers the OSAdapter FSOU implementation (REQ-FSOU-001).

Setup-only (ADR-026): refused once the application's setup phase is locked.

Parameters
adapterPointer to the FSOU operations vtable. Must stay valid for the life of the process.
Returns
RTE_STATUS_OK on success; RTE_STATUS_INVALID_PARAM if adapter is NULL; RTE_STATUS_INVALID_STATE if the setup phase is locked (the previous registration, if any, is kept).

Global variables declarations Local function declarations Global functions

Definition at line 29 of file rte_fsou.c.