xPCIe-3126 API
xPCIe3126 Update the FPGA firmware via the PCI bus

Functions

_INT_ i_PCIe3126_LoadLogicCommand (IN HANDLE h_DeviceHandle, IN DWORD dw_Command)
 
_INT_ i_PCIe3126_LoadLogicWrite (IN HANDLE h_DeviceHandle, IN DWORD dw_Data)
 
_INT_ i_PCIe3126_LoadLogicRead (IN HANDLE h_DeviceHandle, OUT DWORD *dw_Data)
 
_INT_ i_PCIe3126_GetLoadLogicStatus (IN HANDLE h_DeviceHandle, OUT BYTE *b_Status)
 
_INT_ i_PCIe3126_GetFirmwareVersion (IN HANDLE h_DeviceHandle, OUT DWORD *dw_Version)
 

Detailed Description

Function Documentation

_INT_ i_PCIe3126_LoadLogicCommand ( IN HANDLE  h_DeviceHandle,
IN DWORD  dw_Command 
)
Parameters
[in]h_DeviceHandleHandle of the board
[in]dw_CommandLoadLogic command
Return values
0No error
-1The h_DeviceHandle parameter is wrong
-100An error occurred while calling the IOCTL function
_INT_ i_PCIe3126_LoadLogicWrite ( IN HANDLE  h_DeviceHandle,
IN DWORD  dw_Data 
)
Parameters
[in]h_DeviceHandleHandle of the board
[in]dw_DataLoadLogic write data
Return values
0No error
-1The h_DeviceHandle parameter is wrong
-100An error occurred while calling the IOCTL function
_INT_ i_PCIe3126_LoadLogicRead ( IN HANDLE  h_DeviceHandle,
OUT DWORD *  dw_Data 
)
Parameters
[in]h_DeviceHandleHandle of the board
[out]dw_DataLoadLogic read data
Return values
0No error
-1The h_DeviceHandle parameter is wrong
-100An error occurred while calling the IOCTL function
_INT_ i_PCIe3126_GetLoadLogicStatus ( IN HANDLE  h_DeviceHandle,
OUT BYTE *  b_Status 
)
Parameters
[in]h_DeviceHandleHandle of the board
[out]b_StatusLoadLogic status
Return values
0No error
-1The h_DeviceHandle parameter is wrong
-100An error occurred while calling the IOCTL function
_INT_ i_PCIe3126_GetFirmwareVersion ( IN HANDLE  h_DeviceHandle,
OUT DWORD *  dw_Version 
)
Parameters
[in]h_DeviceHandleHandle of the board
[out]dw_VersionCurrent firmware version
Return values
0No error
-1The h_DeviceHandle parameter is wrong
-100An error occurred while calling the IOCTL function