PP1000_STATUS PP1000ConfigureFPGA(
PP1000_HANDLE Card,
PP1000_IMAGE Image);
Arguments | |
Card |
Handle of card to configure. |
Image | Handle of configuration image to use. |
Return Values | |
PP1000_SUCCESS |
Success. |
PP1000_FPGA_MISMATCH |
File is not for the FPGA fitted to this card. |
PP1000_INVALID_HANDLE |
Card is not valid card handle. |
PP1000_INVALID_IMAGE |
Image is not a valid handle. |
PP1000_INTERNAL_ERROR |
Error while talking to driver. |
PP1000_TIMEOUT |
Operation timed out before configuration could complete. |
Description | |
|
PP1000_STATUS PP1000ConfigureFromFile(
PP1000_HANDLE Card,
char * FileName);
Arguments | |
Card |
Handle of card to configure. |
FileName | Name of configuration file. |
Return Values | |
PP1000_SUCCESS |
Success. |
PP1000_FILE_NOT_FOUND |
Could not open file FileName. |
PP1000_FILE_ACCESS_ERROR |
Error while reading file. |
PP1000_INVALID_FILE |
File not correct format. |
PP1000_NO_MEMORY |
Not enough memory to load file. |
PP1000_INVALID_PART_TYPE |
File is for an unrecognised FPGA. |
PP1000_FPGA_MISMATCH |
File is not for the FPGA fitted to this card. |
PP1000_INVALID_HANDLE |
Card is not valid card handle. |
PP1000_INTERNAL_ERROR |
Error while talking to driver. |
PP1000_TIMEOUT |
Operation timed out before configuration could complete. |
Description | |
|
PP1000_STATUS PP1000FreeImage(
PP1000_IMAGE Image);
Arguments | |
Image | Handle of configuration image to use. |
Return Values | |
PP1000_SUCCESS | Success. |
PP1000_INVALID_IMAGE | Image is not a valid file handle. |
Description | |
|
PP1000_STATUS PP1000LoadFile(
char * FileName,
PP1000_IMAGE * Image);
Arguments | |
FileName |
Name of configuration file. |
Image | Pointer to location to receive configuration image handle. |
Return Values | |
PP1000_SUCCESS |
Success. |
PP1000_FILE_NOT_FOUND |
Could not open file FileName. |
PP1000_FILE_ACCESS_ERROR |
Error while reading file. |
PP1000_INVALID_FILE |
File not in correct format. |
PP1000_NO_MEMORY |
Not enough memory to load file. |
PP1000_INVALID_PART_TYPE |
File is for an unrecognised FPGA. |
Description | |
|
PP1000_STATUS PP1000RegisterImage(
unsigned char * Buffer,
unsigned long BufferLength
PP1000_IMAGE * Image);
Arguments | |
Buffer |
Pointer to start of configuration image. |
BufferLength | Length of configuration image in bytes. |
Image | Pointer to location to receive configuration image handle. |
Return Values | |
PP1000_SUCCESS |
Success. |
PP1000_NULL_POINTER |
Image or Buffer is a NULL pointer. |
PP1000_NO_MEMORY |
Not enough memory to load file. |
PP1000_INVALID_PART_TYPE |
File is for an unrecognised FPGA. |
Description | |
|