58 #include "Functional_Block_Base.h"
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 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