148 #ifdef FUNCTIONAL_BLOCK_CREATE_DIAGNOSE_OUTPUTS
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 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
KG3 digital I/O board (P020.29 / KG3 ENC T1) type 1 class.
Definition: P015_09_V1_0_Encoder.h:160
volatile TP015_09_V1_0_Encoder_Registers * struct_Registers
Pointer to the memory area in FPGA address space.
Definition: P015_09_V1_0_Encoder.h:339
TBlock_Output_Connector object_bool_Channel_Z_Data
Digital input for channel Z.
Definition: P015_09_V1_0_Encoder.h:283
TP015_09_V1_0_Encoder_T2()
Function block class constructor method.
Definition: P015_09_V1_0_Encoder.cpp:418
VOID Map(TP015_09_V1_0_Encoder_Registers *struct_Registers_Base_Address)
Hardware mapping method.
Definition: P015_09_V1_0_Encoder.cpp:451
U32 Get_Module_ID()
Definition: P015_09_V1_0_Encoder.cpp:507
virtual ~TP015_09_V1_0_Encoder_T2()
Function block class destructor method.
Definition: P015_09_V1_0_Encoder.cpp:443
virtual VOID Init()
Function block initialisation method.
Definition: P015_09_V1_0_Encoder.cpp:466
TBlock_Output_Connector object_bool_Channel_A_Data
Digital input for channel A.
Definition: P015_09_V1_0_Encoder.h:277
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send information about digital I/O baortd driver over communication link protocol.
Definition: P015_09_V1_0_Encoder.cpp:522
virtual VOID Execute()
Function block execution method.
Definition: P015_09_V1_0_Encoder.cpp:487
TBlock_Output_Connector object_bool_Channel_B_Data
Digital input for channel B.
Definition: P015_09_V1_0_Encoder.h:280
Encoder board P015.09 V1.0 class.
Definition: P015_09_V1_0_Encoder.h:69
virtual VOID Init()
Initialisation method.
Definition: P015_09_V1_0_Encoder.cpp:147
TBlock_Input_Connector object_f32_Counter_Clock_Frequency
[Hz] Counter clock frequency
Definition: P015_09_V1_0_Encoder.h:111
F32 f32_Omega_Magnitude_Storage
Omega magnitude storage.
Definition: P015_09_V1_0_Encoder.h:143
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send information about functional block.
Definition: P015_09_V1_0_Encoder.cpp:332
VOID Map(TP015_09_V1_0_Encoder_Registers *struct_Registers_Base_Address)
Encoder board P015.09 V1.0 memory map.
Definition: P015_09_V1_0_Encoder.cpp:133
TBlock_Output_Connector object_bool_Error
Error flag.
Definition: P015_09_V1_0_Encoder.h:123
TBlock_Output_Connector object_f32_Theta
[rad] Rotor theta
Definition: P015_09_V1_0_Encoder.h:121
F32 f32_Theta_Gain
Internal variable.
Definition: P015_09_V1_0_Encoder.h:141
virtual ~TP015_09_V1_0_Encoder()
Destructor method.
Definition: P015_09_V1_0_Encoder.cpp:122
F32 f32_Max_Omega_Change_Rate
Maximal omega change rate.
Definition: P015_09_V1_0_Encoder.h:144
F32 f32_Omega_Gain
Internal variable.
Definition: P015_09_V1_0_Encoder.h:142
U32 u32_Error_Counter
Error counter.
Definition: P015_09_V1_0_Encoder.h:139
TBlock_Output_Connector object_f32_Omega
[rad/s] Rotor speed
Definition: P015_09_V1_0_Encoder.h:122
TBlock_Output_Connector object_f32_Counter
Encoder counter.
Definition: P015_09_V1_0_Encoder.h:119
BOOL bool_First_Iteration
First iteration flag.
Definition: P015_09_V1_0_Encoder.h:146
volatile TP015_09_V1_0_Encoder_Registers * struct_Registers
Hardware mapped registers.
Definition: P015_09_V1_0_Encoder.h:137
TBlock_Input_Connector object_u32_Pulse
[-] Encoder pulse per revolution
Definition: P015_09_V1_0_Encoder.h:110
virtual VOID Execute()
Execute method.
Definition: P015_09_V1_0_Encoder.cpp:188
TP015_09_V1_0_Encoder()
Constructor method.
Definition: P015_09_V1_0_Encoder.cpp:73
TBlock_Input_Connector object_f32_Max_Omega_Change_Rate
[rad/s] Maximal omega change rate
Definition: P015_09_V1_0_Encoder.h:113
Definition: Protocol_Base.h:57
Definition: P015_09_V1_0_Encoder.h:79
U16 u16_Status
Status register.
Definition: P015_09_V1_0_Encoder.h:82
U16 u16_Counter_Latch
Counter latch register.
Definition: P015_09_V1_0_Encoder.h:84
U16 u16_Unused_0x05
Reserved register.
Definition: P015_09_V1_0_Encoder.h:87
U16 u16_Unused_0x07
Reserved register.
Definition: P015_09_V1_0_Encoder.h:89
U16 u16_Unused_0x06
Reserved register.
Definition: P015_09_V1_0_Encoder.h:88
U16 u16_Period
Period in FPGA clocks.
Definition: P015_09_V1_0_Encoder.h:85
U16 u16_Counter
Counter register.
Definition: P015_09_V1_0_Encoder.h:83
U16 u16_Unused_0x04
Reserved register.
Definition: P015_09_V1_0_Encoder.h:86
Register structure for digital I/O access.
Definition: P015_09_V1_0_Encoder.h:174
U16 u16_Unit_ID_L
0x00 : Module identification low register
Definition: P015_09_V1_0_Encoder.h:177
U16 u16_Unit_ID_H
0x01 : Module identification high register
Definition: P015_09_V1_0_Encoder.h:180
U16 u16_Status_Register
0x02 : Status registers
Definition: P015_09_V1_0_Encoder.h:183
U16 b1_Channel_B_Input
Bit 4, Channel B input data.
Definition: P015_09_V1_0_Encoder.h:319
U16 u16_Raw_Data
Raw data.
Definition: P015_09_V1_0_Encoder.h:306
U16 b1_Channel_Z_Input
Bit 8, Channel Z input data.
Definition: P015_09_V1_0_Encoder.h:325
U16 b1_Channel_A_Input
Bit 0 : Channel A input data.
Definition: P015_09_V1_0_Encoder.h:313