void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
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 base class header file.
Function block base class for device.
Definition: Function_Block_Base.h:96
Function block class declaration.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:71
volatile TP021_12_KG3_Electrical_Model_Emulator_registers * struct_Registers
Pointer to the memory area in FPGA address space.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:426
~TP021_12_KG3_Electrical_Model_Emulator()
Function block class desstructor method.
Definition: P021_12_KG3_Electrical_Model_Emulator.cpp:101
virtual VOID Execute()
Function block execution method.
Definition: P021_12_KG3_Electrical_Model_Emulator.cpp:138
virtual VOID Init()
Function block initialisation method.
Definition: P021_12_KG3_Electrical_Model_Emulator.cpp:125
VOID Map(TP021_12_KG3_Electrical_Model_Emulator_registers *struct_Registers_Base_Address)
Hardware mapping method.
Definition: P021_12_KG3_Electrical_Model_Emulator.cpp:109
TP021_12_KG3_Electrical_Model_Emulator()
Function block class constructor method.
Definition: P021_12_KG3_Electrical_Model_Emulator.cpp:66
Register structure for generic access.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:81
I16 i16_Phase_A_Grid_Side_Inverter_Current_Raw_Data_Register
0x10 : Grid side inverter A phase current raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:132
I16 i16_Phase_B_Rotor_Side_Inverter_Current_Raw_Data_Register
0x14 : Rotor side inverter B phase current raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:144
I16 i16_Phase_C_Stator_Voltage_Raw_Data_Register
0x0C : Stator C phase voltage raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:120
I16 i16_Phase_A_Grid_Current_Raw_Data_Register
0x0D : Grid A phase current raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:123
U16 u16_Control_Register
0x02 : Control register
Definition: P021_12_KG3_Electrical_Model_Emulator.h:90
I16 i16_Phase_A_Stator_Voltage_Raw_Data_Register
0x0A : Stator A phase voltage raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:114
I16 i16_Phase_B_Grid_Voltage_Raw_Data_Register
0x05 : Grid B phase voltage raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:99
I16 i16_Phase_C_Grid_Side_Inverter_Voltage_Raw_Data_Register
0x09 : Grid side inverter C phase voltage raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:111
U16 u16_Unit_ID_L
0x00 : Module identification register
Definition: P021_12_KG3_Electrical_Model_Emulator.h:84
I16 i16_Phase_A_Rotor_Side_Inverter_Current_Raw_Data_Register
0x13 : Rotor side inverter A phase current raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:141
I16 i16_Smoothing_Capacitor_Voltage_Raw_Data_Register
0x16 : Smoothing capacitor voltage raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:150
U16 u16_Status_Register
0x03 : Status register
Definition: P021_12_KG3_Electrical_Model_Emulator.h:93
U16 u16_Encoder_Raw_Data_Register
0x17
Definition: P021_12_KG3_Electrical_Model_Emulator.h:153
I16 i16_Phase_A_Grid_Voltage_Raw_Data_Register
0x04 : Grid A phase voltage raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:96
I16 i16_Phase_C_Grid_Voltage_Raw_Data_Register
0x06 : Grid C phase voltage raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:102
I16 i16_Phase_B_Grid_Side_Inverter_Current_Raw_Data_Register
0x11 : Grid side inverter B phase current raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:135
U16 u16_Unit_ID_H
0x01 : Module identification register
Definition: P021_12_KG3_Electrical_Model_Emulator.h:87
I16 i16_Phase_A_Grid_Side_Inverter_Voltage_Raw_Data_Register
0x07 : Grid side inverter A phase voltage raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:105
I16 i16_Phase_B_Stator_Voltage_Raw_Data_Register
0x0B : Stator B phase voltage raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:117
I16 i16_Phase_C_Grid_Current_Raw_Data_Register
0x0F : Grid C phase current raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:129
I16 i16_Phase_B_Grid_Current_Raw_Data_Register
0x0E : Grid B phase current raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:126
I16 i16_Phase_C_Grid_Side_Inverter_Current_Raw_Data_Register
0x12 : Grid side inverter C phase current raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:138
I16 i16_Phase_B_Grid_Side_Inverter_Voltage_Raw_Data_Register
0x08 : Grid side inverter B phase voltage raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:108
I16 i16_Phase_C_Rotor_Side_Inverter_Current_Raw_Data_Register
0x15 : Rotor side inverter C phase current raw data register address
Definition: P021_12_KG3_Electrical_Model_Emulator.h:147
U16 bool_PWM_GSI_1_Control
Bit 0, First GSI transistor PWM control.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:310
U16 u16_Raw_Data
Raw data.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:303
U16 bool_PWM_RSI_6_Control
Bit 11, Sixth RSI transistor PWM control.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:343
U16 bool_PWM_RSI_3_Control
Bit 8, Third RSI transistor PWM control.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:334
U16 bool_GSI_CB_Control
Bit 13, Grid side inverter circuit breaker control.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:349
U16 bool_PWM_RSI_2_Control
Bit 7, Second RSI transistor PWM control.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:331
U16 bool_PWM_GSI_6_Control
Bit 5, Sixth GSI transistor PWM control.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:325
U16 bool_PWM_GSI_5_Control
Bit 4, Fifth GSI transistor PWM control.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:322
U16 bool_PWM_RSI_4_Control
Bit 9, Fourth RSI transistor PWM control.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:337
U16 bool_PWM_RSI_5_Control
Bit 10, Fifth RSI transistor PWM control.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:340
U16 bool_Second_Ballast_Control
Definition: P021_12_KG3_Electrical_Model_Emulator.h:355
U16 bool_PWM_GSI_4_Control
Bit 3, Fourth GSI transistor PWM control.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:319
U16 bool_Grid_CB_Control
Bit 12, Grid circuit breaker control.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:346
U16 bool_PWM_RSI_1_Control
Bit 6, First RSI transistor PWM control.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:328
U16 bool_PWM_GSI_2_Control
Bit 1, Second GSI transistor PWM control.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:313
U16 bool_PWM_GSI_3_Control
Bit 2, Third GSI transistor PWM control.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:316
U16 bool_First_Ballast_Control
Definition: P021_12_KG3_Electrical_Model_Emulator.h:352
U16 bool_Grid_CB_Status
Bit 12, Grid circuit breaker status.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:410
U16 bool_PWM_GSI_2_Status
Bit 1, Second GSI transistor PWM status.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:377
U16 bool_PWM_RSI_4_Status
Bit 9, Fourth RSI transistor PWM status.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:401
U16 bool_PWM_GSI_1_Status
Bit 0, First GSI transistor PWM status.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:374
U16 bool_GSI_CB_Status
Bit 13, Grid side inverter circuit breaker status.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:413
U16 bool_PWM_RSI_3_Status
Bit 8, Third RSI transistor PWM status.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:398
U16 bool_PWM_GSI_3_Status
Bit 2, Third GSI transistor PWM status.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:380
U16 bool_PWM_GSI_5_Status
Bit 4, Fifth GSI transistor PWM status.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:386
U16 bool_PWM_GSI_4_Status
Bit 3, Fourth GSI transistor PWM status.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:383
U16 u16_Raw_Data
Raw data.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:367
U16 bool_First_Ballast_Status
Definition: P021_12_KG3_Electrical_Model_Emulator.h:416
U16 bool_PWM_RSI_5_Status
Bit 10, Fifth RSI transistor PWM status.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:404
U16 bool_Second_Ballast_Status
Definition: P021_12_KG3_Electrical_Model_Emulator.h:419
U16 bool_PWM_GSI_6_Status
Bit 5, Sixth GSI transistor PWM status.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:389
U16 bool_PWM_RSI_1_Status
Bit 6, First RSI transistor PWM status.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:392
U16 bool_PWM_RSI_6_Status
Bit 11, Sixth RSI transistor PWM status.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:407
U16 bool_PWM_RSI_2_Status
Bit 7, Second RSI transistor PWM status.
Definition: P021_12_KG3_Electrical_Model_Emulator.h:395