16 #ifndef PSEN_SCAN_V2_STANDALONE_IO_CONSTANTS_H
17 #define PSEN_SCAN_V2_STANDALONE_IO_CONSTANTS_H
25 namespace data_conversion_layer
27 namespace monitoring_frame
44 using RawChunk = std::array<uint8_t, io::RAW_CHUNK_LENGTH_IN_BYTES>;
46 #define REV(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) arg8, arg7, arg6, arg5, arg4, arg3, arg2, arg1
82 { Lit::zone_sw_2,
"Zone Set Switching Input 2" },
83 { Lit::zone_sw_1,
"Zone Set Switching Input 1" },
84 { Lit::overr_2_a,
"Override 2 Activated" },
85 { Lit::overr_1_a,
"Override 1 Activated" },
86 { Lit::muting_2_a,
"Muting 2 Activated" },
87 { Lit::muting_1_a,
"Muting 1 Activated" },
89 { Lit::reset_a,
"Reset Activated" },
90 { Lit::zone_sw_8,
"Zone Set Switching Input 8" },
91 { Lit::zone_sw_7,
"Zone Set Switching Input 7" },
92 { Lit::zone_sw_6,
"Zone Set Switching Input 6" },
93 { Lit::zone_sw_5,
"Zone Set Switching Input 5" },
94 { Lit::zone_sw_4,
"Zone Set Switching Input 4" },
95 { Lit::zone_sw_3,
"Zone Set Switching Input 3" },
97 { Lit::cor_seq_mut_2,
"Correct activation sequence of Muting 2 Pins" },
98 { Lit::mut_en_2_a,
"Muting Enable 2 Activated" },
99 { Lit::restart_2_a,
"Restart 2 Activated" },
100 { Lit::cor_seq_or_1,
"Correct activation sequence of Override 1 Pins" },
101 { Lit::cor_seq_mut_1,
"Correct activation sequence of Muting 1 Pins" },
102 { Lit::mut_en_1_a,
"Muting Enable 1 Activated" },
103 { Lit::restart_1_a,
"Restart 1 Activated" },
105 { Lit::cor_seq_or_2,
"Correct activation sequence of Override 2 Pins" },
106 { Lit::unused,
"unused" },
111 { Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused },
112 { Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused },
113 { Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused },
114 { Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused },
115 {
REV(Lit::zone_sw_2, Lit::zone_sw_1, Lit::unused, Lit::overr_2_a, Lit::overr_1_a, Lit::unused, Lit::muting_2_a, Lit::muting_1_a) },
116 {
REV(Lit::unused, Lit::reset_a, Lit::zone_sw_8, Lit::zone_sw_7, Lit::zone_sw_6, Lit::zone_sw_5, Lit::zone_sw_4, Lit::zone_sw_3) },
117 {
REV(Lit::cor_seq_mut_2, Lit::mut_en_2_a, Lit::restart_2_a, Lit::unused, Lit::cor_seq_or_1, Lit::cor_seq_mut_1, Lit::mut_en_1_a, Lit::restart_1_a) },
118 {
REV(Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::unused, Lit::cor_seq_or_2) },
142 { Ot::unused,
"unused" },
143 { Ot::ossd1_refpts,
"REFERENCE POINTS VIOLATION" },
145 { Ot::warn_2_int,
"Warning 2 intrusion" },
146 { Ot::warn_1_int,
"Warning 1 intrusion" },
147 { Ot::safe_3_int,
"Safety 3 intrusion" },
148 { Ot::int_lock_2,
"INTERLOCK 2" },
149 { Ot::safe_2_int,
"Safety 2 intrusion" },
150 { Ot::int_lock_1,
"INTERLOCK 1" },
151 { Ot::safe_1_int,
"Safety 1 intrusion" }
156 {
REV(Ot::warn_2_int, Ot::warn_1_int, Ot::unused, Ot::safe_3_int, Ot::int_lock_2, Ot::safe_2_int, Ot::int_lock_1, Ot::safe_1_int) },
157 {
REV(Ot::unused, Ot::unused, Ot::unused, Ot::unused, Ot::unused, Ot::unused, Ot::unused, Ot::unused) },
158 {
REV(Ot::unused, Ot::unused, Ot::unused, Ot::unused, Ot::unused, Ot::unused, Ot::unused, Ot::unused) },
159 {
REV(Ot::unused, Ot::unused, Ot::unused, Ot::ossd1_refpts, Ot::unused, Ot::unused, Ot::unused, Ot::unused) }
168 #endif // PSEN_SCAN_V2_STANDALONE_IO_CONSTANTS_H