ConOpSys V2970
P004.07
ANVILEX control operating system
|
FPGA hardware dependent driver class. More...
#include <FPGA_Driver.h>
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_Registers * | struct_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... | |
FPGA hardware dependent driver class.
TFPGA_STM32F429::TFPGA_STM32F429 | ( | ) |
FPGA base class constructor method.
|
virtual |
FPGA base class destructor method.
|
virtual |
Configure FPGA method.
false | - Load FPGA configuration failed |
true | - Load FPGA configuration sucessed |
Implements TFPGA_Base.
References TSystem_Timer_Base::Delay_ms(), object_System_Timer, and TFPGA_Base::tril_FPGA_Configured.
|
virtual |
Get FPGA DONE pin status method.
false | - FPGA DONE pin is low |
true | - FPGA DONE pin is high |
Implements TFPGA_Base.
|
virtual |
Get FPGA PROG pin status method.
false | - FPGA PROG pin is low |
true | - FPGA PROG pin is high |
Implements TFPGA_Base.
VOID TFPGA_STM32F429::Interrupt | ( | ) |
FPGA interrupt processing method.
References TFPGA_Base::Interrupt().
|
virtual |
Disable FPGA interrupt method.
Implements TFPGA_Base.
Enable FPGA interrupt method.
[in] | u32_TickPriority | - Priority |
Implements TFPGA_Base.