ConOpSys V2970  P004.07
ANVILEX control operating system
Classes | Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
TP016_26_KG3_TSA_T1 Class Reference

Analog current input KG3 BLA T1 (P018.39) board class. More...

#include <P016_26_KG3_TSA.h>

Inheritance diagram for TP016_26_KG3_TSA_T1:
Inheritance graph
Collaboration diagram for TP016_26_KG3_TSA_T1:
Collaboration graph

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...
 

Public Attributes

TBlock_Input_Connector object_f32_Sample_Time
 Functional block sample time input. More...
 
TBlock_Input_Connector object_bool_LED_Red_Enable
 
TBlock_Input_Connector object_bool_LED_Yellow_Enable
 
TBlock_Input_Connector object_bool_LED_Green_Enable
 
TBlock_Input_Connector object_bool_ISP_Connect
 
TBlock_Input_Connector object_bool_ISP_Reset
 
TBlock_Input_Connector object_u16_Command
 
TBlock_Input_Connector object_bool_Start
 
TBlock_Output_Connector object_bool_Processed
 
TBlock_Output_Connector object_bool_Status
 

Private Types

enum  TGlobal_FSM_State {
  enum_Init , enum_Ready , enum_Done , enum_Programming_Enable ,
  enum_Programming_Enable_Wait , enum_Programming_Enable_Done , enum_Read_Device_Signature , enum_Read_Device_Signature_Wait ,
  enum_Read_Device_Signature_Done , enum_Chip_Erase , enum_Chip_Erase_Wait , enum_Chip_Erase_Done ,
  enum_Load_Program_Memory , enum_Load_Program_Memory_Wait , enum_Write_Program_Memory_Wait , enum_Write_Program_Memory_Done ,
  enum_Read_Program_Memory , enum_Read_Program_Memory_Wait , enum_Read_Program_Memory_Done , enum_Error
}
 

Private Member Functions

VOID ISP_Send_Progrsmming_Enable_Command ()
 
VOID ISP_Send_Chip_Erase_Command ()
 

Private Attributes

volatile TP016_26_KG3_TSA_T1_Registersstruct_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]
 

Detailed Description

Analog current input KG3 BLA T1 (P018.39) board class.


Member Enumeration Documentation

◆ TGlobal_FSM_State

Enumerator
enum_Init 

Initialisation state.

enum_Ready 

Ready state.

enum_Done 
enum_Programming_Enable 
enum_Programming_Enable_Wait 
enum_Programming_Enable_Done 
enum_Read_Device_Signature 
enum_Read_Device_Signature_Wait 
enum_Read_Device_Signature_Done 
enum_Chip_Erase 
enum_Chip_Erase_Wait 
enum_Chip_Erase_Done 
enum_Load_Program_Memory 
enum_Load_Program_Memory_Wait 
enum_Write_Program_Memory_Wait 
enum_Write_Program_Memory_Done 
enum_Read_Program_Memory 
enum_Read_Program_Memory_Wait 
enum_Read_Program_Memory_Done 
enum_Error 

Constructor & Destructor Documentation

◆ TP016_26_KG3_TSA_T1()

TP016_26_KG3_TSA_T1::TP016_26_KG3_TSA_T1 ( )

Class constructor method.

Analog input board P018.39 object conctructor.

Returns
Pointer to the object
Note
None

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().

Here is the call graph for this function:

◆ ~TP016_26_KG3_TSA_T1()

TP016_26_KG3_TSA_T1::~TP016_26_KG3_TSA_T1 ( )

Class destructor method.

Analog input board P017.52 object destructor.

Returns
None
Note
None

Member Function Documentation

◆ Execute()

__forceinline VOID TP016_26_KG3_TSA_T1::Execute ( )
virtual

Block execution method.

Analog input board P017.52 execute method.

Returns
None
Note
None

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.

Here is the call graph for this function:

◆ Init()

VOID TP016_26_KG3_TSA_T1::Init ( )
virtual

Block initialisation method.

Analog input board P017.52 object initialization.

Returns
None
Note
None

References object_f32_Sample_Time, TBlock_Input_Connector::object_Pointer, TConOpSys_Variant_Data::pf32_Value, TConOpSys_Variant::struct_Data, and u32_Chip_Erase_Time.

◆ ISP_Send_Chip_Erase_Command()

VOID TP016_26_KG3_TSA_T1::ISP_Send_Chip_Erase_Command ( )
private

◆ ISP_Send_Progrsmming_Enable_Command()

VOID TP016_26_KG3_TSA_T1::ISP_Send_Progrsmming_Enable_Command ( )
private

◆ Map()

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.

Parameters
[in]struct_Registers_Base_AddressBase address within FPGA address space
Returns
None
Note
None

References struct_Registers.

◆ Send_Information()

VOID TP016_26_KG3_TSA_T1::Send_Information ( TProtocol_Base object_Protocol)
virtual

Member Data Documentation

◆ enum_FSM_State

TGlobal_FSM_State TP016_26_KG3_TSA_T1::enum_FSM_State
private

FSM state.

Referenced by Execute().

◆ object_bool_ISP_Connect

TBlock_Input_Connector TP016_26_KG3_TSA_T1::object_bool_ISP_Connect

Referenced by Execute(), and TP016_26_KG3_TSA_T1().

◆ object_bool_ISP_Reset

TBlock_Input_Connector TP016_26_KG3_TSA_T1::object_bool_ISP_Reset

Referenced by Execute(), and TP016_26_KG3_TSA_T1().

◆ object_bool_LED_Green_Enable

TBlock_Input_Connector TP016_26_KG3_TSA_T1::object_bool_LED_Green_Enable

Referenced by TP016_26_KG3_TSA_T1().

◆ object_bool_LED_Red_Enable

TBlock_Input_Connector TP016_26_KG3_TSA_T1::object_bool_LED_Red_Enable

Referenced by TP016_26_KG3_TSA_T1().

◆ object_bool_LED_Yellow_Enable

TBlock_Input_Connector TP016_26_KG3_TSA_T1::object_bool_LED_Yellow_Enable

Referenced by TP016_26_KG3_TSA_T1().

◆ object_bool_Processed

TBlock_Output_Connector TP016_26_KG3_TSA_T1::object_bool_Processed

Referenced by TP016_26_KG3_TSA_T1().

◆ object_bool_Start

TBlock_Input_Connector TP016_26_KG3_TSA_T1::object_bool_Start

Referenced by Execute(), and TP016_26_KG3_TSA_T1().

◆ object_bool_Status

TBlock_Output_Connector TP016_26_KG3_TSA_T1::object_bool_Status

Referenced by TP016_26_KG3_TSA_T1().

◆ object_f32_Sample_Time

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().

◆ object_u16_Command

TBlock_Input_Connector TP016_26_KG3_TSA_T1::object_u16_Command

Referenced by Execute(), and TP016_26_KG3_TSA_T1().

◆ struct_Control_Register

TControl_Register TP016_26_KG3_TSA_T1::struct_Control_Register
private

Referenced by Execute().

◆ struct_Registers

volatile TP016_26_KG3_TSA_T1_Registers* TP016_26_KG3_TSA_T1::struct_Registers
private

Hardware mapped registers.

Referenced by Execute(), Map(), and Send_Information().

◆ struct_Status_Register

TStatus_Register TP016_26_KG3_TSA_T1::struct_Status_Register
private

Referenced by Execute().

◆ u32_Byte_Counter

U32 TP016_26_KG3_TSA_T1::u32_Byte_Counter
private

Referenced by Execute().

◆ u32_Chip_Erase_Time

U32 TP016_26_KG3_TSA_T1::u32_Chip_Erase_Time
private

Referenced by Execute(), and Init().

◆ u32_Delay_Counter

U32 TP016_26_KG3_TSA_T1::u32_Delay_Counter
private

Referenced by Execute().

◆ u32_Page_Counter

U32 TP016_26_KG3_TSA_T1::u32_Page_Counter
private

Referenced by Execute().

◆ u32_Program_Memory_Buffer_Index

U32 TP016_26_KG3_TSA_T1::u32_Program_Memory_Buffer_Index
private

Referenced by Execute().

◆ u8_Device_Signature

U8 TP016_26_KG3_TSA_T1::u8_Device_Signature[4]
private

Referenced by Execute().

◆ u8_Program_Memory_Read_Data

U8 TP016_26_KG3_TSA_T1::u8_Program_Memory_Read_Data[1024]
private

Referenced by Execute().

◆ u8_Program_Memory_Write_Data

U8 TP016_26_KG3_TSA_T1::u8_Program_Memory_Write_Data[1024]
private

Referenced by Execute().


The documentation for this class was generated from the following files: