RTE RBC 2oo2 Reference Application
0.1.0 build 0006685
SIL 4 2oo2 Dual-Site Fault-Tolerant ERTMS Radio Block Centre Reference Architecture
Toggle main menu visibility
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
16
extern
"C"
{
17
#endif
18
25
bool
ab_gp_proc_emergency_stop_issue_ues
(
ab_gp_ertms_train_context_t
*ctx, uint8_t nid_em);
26
35
bool
ab_gp_proc_emergency_stop_issue_ces
(
ab_gp_ertms_train_context_t
*ctx,
36
uint8_t nid_em,
37
uint32_t d_ref_m,
38
uint32_t d_emergencystop_m);
39
47
bool
ab_gp_proc_emergency_stop_handle_ack
(
ab_gp_ertms_train_context_t
*ctx,
48
uint8_t nid_em,
49
uint32_t timestamp_ms);
50
57
bool
ab_gp_proc_emergency_stop_revoke
(
ab_gp_ertms_train_context_t
*ctx, uint8_t nid_em);
58
59
#ifdef __cplusplus
60
}
61
#endif
62
63
#endif
/* RTE_EXAMPLE_AB_GP_PROC_EMERGENCY_STOP_H */
ab_gp_proc_emergency_stop_revoke
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.
Definition
ab_gp_proc_emergency_stop.c:75
ab_gp_proc_emergency_stop_issue_ues
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.
Definition
ab_gp_proc_emergency_stop.c:9
ab_gp_proc_emergency_stop_handle_ack
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).
Definition
ab_gp_proc_emergency_stop.c:56
ab_gp_proc_emergency_stop_issue_ces
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.
Definition
ab_gp_proc_emergency_stop.c:31
ab_gp_ertms_types.h
ERTMS Subset-026 Chapter 5 Operational Procedure Data Types and Enums.
ab_gp_ertms_train_context_t
Complete ERTMS state and procedure context for one train slot.
Definition
ab_gp_ertms_types.h:235
src
application
AB
GP
ertms_procedures
ab_gp_proc_emergency_stop.h
Generated by
1.18.0