RTE RBC 2oo2 Reference Application 0.1.0 build 0006685
SIL 4 2oo2 Dual-Site Fault-Tolerant ERTMS Radio Block Centre Reference Architecture
Loading...
Searching...
No Matches
ab_gp_proc_emergency_stop.h
Go to the documentation of this file.
1
9
10#ifndef RTE_EXAMPLE_AB_GP_PROC_EMERGENCY_STOP_H
11#define RTE_EXAMPLE_AB_GP_PROC_EMERGENCY_STOP_H
12
13#include "ab_gp_ertms_types.h"
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
26
36 uint8_t nid_em,
37 uint32_t d_ref_m,
38 uint32_t d_emergencystop_m);
39
48 uint8_t nid_em,
49 uint32_t timestamp_ms);
50
58
59#ifdef __cplusplus
60}
61#endif
62
63#endif /* RTE_EXAMPLE_AB_GP_PROC_EMERGENCY_STOP_H */
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.
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_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_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.
ERTMS Subset-026 Chapter 5 Operational Procedure Data Types and Enums.
Complete ERTMS state and procedure context for one train slot.