54 #include "Functional_Block_Base.h"
int BOOL
Boolean datatype definition.
Definition: Defines.h:124
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
unsigned long U32
Binary 32-Bit unsigned integer datatype defenition.
Definition: Defines.h:203
float F32
IEEE-754 32-Bit single presession floating point numbers datatype defenition.
Definition: Defines.h:324
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
KG2 RTD P013.49 V1.0 board class.
Definition: P013_49_V1_0_RTD.h:62
F32 f32_RTD_Temperature_3
Definition: P013_49_V1_0_RTD.h:198
U32 bool_RTD_Hardware_Fault_Channel_2
Definition: P013_49_V1_0_RTD.h:132
U32 u32_RTD_Hardware_Error_Count_2
Definition: P013_49_V1_0_RTD.h:187
U32 bool_FPGA_Timeout_Fault_Channel_2
Definition: P013_49_V1_0_RTD.h:131
TBlock_Output_Connector object_f32_Temperature_Channel_2
Definition: P013_49_V1_0_RTD.h:120
TBlock_Input_Connector object_f32_Temperature_Offset_Channel_2
Definition: P013_49_V1_0_RTD.h:108
U32 bool_RTD_Hardware_Fault_Channel_3
Definition: P013_49_V1_0_RTD.h:134
TBlock_Input_Connector object_f32_Temperature_Gain_Channel_2
Definition: P013_49_V1_0_RTD.h:103
TBlock_Output_Connector object_f32_Temperature_Channel_3
Definition: P013_49_V1_0_RTD.h:121
virtual VOID Execute()
Functional block execution method.
Definition: P013_49_V1_0_RTD.cpp:418
U32 u32_RTD_Temperature_Read_Count_3
Definition: P013_49_V1_0_RTD.h:178
TBlock_Input_Connector object_f32_Temperature_Gain_Channel_1
Definition: P013_49_V1_0_RTD.h:102
VOID Map(TP013_49_V1_0_RTD_Registers *struct_Registers_Base_Address)
RTD board P013.49 V1.0 memory mapping.
Definition: P013_49_V1_0_RTD.cpp:359
U32 u32_RTD_Hardware_Error_Count_1
Definition: P013_49_V1_0_RTD.h:186
U32 bool_FPGA_Timeout_Fault_Channel_1
Definition: P013_49_V1_0_RTD.h:129
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send information method.
Definition: P013_49_V1_0_RTD.cpp:1325
BOOL Configure_Channel(U16 u16_Command, U16 u16_Data)
RTD chip configuration method.
Definition: P013_49_V1_0_RTD.cpp:597
BOOL Get_Temperature_Channel_3()
Definition: P013_49_V1_0_RTD.cpp:977
U32 bool_FPGA_Timeout_Fault_Channel_4
Definition: P013_49_V1_0_RTD.h:135
TBlock_Output_Connector object_f32_Temperature_Channel_4
Definition: P013_49_V1_0_RTD.h:122
volatile TP013_49_V1_0_RTD_Registers * struct_Registers
FPGA memory mapped registers.
Definition: P013_49_V1_0_RTD.h:171
TP013_49_V1_0_RTD()
Constructor method.
Definition: P013_49_V1_0_RTD.cpp:246
BOOL Get_Temperature_Channel_2()
Definition: P013_49_V1_0_RTD.cpp:817
F32 Calculate_Resistance(U16 u16_ADC_Value)
Calculate resistance from ADC value.
Definition: P013_49_V1_0_RTD.cpp:1307
struct TP013_49_V1_0_RTD::@141::@145 u32_Status_Bits
TBlock_Input_Connector object_f32_Temperature_Gain_Channel_3
Definition: P013_49_V1_0_RTD.h:104
TBlock_Input_Connector object_f32_Temperature_Offset_Channel_4
Definition: P013_49_V1_0_RTD.h:110
TBlock_Input_Connector object_f32_Temperature_Gain_Channel_4
Definition: P013_49_V1_0_RTD.h:105
U32 u32_RTD_Temperature_Read_Count_2
Definition: P013_49_V1_0_RTD.h:177
U32 u32_Status
Definition: P013_49_V1_0_RTD.h:126
U32 u32_RTD_Temperature_Read_Success_Count_4
Definition: P013_49_V1_0_RTD.h:184
U16 u16_RTD_Status_1
Definition: P013_49_V1_0_RTD.h:191
U32 u32_RTD_Hardware_Error_Count_3
Definition: P013_49_V1_0_RTD.h:188
U32 bool_RTD_Hardware_Fault_Channel_4
Definition: P013_49_V1_0_RTD.h:136
BOOL RTD_Wait()
Wait for RTD ready.
Definition: P013_49_V1_0_RTD.cpp:433
U32 u32_RTD_Hardware_Error_Count_4
Definition: P013_49_V1_0_RTD.h:189
U32 u32_RTD_Temperature_Read_Count_1
Definition: P013_49_V1_0_RTD.h:176
virtual VOID Init()
Functional block initialisation method.
Definition: P013_49_V1_0_RTD.cpp:373
U32 u32_RTD_Temperature_Read_Count_4
Definition: P013_49_V1_0_RTD.h:179
F32 f32_RTD_Temperature_4
Definition: P013_49_V1_0_RTD.h:199
U16 u16_RTD_Status_4
Definition: P013_49_V1_0_RTD.h:194
TBlock_Output_Connector object_u16_RTD_Raw_Data_Channel_1
Definition: P013_49_V1_0_RTD.h:114
TBlock_Output_Connector object_u16_RTD_Raw_Data_Channel_2
Definition: P013_49_V1_0_RTD.h:115
TBlock_Output_Connector object_u16_RTD_Raw_Data_Channel_3
Definition: P013_49_V1_0_RTD.h:116
U16 u16_RTD_Status_3
Definition: P013_49_V1_0_RTD.h:193
volatile U32 u32_Dummy_Counter
Definition: P013_49_V1_0_RTD.h:201
U32 u32_RTD_Temperature_Read_Success_Count_3
Definition: P013_49_V1_0_RTD.h:183
BOOL RTD_Write(U16 u16_Command, U16 u16_Data)
Write register value.
Definition: P013_49_V1_0_RTD.cpp:555
~TP013_49_V1_0_RTD()
Destructor method.
Definition: P013_49_V1_0_RTD.cpp:348
BOOL Get_Temperature_Channel_4()
Definition: P013_49_V1_0_RTD.cpp:1137
U32 u32_RTD_Timeout_Error_Count
Definition: P013_49_V1_0_RTD.h:174
U16 u16_RTD_Status_2
Definition: P013_49_V1_0_RTD.h:192
BOOL RTD_Read(U16 u16_Command, U16 *u16_Data)
Read register value.
Definition: P013_49_V1_0_RTD.cpp:489
U32 u32_RTD_Temperature_Read_Success_Count_1
Definition: P013_49_V1_0_RTD.h:181
F32 f32_RTD_Temperature_1
Definition: P013_49_V1_0_RTD.h:196
BOOL Get_Temperature_Channel_1()
Definition: P013_49_V1_0_RTD.cpp:636
TBlock_Input_Connector object_f32_Temperature_Offset_Channel_3
Definition: P013_49_V1_0_RTD.h:109
TBlock_Input_Connector object_f32_Temperature_Offset_Channel_1
Definition: P013_49_V1_0_RTD.h:107
F32 f32_RTD_Temperature_2
Definition: P013_49_V1_0_RTD.h:197
TBlock_Output_Connector object_u16_RTD_Raw_Data_Channel_4
Definition: P013_49_V1_0_RTD.h:117
TBlock_Output_Connector object_f32_Temperature_Channel_1
Definition: P013_49_V1_0_RTD.h:119
U32 bool_RTD_Hardware_Fault_Channel_1
Definition: P013_49_V1_0_RTD.h:130
U32 u32_RTD_Temperature_Read_Success_Count_2
Definition: P013_49_V1_0_RTD.h:182
U32 bool_FPGA_Timeout_Fault_Channel_3
Definition: P013_49_V1_0_RTD.h:133
Definition: Protocol_Base.h:57
Definition: P013_49_V1_0_RTD.h:76
U16 u16_RTD_Data
Data register.
Definition: P013_49_V1_0_RTD.h:88
U16 u16_RTD_Status
Status register.
Definition: P013_49_V1_0_RTD.h:85
U16 u16_RTD_Control
Control register.
Definition: P013_49_V1_0_RTD.h:84