56 #include "Application_Resource_Configuration.h"
198 #ifdef FUNCTIONAL_BLOCK_CREATE_DIAGNOSE_OUTPUTS
202 F32 f32_Inverter_Phase_L1_Time;
203 F32 f32_Inverter_Phase_L2_Time;
204 F32 f32_Inverter_Phase_L3_Time;
206 F32 f32_Inverter_Minimum_Time;
207 F32 f32_Inverter_Maximum_Time;
209 F32 f32_Inverter_Offset;
211 I32 i32_Inverter_Phase_L1_Setpoint;
212 I32 i32_Inverter_Phase_L2_Setpoint;
213 I32 i32_Inverter_Phase_L3_Setpoint;
long I32
2s Compliment 32-Bit signed integer datatype defenition
Definition: Defines.h:206
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 base class header file.
Function block output connector class.
Definition: Block_Output_Connector.h:59
Function block base class for device.
Definition: Function_Block_Base.h:96
Single channel 3-phase 2-level pulse width modulator object class.
Definition: PWM_1C3P2L.h:77
TBlock_Input_Connector object_f32_Inverter_Phase_L2_Voltage
Definition: PWM_1C3P2L.h:185
virtual VOID Init()
Function block initialisation method.
Definition: PWM_1C3P2L.cpp:133
TBlock_Output_Connector object_f32_Sample_Time
Definition: PWM_1C3P2L.h:192
virtual ~TPWM_1C3P2L()
Class destructor method.
Definition: PWM_1C3P2L.cpp:113
U16 u16_Inverter_1_Deadtime
Inverter 1 deadtime in FPGA clock counts.
Definition: PWM_1C3P2L.h:247
U16 u16_Half_Periode
[Counts] Half periode in counts
Definition: PWM_1C3P2L.h:241
virtual VOID Execute()
Function block execution method.
Definition: PWM_1C3P2L.cpp:176
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send information about Function block over communication link protocol.
Definition: PWM_1C3P2L.cpp:311
U16 u16_Quarter_Periode
[Counts] Quarter periode
Definition: PWM_1C3P2L.h:244
TPWM_1C3P2L_Registers * struct_Registers
FPGA mapped registers.
Definition: PWM_1C3P2L.h:232
TBlock_Input_Connector object_f32_DC_Bus_Voltage
Definition: PWM_1C3P2L.h:188
VOID Map(TPWM_1C3P2L_Registers *struct_Registers_Base_Address)
Hardware mapping method.
Definition: PWM_1C3P2L.cpp:121
TBlock_Input_Connector object_f32_Inverter_Phase_L1_Voltage
Definition: PWM_1C3P2L.h:184
TBlock_Input_Connector object_f32_Switching_Frequency
Definition: PWM_1C3P2L.h:178
U16 u16_Periode
[Counts] Periode in counts
Definition: PWM_1C3P2L.h:238
TBlock_Input_Connector object_f32_Inverter_Phase_L3_Voltage
Definition: PWM_1C3P2L.h:186
TBlock_Input_Connector object_bool_Enable_Inverter
Definition: PWM_1C3P2L.h:182
TPWM_1C3P2L()
Constructor.
Definition: PWM_1C3P2L.cpp:68
F32 f32_Clock_Frequency
[Hz] FPGA system clock
Definition: PWM_1C3P2L.h:235
Definition: Protocol_Base.h:57
Definition: PWM_1C3P2L.h:87
U16 u16_Reserve_F
Offset 0x0F, Not used.
Definition: PWM_1C3P2L.h:117
U16 u16_Reserve_3
Offset 0x03, Not used.
Definition: PWM_1C3P2L.h:99
I16 i16_Setpoint_Inverter_L3
Offset 0x06, Set point of the inverter 1 leg 3.
Definition: PWM_1C3P2L.h:104
U16 u16_Reserve_A
Offset 0x0A, Not used.
Definition: PWM_1C3P2L.h:110
U16 u16_Reserve_8
Offset 0x08, Not used.
Definition: PWM_1C3P2L.h:108
U16 u16_Half_Periode
Offset 0x01, Half PWM periode register.
Definition: PWM_1C3P2L.h:97
I16 i16_Setpoint_Inverter_L1
Offset 0x04, Set point of the inverter 1 leg 1.
Definition: PWM_1C3P2L.h:102
U16 u16_Dead_Time_Inverter
Offset 0x02, Dead time register of the inverter 1.
Definition: PWM_1C3P2L.h:98
U16 u16_Reserve_7
Offset 0x07, Not used.
Definition: PWM_1C3P2L.h:105
U16 u16_Control
Offset 0x00, Twin PWM module control register.
Definition: PWM_1C3P2L.h:92
U16 u16_Reserve_C
Offset 0x0C, Not used.
Definition: PWM_1C3P2L.h:114
U16 u16_Reserve_9
Offset 0x09, Not used.
Definition: PWM_1C3P2L.h:109
I16 i16_Setpoint_Inverter_L2
Offset 0x05, Set point of the inverter 1 leg 2.
Definition: PWM_1C3P2L.h:103
U16 u16_Reserve_D
Offset 0x0D, Not used.
Definition: PWM_1C3P2L.h:115
U16 u16_Reserve_E
Offset 0x0E, Not used.
Definition: PWM_1C3P2L.h:116
U16 u16_Status
Offset 0x00, Twin PWM module status register.
Definition: PWM_1C3P2L.h:93
U16 u16_Reserve_B
Offset 0x0B, Not used.
Definition: PWM_1C3P2L.h:111