SAI connection object, layered over an already-initialised safecomm_saf_conn_t. Caller-allocated, zero-initialised; fields are not part of the API contract.
More...
#include <sai.h>
SAI connection object, layered over an already-initialised safecomm_saf_conn_t. Caller-allocated, zero-initialised; fields are not part of the API contract.
Definition at line 55 of file sai.h.
◆ saf
The underlying Safety Layer connection (not owned).
Definition at line 57 of file sai.h.
◆ cfg
Definition at line 58 of file sai.h.
◆ seq_tx
| uint16_t safecomm_sai_conn_t::seq_tx |
Definition at line 59 of file sai.h.
◆ seq_rx
| uint16_t safecomm_sai_conn_t::seq_rx |
Definition at line 60 of file sai.h.
◆ seq_rx_valid
| bool safecomm_sai_conn_t::seq_rx_valid |
Definition at line 61 of file sai.h.
◆ ec_tx
| uint32_t safecomm_sai_conn_t::ec_tx |
Definition at line 62 of file sai.h.
◆ peer_ec_period_ms
| uint32_t safecomm_sai_conn_t::peer_ec_period_ms |
Definition at line 63 of file sai.h.
◆ ratio
| double safecomm_sai_conn_t::ratio |
R = our EC period / peer's EC period (§5.4.9.4.3).
Definition at line 64 of file sai.h.
◆ expected_ec
| double safecomm_sai_conn_t::expected_ec |
Ex, updated once per our own EC (§5.4.9.4.4).
Definition at line 65 of file sai.h.
◆ last_rx_ec
| uint32_t safecomm_sai_conn_t::last_rx_ec |
Definition at line 66 of file sai.h.
◆ ec_initialized
| bool safecomm_sai_conn_t::ec_initialized |
Definition at line 67 of file sai.h.
◆ ec_state
| int safecomm_sai_conn_t::ec_state |
0..3 (3 = alarm), computed purely from the latest Delta (§5.4.9.4.5-7).
Definition at line 68 of file sai.h.
The documentation for this struct was generated from the following file:
- include/safecomm/sai/sai.h