|
Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
EAST Site - Process A (Vital Channel A - CPU0). More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <stdint.h>#include <unistd.h>#include <time.h>Go to the source code of this file.
Data Structures | |
| struct | train_command_t |
| struct | shared_state_t |
| struct | train_db_entry_t |
Macros | |
| #define | TRAIN_COUNT (sizeof(trains) / sizeof(trains[0])) |
Functions | |
| __attribute__ ((aligned(64))) | |
| static uint32_t | crc32_checksum (const uint8_t *data, uint32_t len) |
| static train_command_t | compute_train_command (uint32_t train_id, uint32_t position) |
| int | main (int argc, char *argv[]) |
Variables | |
| static train_db_entry_t | trains [] |
EAST Site - Process A (Vital Channel A - CPU0).
Standby/Backup computation channel for ERTMS RBC East (Barcelona). Mirrors WEST site but remains standby until promoted.
In STANDBY mode:
In ONLINE mode (after failover):
Definition in file process_a.c.
| #define TRAIN_COUNT (sizeof(trains) / sizeof(trains[0])) |
Definition at line 70 of file process_a.c.
| __attribute__ | ( | (aligned(64)) | ) |
Definition at line 52 of file process_a.c.
|
static |
Definition at line 76 of file process_a.c.
|
static |
Definition at line 90 of file process_a.c.
| int main | ( | int | argc, |
| char * | argv[] ) |
Definition at line 126 of file process_a.c.
|
static |
Definition at line 64 of file process_a.c.