ConOpSys V2970  P004.07
ANVILEX control operating system
Public Member Functions | List of all members
TFPGA_STM32F429 Class Reference

FPGA hardware dependent driver class. More...

#include <FPGA_Driver.h>

Inheritance diagram for TFPGA_STM32F429:
Inheritance graph
Collaboration diagram for TFPGA_STM32F429:
Collaboration graph

Public Member Functions

 TFPGA_STM32F429 ()
 FPGA base class constructor method. More...
 
virtual ~TFPGA_STM32F429 ()
 FPGA base class destructor method. More...
 
VOID Interrupt ()
 FPGA interrupt processing method. More...
 
virtual BOOL Configure ()
 Configure FPGA method. More...
 
virtual VOID Interrupt_Enable (U32 u32_TickPriority)
 Enable FPGA interrupt method. More...
 
virtual VOID Interrupt_Disable ()
 Disable FPGA interrupt method. More...
 
virtual BOOL FPGA_PROG_Pin_Status ()
 Get FPGA PROG pin status method. More...
 
virtual BOOL FPGA_DONE_Pin_Status ()
 Get FPGA DONE pin status method. More...
 
- Public Member Functions inherited from TFPGA_Base
 TFPGA_Base ()
 FPGA base class constructor method. More...
 
virtual ~TFPGA_Base ()
 FPGA base class destructor method. More...
 
VOID Interrupt ()
 FPGA interrupt method. More...
 
VOID Init (TFPGA_Registers *struct_Registers_Base_Address)
 FPGA object initialisation method. More...
 
BOOL Get_Internal_Slot_Module_ID (U8 u8_Slot_Index, U32 *u32_Module_ID)
 
BOOL Get_External_Slot_Module_ID (U8 u8_Slot_Index, U32 *u32_Module_ID)
 
VOID Increment_Test_Interconnect_Error_Counter ()
 Increment test interconnect error counter method. More...
 
VOID Test_Interconnect_Interface ()
 Check FPGA interconnection interface method. More...
 
U32 Get_Configurstion_ID ()
 Get FPGA configuration ID method. More...
 
U16 Get_Version ()
 Get FPGA configuration version method. More...
 
U16 Get_Revision ()
 Get FPGA configuration revision method. More...
 
U32 Get_Clock_Frequency ()
 Get FPGA clock frequency in herz method. More...
 
U16 Get_Slot_Size ()
 Get FPGA slot size method. More...
 
F32 Get_Clock_Frequency_In_Hz ()
 Get FPGA internal clock frequency in Hz method. More...
 
U64 Get_Interconnect_Error_Count ()
 Get FPGA interconnect error count method. More...
 
U64 Get_Interconnect_Test_Count ()
 Get FPGA interconnect test count method. More...
 
virtual BOOL Is_Installed ()
 Get FPGA init status method. More...
 
TRIL Is_Configured ()
 Return FPGA configuration status method. More...
 
VOID Send_General_Information (TProtocol_Base *object_Protocol)
 Send general information about FPGA object. More...
 
VOID Send_Internal_Slot_Information (TProtocol_Base *object_Protocol)
 Send information about internal slots allocation. More...
 
VOID Send_External_Slot_Information (TProtocol_Base *object_Protocol)
 Send information about external slots allocation. More...
 
VOID Reset_Watchdog ()
 Reset FPGA watchdog. More...
 
BOOL Get_Slot_Module_Name_By_ID (U32 u32_Module_ID, C8 **c8_Module_Name)
 
VOID Send_Internal_Module_Information (U8 u8_Slot, TProtocol_Base *object_Protocol)
 
VOID Send_External_Module_Information (U8 u8_Slot, TProtocol_Base *object_Protocol)
 

Additional Inherited Members

- Protected Member Functions inherited from TFPGA_Base
VOID FPGA_Write_U16 (U16 u16_Address, U16 u16_Value)
 Write U16 value into FPGA using generic access. More...
 
VOID FPGA_Read_U16 (U16 u16_Address, U16 *u16_Value)
 Read U16 value from FPGA using generic access. More...
 
- Protected Attributes inherited from TFPGA_Base
volatile TFPGA_Registersstruct_Registers = (TFPGA_Registers*)NULL
 Mapped FPGA registers. More...
 
TRIL tril_FPGA_Configured = (TRIL)unset
 FPGA configuration status. More...
 
U64 u64_Test_Interconnect_Test_Counter = (U64)0
 Interconnect test counter. More...
 
U64 u64_Test_Interconnect_Error_Counter = (U64)0
 Interconnect error counter for diagnose. More...
 
U16 u16_Write_Pattern_1
 Write pattern #1 for testng. More...
 
U16 u16_Write_Pattern_2
 Write pattern #2 for testng. More...
 
U16 u16_Write_Pattern_3
 Write pattern #3 for testng. More...
 
U16 u16_Write_Pattern_4
 Write pattern #4 for testng. More...
 
U16 u16_Read_Pattern_1
 Reading pattern #1 for testng. More...
 
U16 u16_Read_Pattern_2
 Reading pattern #2 for testng. More...
 
U16 u16_Read_Pattern_3
 Reading pattern #3 for testng. More...
 
U16 u16_Read_Pattern_4
 Reading pattern #4 for testng. More...
 

Detailed Description

FPGA hardware dependent driver class.

Constructor & Destructor Documentation

◆ TFPGA_STM32F429()

TFPGA_STM32F429::TFPGA_STM32F429 ( )

FPGA base class constructor method.


Note
None
Override
Not allowed
Attention
Don't call this method directly.

◆ ~TFPGA_STM32F429()

TFPGA_STM32F429::~TFPGA_STM32F429 ( )
virtual

FPGA base class destructor method.


Note
None
Override
Not allowed
Attention
Don't call this method directly.

Member Function Documentation

◆ Configure()

BOOL TFPGA_STM32F429::Configure ( )
virtual

Configure FPGA method.


Note
None
Returns
BOOL - Return FPGA present status
Return values
false- Load FPGA configuration failed
true- Load FPGA configuration sucessed
Override
Not allowed
Attention
None

Implements TFPGA_Base.

References TSystem_Timer_Base::Delay_ms(), object_System_Timer, and TFPGA_Base::tril_FPGA_Configured.

Here is the call graph for this function:

◆ FPGA_DONE_Pin_Status()

BOOL TFPGA_STM32F429::FPGA_DONE_Pin_Status ( )
virtual

Get FPGA DONE pin status method.


Note
None
Returns
BOOL - Return FPGA DONE pin status
Return values
false- FPGA DONE pin is low
true- FPGA DONE pin is high
Override
Not allowed
Attention
None

Implements TFPGA_Base.

◆ FPGA_PROG_Pin_Status()

BOOL TFPGA_STM32F429::FPGA_PROG_Pin_Status ( )
virtual

Get FPGA PROG pin status method.


Note
None
Returns
BOOL - Return FPGA PROG pin status
Return values
false- FPGA PROG pin is low
true- FPGA PROG pin is high
Override
Not allowed
Attention
None

Implements TFPGA_Base.

◆ Interrupt()

VOID TFPGA_STM32F429::Interrupt ( )

FPGA interrupt processing method.


Note
None
Returns
None
Override
Not allowed
Attention
Don't call this method directly.

References TFPGA_Base::Interrupt().

Here is the call graph for this function:

◆ Interrupt_Disable()

VOID TFPGA_STM32F429::Interrupt_Disable ( )
virtual

Disable FPGA interrupt method.


Note
None
Returns
None
Override
Not allowed
Attention
None

Implements TFPGA_Base.

◆ Interrupt_Enable()

VOID TFPGA_STM32F429::Interrupt_Enable ( U32  u32_TickPriority)
virtual

Enable FPGA interrupt method.


Note
None
Parameters
[in]u32_TickPriority- Priority
Returns
None
Override
Not allowed
Attention
None

Implements TFPGA_Base.


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