Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
sapi_channel_storage_t Struct Reference

Storage for one vital channel instance (opaque to caller). More...

#include <sapi_channel.h>

Collaboration diagram for sapi_channel_storage_t:
[legend]

Data Fields

sapi_channel_config_t config
sapi_channel_health_t health
bool initialized

Detailed Description

Storage for one vital channel instance (opaque to caller).

Caller allocates this structure and passes it to sapi_channel_init(). No dynamic memory.

Definition at line 114 of file sapi_channel.h.

Field Documentation

◆ config

sapi_channel_config_t sapi_channel_storage_t::config

Configuration this instance was initialized with.

Definition at line 115 of file sapi_channel.h.

◆ health

sapi_channel_health_t sapi_channel_storage_t::health

This channel's own health/statistics.

Definition at line 116 of file sapi_channel.h.

◆ initialized

bool sapi_channel_storage_t::initialized

Set true by sapi_channel_init().

Definition at line 117 of file sapi_channel.h.


The documentation for this struct was generated from the following file: