ConOpSys V2970
P004.07
ANVILEX control operating system
|
Analog current input KG3 BLA T1 (P018.39) board class. More...
#include <P016_26_KG3_TSA.h>
Classes | |
union | TControl_Register |
struct | TP016_26_KG3_TSA_T1_Registers |
union | TStatus_Register |
Public Member Functions | |
TP016_26_KG3_TSA_T1 () | |
Class constructor method. More... | |
~TP016_26_KG3_TSA_T1 () | |
Class destructor method. More... | |
VOID | Map (TP016_26_KG3_TSA_T1_Registers *struct_Registers_Base_Address) |
Hardware map method. More... | |
virtual VOID | Init () |
Block initialisation method. More... | |
virtual VOID | Execute () |
Block execution method. More... | |
virtual VOID | Send_Information (TProtocol_Base *object_Protocol) |
Send information method. More... | |
Private Member Functions | |
VOID | ISP_Send_Progrsmming_Enable_Command () |
VOID | ISP_Send_Chip_Erase_Command () |
Private Attributes | |
volatile TP016_26_KG3_TSA_T1_Registers * | struct_Registers |
Hardware mapped registers. More... | |
TGlobal_FSM_State | enum_FSM_State |
FSM state. More... | |
TControl_Register | struct_Control_Register |
TStatus_Register | struct_Status_Register |
U32 | u32_Chip_Erase_Time |
U32 | u32_Delay_Counter |
U32 | u32_Byte_Counter |
U32 | u32_Page_Counter |
U32 | u32_Program_Memory_Buffer_Index |
U8 | u8_Device_Signature [4] |
U8 | u8_Program_Memory_Write_Data [1024] |
U8 | u8_Program_Memory_Read_Data [1024] |
Analog current input KG3 BLA T1 (P018.39) board class.
|
private |
TP016_26_KG3_TSA_T1::TP016_26_KG3_TSA_T1 | ( | ) |
Class constructor method.
Analog input board P018.39 object conctructor.
References object_bool_ISP_Connect, object_bool_ISP_Reset, object_bool_LED_Green_Enable, object_bool_LED_Red_Enable, object_bool_LED_Yellow_Enable, object_bool_Processed, object_bool_Start, object_bool_Status, object_f32_Sample_Time, object_u16_Command, TBlock_Connector::Set_Type(), and TBlock_Input_Connector::Set_Type().
TP016_26_KG3_TSA_T1::~TP016_26_KG3_TSA_T1 | ( | ) |
Class destructor method.
Analog input board P017.52 object destructor.
|
virtual |
Block execution method.
Analog input board P017.52 execute method.
References TConOpSys_Variant_Data::bool_Value, enum_Chip_Erase, enum_Chip_Erase_Done, enum_Chip_Erase_Wait, enum_Done, enum_Error, enum_FSM_State, enum_Init, enum_Load_Program_Memory, enum_Load_Program_Memory_Wait, enum_Programming_Enable, enum_Programming_Enable_Done, enum_Programming_Enable_Wait, enum_Read_Device_Signature, enum_Read_Device_Signature_Done, enum_Read_Device_Signature_Wait, enum_Read_Program_Memory, enum_Read_Program_Memory_Done, enum_Read_Program_Memory_Wait, enum_Ready, enum_Write_Program_Memory_Done, enum_Write_Program_Memory_Wait, Is_Even(), object_bool_ISP_Connect, object_bool_ISP_Reset, object_bool_Start, TBlock_Connector::object_Storage, object_u16_Command, struct_Control_Register, TConOpSys_Variant::struct_Data, struct_Registers, struct_Status_Register, true, TP016_26_KG3_TSA_T1::TControl_Register::u16_Control, TP016_26_KG3_TSA_T1::TP016_26_KG3_TSA_T1_Registers::u16_Control_Register, TP016_26_KG3_TSA_T1::TP016_26_KG3_TSA_T1_Registers::u16_ISP_Data_1, TP016_26_KG3_TSA_T1::TP016_26_KG3_TSA_T1_Registers::u16_ISP_Data_2, TP016_26_KG3_TSA_T1::TP016_26_KG3_TSA_T1_Registers::u16_ISP_Data_3, TP016_26_KG3_TSA_T1::TP016_26_KG3_TSA_T1_Registers::u16_ISP_Data_4, TP016_26_KG3_TSA_T1::TControl_Register::u16_ISP_Enable, TP016_26_KG3_TSA_T1::TStatus_Register::u16_ISP_Ready, TP016_26_KG3_TSA_T1::TControl_Register::u16_ISP_Reset, TP016_26_KG3_TSA_T1::TControl_Register::u16_ISP_Start, TP016_26_KG3_TSA_T1::TStatus_Register::u16_Status, TP016_26_KG3_TSA_T1::TP016_26_KG3_TSA_T1_Registers::u16_Status_Register, TConOpSys_Variant_Data::u16_Value, u32_Byte_Counter, u32_Chip_Erase_Time, u32_Delay_Counter, u32_Page_Counter, u32_Program_Memory_Buffer_Index, u8_Device_Signature, u8_Program_Memory_Read_Data, and u8_Program_Memory_Write_Data.
|
virtual |
Block initialisation method.
Analog input board P017.52 object initialization.
References object_f32_Sample_Time, TBlock_Input_Connector::object_Pointer, TConOpSys_Variant_Data::pf32_Value, TConOpSys_Variant::struct_Data, and u32_Chip_Erase_Time.
|
private |
|
private |
VOID TP016_26_KG3_TSA_T1::Map | ( | TP016_26_KG3_TSA_T1_Registers * | struct_Registers_Base_Address | ) |
Hardware map method.
Analog input board P017.52 memory map.
[in] | struct_Registers_Base_Address | Base address within FPGA address space |
References struct_Registers.
|
virtual |
Send information method.
Send detailed information about functional block.
[in] | object_Protocol | Pointer to the communication protocol object |
References object_f32_Sample_Time, struct_Registers, TProtocol_Base::Transmit_Connector_Value_As_Decimal(), TProtocol_Base::Transmit_String(), TProtocol_Base::Transmit_U16_Value_As_Hex(), TProtocol_Base::Transmit_U32_Value_As_Hex(), TP016_26_KG3_TSA_T1::TP016_26_KG3_TSA_T1_Registers::u16_ISP_Data_1, TP016_26_KG3_TSA_T1::TP016_26_KG3_TSA_T1_Registers::u16_ISP_Data_2, TP016_26_KG3_TSA_T1::TP016_26_KG3_TSA_T1_Registers::u16_ISP_Data_3, TP016_26_KG3_TSA_T1::TP016_26_KG3_TSA_T1_Registers::u16_ISP_Data_4, TP016_26_KG3_TSA_T1::TP016_26_KG3_TSA_T1_Registers::u16_Status_Register, TP016_26_KG3_TSA_T1::TP016_26_KG3_TSA_T1_Registers::u16_Unit_ID_H, and TP016_26_KG3_TSA_T1::TP016_26_KG3_TSA_T1_Registers::u16_Unit_ID_L.
|
private |
FSM state.
Referenced by Execute().
TBlock_Input_Connector TP016_26_KG3_TSA_T1::object_bool_ISP_Connect |
Referenced by Execute(), and TP016_26_KG3_TSA_T1().
TBlock_Input_Connector TP016_26_KG3_TSA_T1::object_bool_ISP_Reset |
Referenced by Execute(), and TP016_26_KG3_TSA_T1().
TBlock_Input_Connector TP016_26_KG3_TSA_T1::object_bool_LED_Green_Enable |
Referenced by TP016_26_KG3_TSA_T1().
TBlock_Input_Connector TP016_26_KG3_TSA_T1::object_bool_LED_Red_Enable |
Referenced by TP016_26_KG3_TSA_T1().
TBlock_Input_Connector TP016_26_KG3_TSA_T1::object_bool_LED_Yellow_Enable |
Referenced by TP016_26_KG3_TSA_T1().
TBlock_Output_Connector TP016_26_KG3_TSA_T1::object_bool_Processed |
Referenced by TP016_26_KG3_TSA_T1().
TBlock_Input_Connector TP016_26_KG3_TSA_T1::object_bool_Start |
Referenced by Execute(), and TP016_26_KG3_TSA_T1().
TBlock_Output_Connector TP016_26_KG3_TSA_T1::object_bool_Status |
Referenced by TP016_26_KG3_TSA_T1().
TBlock_Input_Connector TP016_26_KG3_TSA_T1::object_f32_Sample_Time |
Functional block sample time input.
Referenced by Init(), Send_Information(), and TP016_26_KG3_TSA_T1().
TBlock_Input_Connector TP016_26_KG3_TSA_T1::object_u16_Command |
Referenced by Execute(), and TP016_26_KG3_TSA_T1().
|
private |
Referenced by Execute().
|
private |
Hardware mapped registers.
Referenced by Execute(), Map(), and Send_Information().
|
private |
Referenced by Execute().