ConOpSys V2970  P004.07
ANVILEX control operating system
P017_43_KG3_DCB.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file P017_43_KG3_DCB.h
3 //! @brief KG3 d.c. bus interface board P017.43 hardware driver header file.
4 //! @attention No special attention requered.
5 //! @copyright (C) 2015-2020 ANVILEX LLC
6 //! $HeadURL: https://192.168.3.4:8443/svn/P004_07/ConOpSys/Hardware/P017_43_KG3_DCB/P017_43_KG3_DCB.h $
7 //! $Revision: 2281 $
8 //! $Date: 2020-12-13 00:29:35 +0500 (So, 13 Dez 2020) $
9 //! $Author: minch $
10 //------------------------------------------------------------------------------
11 //
12 // Redistribution and use in source and binary forms, with or without
13 // modification, are permitted provided that the following conditions are met:
14 //
15 // 1. Redistributions of source code must retain the above copyright notice,
16 // this list of conditions and the following disclaimer.
17 //
18 // 2. Redistributions in binary form must reproduce the above copyright notice,
19 // this list of conditions and the following disclaimer in the documentation
20 // and/or other materials provided with the distribution.
21 //
22 // 3. Neither the name of ANVILEX nor the names of its contributors may be
23 // used to endorse or promote products derived from this software without
24 // specific prior written permission.
25 //
26 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29 // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
30 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 // POSSIBILITY OF SUCH DAMAGE.
37 //
38 //------------------------------------------------------------------------------
39 
40 //------------------------------------------------------------------------------
41 // Protecting header files from mutual, recursive inclusion.
42 //------------------------------------------------------------------------------
43 
44 #pragma once
45 
46 //------------------------------------------------------------------------------
47 // Include standard libraries header files
48 //------------------------------------------------------------------------------
49 
50 //------------------------------------------------------------------------------
51 // Include thrid party header files
52 //------------------------------------------------------------------------------
53 
54 //------------------------------------------------------------------------------
55 // Include ConOpSys header files
56 //------------------------------------------------------------------------------
57 
58 #include "Functional_Block_Base.h"
59 
60 //------------------------------------------------------------------------------
61 // Include ConOpSys application header files
62 //------------------------------------------------------------------------------
63 
64 //------------------------------------------------------------------------------
65 // Global defines
66 //------------------------------------------------------------------------------
67 
68 //------------------------------------------------------------------------------
69 // Global macros
70 //------------------------------------------------------------------------------
71 
72 //! @brief DC bus interface board KG3 DCB1 T0 (P017.43) emulation class.
73 class TP017_43_KG3_DCB_T0 : public TFunctional_Block_Base
74 {
75 
76  //----------------------------------------------------------------------------
77  // Public defines, methods and variables
78  //----------------------------------------------------------------------------
79 
80  public:
81 
82  //--------------------------------------------------------------------------
83  // Public methods
84  //--------------------------------------------------------------------------
85 
86  //!-------------------------------------------------------------------------
87  //! @brief Class constructor method.
88  //! @note None
89  //! \par Override
90  //! Not allowed
91  //! @attention Don't call this method directly.
92  //--------------------------------------------------------------------------
93 
95 
96  //!-------------------------------------------------------------------------
97  //! @brief Class destructor method.
98  //! @note None
99  //! \par Override
100  //! Not allowed
101  //! @attention Don't call this method directly.
102  //--------------------------------------------------------------------------
103 
105 
106  //!-------------------------------------------------------------------------
107  //! @brief Functional block initialisation method.
108  //! @note None
109  //! @return None
110  //! \par Override
111  //! Not allowed
112  //! @attention None
113  //--------------------------------------------------------------------------
114 
115  virtual VOID Init();
116 
117  //!-------------------------------------------------------------------------
118  //! @brief Functional block inputs cyclic processing method.
119  //! @note None
120  //! @return None
121  //! \par Override
122  //! Not allowed
123  //! @attention None
124  //--------------------------------------------------------------------------
125 
126  virtual VOID Execute_Inputs();
127 
128  //!-------------------------------------------------------------------------
129  //! @brief Functional block core cyclic processing method.
130  //! @note None
131  //! @return None
132  //! \par Override
133  //! Not allowed
134  //! @attention None
135  //--------------------------------------------------------------------------
136 
137  virtual VOID Execute();
138 
139  //!-------------------------------------------------------------------------
140  //! @brief Functional block outputs cyclic processing method.
141  //! @note None
142  //! @return None
143  //! \par Override
144  //! Not allowed
145  //! @attention None
146  //--------------------------------------------------------------------------
147 
148  virtual VOID Execute_Outputs();
149 
150  //!-------------------------------------------------------------------------
151  //! @brief Send information about functional block over given protocol.
152  //! @note None
153  //! @param [in] *object_Protocol - Pointer to the protocol object
154  //! @return None
155  //! \par Override
156  //! Not allowed
157  //! @attention None
158  //--------------------------------------------------------------------------
159 
160  virtual VOID Send_Information( TProtocol_Base *object_Protocol );
161 
162  //--------------------------------------------------------------------------
163  // Block parameters
164  //--------------------------------------------------------------------------
165 
166  //! @brief Analog input channel fill scale value. Also used for channel total gain adjustment.
168 
169  //! @brief Analog input channel offset
171 
172  //! @brief Analog input channel offset
174 
175  //--------------------------------------------------------------------------
176  // Block inputs
177  //--------------------------------------------------------------------------
178 
179  //--------------------------------------------------------------------------
180  // Block outputs
181  //--------------------------------------------------------------------------
182 
183  //! @brief Analog input data block output connector
185 
186  //! @brief Critical hardware error flag
188 
189  //! @brief Hardware limit reached error flag
191 
192  //! @brief Software limit reached error flag
194 
195  //----------------------------------------------------------------------------
196  // Protected defines, methods and variables
197  //----------------------------------------------------------------------------
198 
199  protected:
200 
201  //----------------------------------------------------------------------------
202  // Private defines, methods and variables
203  //----------------------------------------------------------------------------
204 
205  private:
206 
207  typedef union
208  {
209  U16 u16_Status; //!< Status word as 16-bit unsigned value
210  struct
211  {
212  U16 bu16_ADC_Hardware_Fault:1; //!< Bit 0 - Invalid ADC data flag
213  U16 :1; //!< Bit 1 - Not used
214  U16 :1; //!< bu16_Comparator_Hardware_Fault:1; // Bit 2 -
215  U16 :1; //!< Bit 3 - Not used
216  U16 :1; //!< Bit 4 - Not used
217  U16 :1; //!< Bit 5 - Not used
218  U16 bu16_Sensor_Link_Fault:1; //!< Bit 6 - Sensor communication link fault
219  U16 bu16_Sensor_Fault:1; //!< Bit 7 - Sensor hardware hault
220  U16 bu16_Comparator_1_Status:1; //!< Bit 8 - Comparator status
221  U16 bu16_Comparator_2_Status:1; //!< Bit 9 - Comparator status
222  U16 :1; //!< Bit 10 - Not used
223  U16 :1; //!< Bit 11 - Not used
224  U16 :1; //!< Bit 12 - Not used
225  U16 :1; //!< Bit 13 - Not used
226  U16 :1; //!< Bit 14 - Not used
227  U16 bu16_Bitstream_Input_Status:1; //!< Bit 15 - Actual bitstream input status
228  };
229  } TStatus;
230 
231  //!< Positive rail voltage status word
233 
234  //!< Positive rail voltage control word
236 
237  //!< Negative rail voltage status word
239 
240  //!< Negative rail voltage control word
242 
243  //!< Positive rail voltage raw ADC data
245 
246  //!< Negative rail voltage raw ADC data
248 
249  //!< Effective offset of the positive voltage measurement channel
251 
252  //!< Effective gain of the positive voltage measurement channel
254 
255 };
256 
257 //------------------------------------------------------------------------------
258 
259 class TP017_43_KG3_DCB_T1 : public TFunctional_Block_Base
260 {
261 
262  //----------------------------------------------------------------------------
263  // Public defines, methods and variables
264  //----------------------------------------------------------------------------
265 
266  public:
267 
268  //--------------------------------------------------------------------------
269  // Public defines
270  //--------------------------------------------------------------------------
271 
272  // Register structure for generic access
273  typedef struct
274  {
275 
276  U16 u16_Unit_ID_L; //!< 0x00 : Module identification
277  U16 u16_Unit_ID_H; //!< 0x01 : Module identification
278 
279  U16 u16_Positive_Rail_Voltage_Status; //!< 0x02 : DC bus positive rail voltage status register
280  U16 u16_Positive_Rail_Voltage_Control; //!< 0x03 : DC bus positive rail voltage control register
281 
282  U16 u16_Reserved_0x04; //!< 0x04 : Reserved
283  U16 u16_Reserved_0x05; //!< 0x05 : Reserved
284  U16 u16_Reserved_0x06; //!< 0x06 : Reserved
285 
286  U16 u16_Positive_Rail_Voltage_Sensor_ID; //!< 0x07 : External sensor ID
287  I16 i16_Positive_Rail_Voltage_Data; //!< 0x08 : DC bus positive rail voltage data register as I16 value
288  I16 i16_Positive_Rail_Voltage_Latch_Data; //!< 0x09 : DC bus positive rail voltage latched data register as I16 value
289 
290  U16 u16_Positive_Rail_Voltage_General_Error_Count; //!< 0x0A : Positive voltage rail general error count
291  U16 u16_Positive_Rail_Voltage_Timeout_Error_Count; //!< 0x0B : Positive voltage rail timeout error count
292  U16 u16_Positive_Rail_Voltage_Sync_Error_Count; //!< 0x0C : Positive voltage rail sync error count
293  U16 u16_Positive_Rail_Voltage_Parity_Error_Count; //!< 0x0D : Positive voltage rail parity error count
294 
295  U16 u16_Negative_Rail_Voltage_Status; //!< 0x0E : DC bus negative rail voltage status register
296  U16 u16_Negative_Rail_Voltage_Control; //!< 0x0F : DC bus negative rail voltage control register
297 
298  U16 u16_Reserved_0x10; //!< 0x10 : Reserved
299  U16 u16_Reserved_0x11; //!< 0x11 : Reserved
300  U16 u16_Reserved_0x12; //!< 0x12 : Reserved
301 
302  U16 u16_Negative_Rail_Voltage_Sensor_ID; //!< 0x13 : External sensor ID
303  I16 i16_Negative_Rail_Voltage_Data; //!< 0x14 : DC bus negative rail voltage data register as I16 value
304  I16 i16_Negative_Rail_Voltage_Latch_Data; //!< 0x15 : DC bus negative rail voltage latched data register as I16 value
305 
306  U16 u16_Negative_Rail_Voltage_General_Error_Count; //!< 0x16 : Negative voltage rail general error count
307  U16 u16_Negative_Rail_Voltage_Timeout_Error_Count; //!< 0x17 : Negative voltage rail timeout error count
308  U16 u16_Negative_Rail_Voltage_Sync_Error_Count; //!< 0x18 : Negative voltage rail sync error count
309  U16 u16_Negative_Rail_Voltage_Parity_Error_Count; //!< 0x19 : Negative voltage rail parity error count
310 
312 
313  //--------------------------------------------------------------------------
314  // Public methods
315  //--------------------------------------------------------------------------
316 
317  //!-------------------------------------------------------------------------
318  //! @brief Class constructor method.
319  //! @note None
320  //! \par Override
321  //! Not allowed
322  //! @attention Don't call this method directly.
323  //--------------------------------------------------------------------------
324 
326 
327  //!-------------------------------------------------------------------------
328  //! @brief Class destructor method.
329  //! @note None
330  //! \par Override
331  //! Not allowed
332  //! @attention Don't call this method directly.
333  //--------------------------------------------------------------------------
334 
336 
337  //!-------------------------------------------------------------------------
338  //! @brief Map functional block to the hardware.
339  //! @note None
340  //! @param [in] *struct_Registers_Base_Address - Pointer to the base address
341  //! @return None
342  //! \par Override
343  //! Not allowed
344  //! @attention None
345  //--------------------------------------------------------------------------
346 
347  VOID Map( TP017_43_KG3_DCB_Registers *struct_Registers_Base_Address );
348 
349  //!-------------------------------------------------------------------------
350  //! @brief Functional block initialisation method.
351  //! @note None
352  //! @return None
353  //! \par Override
354  //! Not allowed
355  //! @attention None
356  //--------------------------------------------------------------------------
357 
358  virtual VOID Init();
359 
360  //!-------------------------------------------------------------------------
361  //! @brief Functional block inputs cyclic processing method.
362  //! @note None
363  //! @return None
364  //! \par Override
365  //! Not allowed
366  //! @attention None
367  //--------------------------------------------------------------------------
368 
369  virtual VOID Execute_Inputs();
370 
371  //!-------------------------------------------------------------------------
372  //! @brief Functional block core cyclic processing method.
373  //! @note None
374  //! @return None
375  //! \par Override
376  //! Not allowed
377  //! @attention None
378  //--------------------------------------------------------------------------
379 
380  virtual VOID Execute();
381 
382  //!-------------------------------------------------------------------------
383  //! @brief Functional block outputs cyclic processing method.
384  //! @note None
385  //! @return None
386  //! \par Override
387  //! Not allowed
388  //! @attention None
389  //--------------------------------------------------------------------------
390 
391  virtual VOID Execute_Outputs();
392 
393  //!-------------------------------------------------------------------------
394  //! @brief Send information about functional block over given protocol.
395  //! @note None
396  //! @param [in] *object_Protocol - Pointer to the protocol object
397  //! @return None
398  //! \par Override
399  //! Not allowed
400  //! @attention None
401  //--------------------------------------------------------------------------
402 
403  virtual VOID Send_Information( TProtocol_Base *object_Protocol );
404 
405  //--------------------------------------------------------------------------
406  // Block parameters
407  //--------------------------------------------------------------------------
408 
409  //!< Analog input channel fill scale value. Also used for channel total gain adjustment.
411 
412  //!< Analog input channel offset
414 
415  //!< Analog input channel offset
417 
418  //--------------------------------------------------------------------------
419  // Block inputs
420  //--------------------------------------------------------------------------
421 
422  //--------------------------------------------------------------------------
423  // Block outputs
424  //--------------------------------------------------------------------------
425 
426  //!< Analog input data block output connector
428 
429  //!< Critical hardware error flag
431 
432  //!< Hardware limit reached error flag
434 
435  // !< Software limit reached error flag
437 
438  //----------------------------------------------------------------------------
439  // Protected methods and variables
440  //----------------------------------------------------------------------------
441 
442  protected:
443 
444  //----------------------------------------------------------------------------
445  // Private methods and variables
446  //----------------------------------------------------------------------------
447 
448  private:
449 
450  typedef union
451  {
452  U16 u16_Status; //!< Status word as 16-bit unsigned value
453  struct
454  {
455  U16 bu16_ADC_Hardware_Fault:1; //!< Bit 0 - Invalid ADC data flag
456  U16 :1; //!< Bit 1 - Not used
457  U16 :1; //!< bu16_Comparator_Hardware_Fault:1; // Bit 2 -
458  U16 :1; //!< Bit 3 - Not used
459  U16 :1; //!< Bit 4 - Not used
460  U16 :1; //!< Bit 5 - Not used
461  U16 bu16_Sensor_Link_Fault:1; //!< Bit 6 - Sensor communication link fault
462  U16 bu16_Sensor_Fault:1; //!< Bit 7 - Sensor hardware hault
463  U16 bu16_Comparator_1_Status:1; //!< Bit 8 - Comparator status
464  U16 bu16_Comparator_2_Status:1; //!< Bit 9 - Comparator status
465  U16 :1; //!< Bit 10 - Not used
466  U16 :1; //!< Bit 11 - Not used
467  U16 :1; //!< Bit 12 - Not used
468  U16 :1; //!< Bit 13 - Not used
469  U16 :1; //!< Bit 14 - Not used
470  U16 bu16_Bitstream_Input_Status:1; //!< Bit 15 - Actual bitstream input status
471  };
472  } TStatus;
473 
474  //!< Pointer to register area in FPGA
476 
477  //!< Positive rail voltage status word
479 
480  //!< Positive rail voltage control word
482 
483  //!< Negative rail voltage status word
485 
486  //!< Negative rail voltage control word
488 
489  //!< Positive rail voltage raw ADC data
491 
492  //!< Negative rail voltage raw ADC data
494 
495  //!< Effective offset of the voltage measurement channel
497 
498  //!< Effective gain of the voltage measurement channel
500 
501 };
502 
503 //------------------------------------------------------------------------------
504 // End of file
505 //------------------------------------------------------------------------------
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
float F32
IEEE-754 32-Bit single presession floating point numbers datatype defenition.
Definition: Defines.h:324
short I16
2s Compliment 16-Bit signed integer datatype defenition
Definition: Defines.h:196
unsigned short U16
Binary 16-Bit unsigned integer datatype defenition.
Definition: Defines.h:193
Function block input connector class.
Definition: Block_Input_Connector.h:83
Function block output connector class.
Definition: Block_Output_Connector.h:59
DC bus interface board KG3 DCB1 T0 (P017.43) emulation class.
Definition: P017_43_KG3_DCB.h:74
F32 f32_Positive_Rail_Voltage_Gain
Definition: P017_43_KG3_DCB.h:253
TP017_43_KG3_DCB_T0()
Class constructor method.
Definition: P017_43_KG3_DCB.cpp:66
I16 i16_Positive_Rail_Voltage_Data
Negative rail voltage raw ADC data.
Definition: P017_43_KG3_DCB.h:244
virtual VOID Execute()
Functional block core cyclic processing method.
Definition: P017_43_KG3_DCB.cpp:177
U16 u16_Negative_Rail_Voltage_Status
Negative rail voltage control word.
Definition: P017_43_KG3_DCB.h:238
U16 u16_Negative_Rail_Voltage_Control
Positive rail voltage raw ADC data.
Definition: P017_43_KG3_DCB.h:241
TBlock_Input_Connector object_f32_Analog_Input_Gain
Analog input channel offset.
Definition: P017_43_KG3_DCB.h:173
virtual VOID Execute_Inputs()
Functional block inputs cyclic processing method.
Definition: P017_43_KG3_DCB.cpp:148
TBlock_Output_Connector object_f32_Analog_Input_Data
Analog input data block output connector.
Definition: P017_43_KG3_DCB.h:184
I16 i16_Negative_Rail_Voltage_Data
Effective offset of the positive voltage measurement channel.
Definition: P017_43_KG3_DCB.h:247
F32 f32_Positive_Rail_Voltage_Offset
Effective gain of the positive voltage measurement channel.
Definition: P017_43_KG3_DCB.h:250
U16 u16_Positive_Rail_Voltage_Control
Negative rail voltage status word.
Definition: P017_43_KG3_DCB.h:235
virtual VOID Init()
Functional block initialisation method.
Definition: P017_43_KG3_DCB.cpp:132
TBlock_Input_Connector object_f32_Analog_Input_Full_Scale
Analog input channel fill scale value. Also used for channel total gain adjustment.
Definition: P017_43_KG3_DCB.h:167
TBlock_Input_Connector object_f32_Analog_Input_Offset
Analog input channel offset.
Definition: P017_43_KG3_DCB.h:170
TBlock_Output_Connector object_bool_Software_Limit_Error
Software limit reached error flag.
Definition: P017_43_KG3_DCB.h:193
~TP017_43_KG3_DCB_T0()
Class destructor method.
Definition: P017_43_KG3_DCB.cpp:124
U16 u16_Positive_Rail_Voltage_Status
Positive rail voltage control word.
Definition: P017_43_KG3_DCB.h:232
TBlock_Output_Connector object_bool_Hardware_Error
Critical hardware error flag.
Definition: P017_43_KG3_DCB.h:187
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send information about functional block over given protocol.
Definition: P017_43_KG3_DCB.cpp:226
virtual VOID Execute_Outputs()
Functional block outputs cyclic processing method.
Definition: P017_43_KG3_DCB.cpp:192
TBlock_Output_Connector object_bool_Hardware_Limit_Error
Hardware limit reached error flag.
Definition: P017_43_KG3_DCB.h:190
Definition: P017_43_KG3_DCB.h:260
virtual VOID Init()
Functional block initialisation method.
Definition: P017_43_KG3_DCB.cpp:390
~TP017_43_KG3_DCB_T1()
Class destructor method.
Definition: P017_43_KG3_DCB.cpp:370
TBlock_Output_Connector object_f32_Analog_Input_Data
< Analog input data block output connector
Definition: P017_43_KG3_DCB.h:427
U16 u16_Positive_Rail_Voltage_Control
Negative rail voltage status word.
Definition: P017_43_KG3_DCB.h:481
TP017_43_KG3_DCB_T1()
Class constructor method.
Definition: P017_43_KG3_DCB.cpp:309
U16 u16_Negative_Rail_Voltage_Control
Positive rail voltage raw ADC data.
Definition: P017_43_KG3_DCB.h:487
TBlock_Input_Connector object_f32_Analog_Input_Full_Scale
< Analog input channel fill scale value. Also used for channel total gain adjustment.
Definition: P017_43_KG3_DCB.h:410
TBlock_Output_Connector object_bool_Software_Limit_Error
Definition: P017_43_KG3_DCB.h:436
VOID Map(TP017_43_KG3_DCB_Registers *struct_Registers_Base_Address)
Map functional block to the hardware.
Definition: P017_43_KG3_DCB.cpp:378
I16 i16_Negative_Rail_Voltage_Data
Effective offset of the voltage measurement channel.
Definition: P017_43_KG3_DCB.h:493
virtual VOID Execute_Outputs()
Functional block outputs cyclic processing method.
Definition: P017_43_KG3_DCB.cpp:443
TBlock_Output_Connector object_bool_Hardware_Error
Hardware limit reached error flag.
Definition: P017_43_KG3_DCB.h:430
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send information about functional block over given protocol.
Definition: P017_43_KG3_DCB.cpp:477
I16 i16_Positive_Rail_Voltage_Data
Negative rail voltage raw ADC data.
Definition: P017_43_KG3_DCB.h:490
TBlock_Input_Connector object_f32_Analog_Input_Gain
Definition: P017_43_KG3_DCB.h:416
F32 f32_Positive_Rail_Voltage_Gain
Definition: P017_43_KG3_DCB.h:499
virtual VOID Execute()
Functional block core cyclic processing method.
Definition: P017_43_KG3_DCB.cpp:435
TBlock_Input_Connector object_f32_Analog_Input_Offset
Analog input channel offset.
Definition: P017_43_KG3_DCB.h:413
virtual VOID Execute_Inputs()
Functional block inputs cyclic processing method.
Definition: P017_43_KG3_DCB.cpp:406
F32 f32_Positive_Rail_Voltage_Offset
Effective gain of the voltage measurement channel.
Definition: P017_43_KG3_DCB.h:496
U16 u16_Positive_Rail_Voltage_Status
Positive rail voltage control word.
Definition: P017_43_KG3_DCB.h:478
TBlock_Output_Connector object_bool_Hardware_Limit_Error
Definition: P017_43_KG3_DCB.h:433
volatile TP017_43_KG3_DCB_Registers * struct_Registers
Positive rail voltage status word.
Definition: P017_43_KG3_DCB.h:475
U16 u16_Negative_Rail_Voltage_Status
Negative rail voltage control word.
Definition: P017_43_KG3_DCB.h:484
Definition: Protocol_Base.h:57
Definition: P017_43_KG3_DCB.h:274
U16 u16_Positive_Rail_Voltage_Status
0x02 : DC bus positive rail voltage status register
Definition: P017_43_KG3_DCB.h:279
U16 u16_Negative_Rail_Voltage_Timeout_Error_Count
0x17 : Negative voltage rail timeout error count
Definition: P017_43_KG3_DCB.h:307
U16 u16_Unit_ID_H
0x01 : Module identification
Definition: P017_43_KG3_DCB.h:277
U16 u16_Negative_Rail_Voltage_Status
0x0E : DC bus negative rail voltage status register
Definition: P017_43_KG3_DCB.h:295
I16 i16_Positive_Rail_Voltage_Latch_Data
0x09 : DC bus positive rail voltage latched data register as I16 value
Definition: P017_43_KG3_DCB.h:288
U16 u16_Positive_Rail_Voltage_General_Error_Count
0x0A : Positive voltage rail general error count
Definition: P017_43_KG3_DCB.h:290
U16 u16_Reserved_0x12
0x12 : Reserved
Definition: P017_43_KG3_DCB.h:300
U16 u16_Reserved_0x10
0x10 : Reserved
Definition: P017_43_KG3_DCB.h:298
U16 u16_Negative_Rail_Voltage_Control
0x0F : DC bus negative rail voltage control register
Definition: P017_43_KG3_DCB.h:296
U16 u16_Negative_Rail_Voltage_Parity_Error_Count
0x19 : Negative voltage rail parity error count
Definition: P017_43_KG3_DCB.h:309
U16 u16_Negative_Rail_Voltage_General_Error_Count
0x16 : Negative voltage rail general error count
Definition: P017_43_KG3_DCB.h:306
U16 u16_Positive_Rail_Voltage_Control
0x03 : DC bus positive rail voltage control register
Definition: P017_43_KG3_DCB.h:280
I16 i16_Negative_Rail_Voltage_Latch_Data
0x15 : DC bus negative rail voltage latched data register as I16 value
Definition: P017_43_KG3_DCB.h:304
U16 u16_Reserved_0x11
0x11 : Reserved
Definition: P017_43_KG3_DCB.h:299
U16 u16_Reserved_0x06
0x06 : Reserved
Definition: P017_43_KG3_DCB.h:284
U16 u16_Reserved_0x05
0x05 : Reserved
Definition: P017_43_KG3_DCB.h:283
U16 u16_Reserved_0x04
0x04 : Reserved
Definition: P017_43_KG3_DCB.h:282
U16 u16_Positive_Rail_Voltage_Sync_Error_Count
0x0C : Positive voltage rail sync error count
Definition: P017_43_KG3_DCB.h:292
I16 i16_Positive_Rail_Voltage_Data
0x08 : DC bus positive rail voltage data register as I16 value
Definition: P017_43_KG3_DCB.h:287
U16 u16_Unit_ID_L
0x00 : Module identification
Definition: P017_43_KG3_DCB.h:276
U16 u16_Positive_Rail_Voltage_Timeout_Error_Count
0x0B : Positive voltage rail timeout error count
Definition: P017_43_KG3_DCB.h:291
U16 u16_Negative_Rail_Voltage_Sensor_ID
0x13 : External sensor ID
Definition: P017_43_KG3_DCB.h:302
I16 i16_Negative_Rail_Voltage_Data
0x14 : DC bus negative rail voltage data register as I16 value
Definition: P017_43_KG3_DCB.h:303
U16 u16_Negative_Rail_Voltage_Sync_Error_Count
0x18 : Negative voltage rail sync error count
Definition: P017_43_KG3_DCB.h:308
U16 u16_Positive_Rail_Voltage_Parity_Error_Count
0x0D : Positive voltage rail parity error count
Definition: P017_43_KG3_DCB.h:293
U16 u16_Positive_Rail_Voltage_Sensor_ID
0x07 : External sensor ID
Definition: P017_43_KG3_DCB.h:286
U16 bu16_ADC_Hardware_Fault
Bit 0 - Invalid ADC data flag.
Definition: P017_43_KG3_DCB.h:212
U16 bu16_Bitstream_Input_Status
Bit 15 - Actual bitstream input status.
Definition: P017_43_KG3_DCB.h:227
U16 bu16_Sensor_Fault
Bit 7 - Sensor hardware hault.
Definition: P017_43_KG3_DCB.h:219
U16 bu16_Comparator_1_Status
Bit 8 - Comparator status.
Definition: P017_43_KG3_DCB.h:220
U16 bu16_Sensor_Link_Fault
Bit 6 - Sensor communication link fault.
Definition: P017_43_KG3_DCB.h:218
U16 bu16_Comparator_2_Status
Bit 9 - Comparator status.
Definition: P017_43_KG3_DCB.h:221
U16 u16_Status
Status word as 16-bit unsigned value.
Definition: P017_43_KG3_DCB.h:209
U16 bu16_Sensor_Fault
Bit 7 - Sensor hardware hault.
Definition: P017_43_KG3_DCB.h:462
U16 bu16_ADC_Hardware_Fault
Bit 0 - Invalid ADC data flag.
Definition: P017_43_KG3_DCB.h:455
U16 bu16_Comparator_1_Status
Bit 8 - Comparator status.
Definition: P017_43_KG3_DCB.h:463
U16 u16_Status
Status word as 16-bit unsigned value.
Definition: P017_43_KG3_DCB.h:452
U16 bu16_Sensor_Link_Fault
Bit 6 - Sensor communication link fault.
Definition: P017_43_KG3_DCB.h:461
U16 bu16_Comparator_2_Status
Bit 9 - Comparator status.
Definition: P017_43_KG3_DCB.h:464
U16 bu16_Bitstream_Input_Status
Bit 15 - Actual bitstream input status.
Definition: P017_43_KG3_DCB.h:470