|
RTE RBC 2oo2 Reference Application 0.1.0 build 0006685
SIL 4 2oo2 Dual-Site Fault-Tolerant ERTMS Radio Block Centre Reference Architecture
|
ERTMS Subset-026 §5.7 Emergency Stop Management Procedure. More...
#include "ab_gp_ertms_types.h"Go to the source code of this file.
Functions | |
| bool | ab_gp_proc_emergency_stop_issue_ues (ab_gp_ertms_train_context_t *ctx, uint8_t nid_em) |
| Issues an Unconditional Emergency Stop (UES - Msg 16) to the train. | |
| bool | ab_gp_proc_emergency_stop_issue_ces (ab_gp_ertms_train_context_t *ctx, uint8_t nid_em, uint32_t d_ref_m, uint32_t d_emergencystop_m) |
| Issues a Conditional Emergency Stop (CES - Msg 15) to the train. | |
| bool | ab_gp_proc_emergency_stop_handle_ack (ab_gp_ertms_train_context_t *ctx, uint8_t nid_em, uint32_t timestamp_ms) |
| Handles inbound Emergency Stop Acknowledgement (Msg 147). | |
| bool | ab_gp_proc_emergency_stop_revoke (ab_gp_ertms_train_context_t *ctx, uint8_t nid_em) |
| Revokes an active Emergency Stop (Msg 18) once hazard is cleared. | |
ERTMS Subset-026 §5.7 Emergency Stop Management Procedure.
Implements SIL 4 C99 Unconditional Emergency Stop (UES - Msg 16), Conditional Emergency Stop (CES - Msg 15), Acknowledgement (Msg 147), and Revocation (Msg 18).
Definition in file ab_gp_proc_emergency_stop.h.
| bool ab_gp_proc_emergency_stop_issue_ues | ( | ab_gp_ertms_train_context_t * | ctx, |
| uint8_t | nid_em ) |
Issues an Unconditional Emergency Stop (UES - Msg 16) to the train.
| [in,out] | ctx | Train ERTMS context. |
| [in] | nid_em | Emergency Stop identifier (1..255). |
Definition at line 9 of file ab_gp_proc_emergency_stop.c.
| bool ab_gp_proc_emergency_stop_issue_ces | ( | ab_gp_ertms_train_context_t * | ctx, |
| uint8_t | nid_em, | ||
| uint32_t | d_ref_m, | ||
| uint32_t | d_emergencystop_m ) |
Issues a Conditional Emergency Stop (CES - Msg 15) to the train.
| [in,out] | ctx | Train ERTMS context. |
| [in] | nid_em | Emergency Stop identifier (1..255). |
| [in] | d_ref_m | Reference balise/distance point. |
| [in] | d_emergencystop_m | Distance threshold from reference point. |
Definition at line 31 of file ab_gp_proc_emergency_stop.c.
| bool ab_gp_proc_emergency_stop_handle_ack | ( | ab_gp_ertms_train_context_t * | ctx, |
| uint8_t | nid_em, | ||
| uint32_t | timestamp_ms ) |
Handles inbound Emergency Stop Acknowledgement (Msg 147).
| [in,out] | ctx | Train ERTMS context. |
| [in] | nid_em | Echoed emergency stop identifier. |
| [in] | timestamp_ms | Timestamp from train message. |
Definition at line 56 of file ab_gp_proc_emergency_stop.c.
| bool ab_gp_proc_emergency_stop_revoke | ( | ab_gp_ertms_train_context_t * | ctx, |
| uint8_t | nid_em ) |
Revokes an active Emergency Stop (Msg 18) once hazard is cleared.
| [in,out] | ctx | Train ERTMS context. |
| [in] | nid_em | Emergency Stop identifier to revoke. |
Definition at line 75 of file ab_gp_proc_emergency_stop.c.