56 #include "Application_Resource_Configuration.h"
200 #ifdef FUNCTIONAL_BLOCK_CREATE_DIAGNOSE_OUTPUTS
204 F32 f32_Inverter_Phase_L1_Time;
205 F32 f32_Inverter_Phase_L2_Time;
207 F32 f32_Inverter_Minimum_Time;
208 F32 f32_Inverter_Maximum_Time;
210 F32 f32_Inverter_Offset;
212 I32 i32_Inverter_Phase_L1_Setpoint;
213 I32 i32_Inverter_Phase_L2_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 2-phase 2-level pulse width modulator object class.
Definition: PWM_1C2P2L.h:80
TBlock_Input_Connector object_bool_Enable_Inverter
Definition: PWM_1C2P2L.h:185
TBlock_Output_Connector object_f32_Sample_Time
Definition: PWM_1C2P2L.h:194
TBlock_Input_Connector object_f32_Inverter_Phase_L2_Voltage
Definition: PWM_1C2P2L.h:188
U16 u16_Inverter_Deadtime
Inverter deadtime in FPGA clock counts.
Definition: PWM_1C2P2L.h:238
virtual VOID Init()
Function block initialisation method.
Definition: PWM_1C2P2L.cpp:141
VOID Map(TPWM_1C2P2L_Registers *struct_Registers_Base_Address)
Hardware mapping method.
Definition: PWM_1C2P2L.cpp:129
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send information about Function block over communication link protocol.
Definition: PWM_1C2P2L.cpp:306
TPWM_1C2P2L()
Constructor method.
Definition: PWM_1C2P2L.cpp:68
TBlock_Input_Connector object_f32_DC_Bus_Voltage
Definition: PWM_1C2P2L.h:190
virtual VOID Execute()
Function block execution method.
Definition: PWM_1C2P2L.cpp:181
TBlock_Input_Connector object_f32_Inverter_Phase_L1_Voltage
Definition: PWM_1C2P2L.h:187
U16 u16_Periode
[Counts] Periode in counts
Definition: PWM_1C2P2L.h:234
U16 u16_Half_Periode
[Counts] Half periode in counts
Definition: PWM_1C2P2L.h:235
TBlock_Input_Connector object_f32_Switching_Frequency
Definition: PWM_1C2P2L.h:181
U16 u16_Quarter_Periode
[Counts] Quarter periode
Definition: PWM_1C2P2L.h:236
TPWM_1C2P2L_Registers * struct_Registers
FPGA mapped registers.
Definition: PWM_1C2P2L.h:231
F32 f32_Clock_Frequency
[Hz] FPGA system clock
Definition: PWM_1C2P2L.h:233
virtual ~TPWM_1C2P2L()
Class destructor method.
Definition: PWM_1C2P2L.cpp:121
Definition: Protocol_Base.h:57
Definition: PWM_1C2P2L.h:90
I16 i16_Setpoint_Inverter_L2
Offset 0x05, Set point of the inverter leg 2.
Definition: PWM_1C2P2L.h:106
U16 u16_Status
Offset 0x00, Twin PWM module status register.
Definition: PWM_1C2P2L.h:96
U16 u16_Reserve_9
Offset 0x09, Not used.
Definition: PWM_1C2P2L.h:112
U16 u16_Reserve_F
Offset 0x0F, Not used.
Definition: PWM_1C2P2L.h:120
I16 i16_Setpoint_Inverter_L1
Offset 0x04, Set point of the inverter leg 1.
Definition: PWM_1C2P2L.h:105
U16 u16_Reserve_D
Offset 0x0D, Not used.
Definition: PWM_1C2P2L.h:118
U16 u16_Reserve_C
Offset 0x0C, Not used.
Definition: PWM_1C2P2L.h:117
U16 u16_Control
Offset 0x00, Twin PWM module control register.
Definition: PWM_1C2P2L.h:95
U16 u16_Reserve_7
Offset 0x07, Not used.
Definition: PWM_1C2P2L.h:108
U16 u16_Reserve_8
Offset 0x08, Not used.
Definition: PWM_1C2P2L.h:111
U16 u16_Half_Periode
Offset 0x01, Half PWM periode register.
Definition: PWM_1C2P2L.h:100
U16 u16_Reserve_3
Offset 0x03, Not used.
Definition: PWM_1C2P2L.h:102
U16 u16_Reserve_E
Offset 0x0E, Not used.
Definition: PWM_1C2P2L.h:119
U16 u16_Dead_Time_Inverter
Offset 0x02, Dead time register of the inverter.
Definition: PWM_1C2P2L.h:101
U16 u16_Reserve_A
Offset 0x0A, Not used.
Definition: PWM_1C2P2L.h:113
U16 u16_Reserve_6
Offset 0x06, Not used.
Definition: PWM_1C2P2L.h:107
U16 u16_Reserve_B
Offset 0x0B, Not used.
Definition: PWM_1C2P2L.h:114