PP1000_STATUS PP1000GetCardInfo(
PP1000_HANDLE Card
PP1000_CARD_INFO * Info);
Arguments | |
Card | Handle of card to close. |
Info | Pointer to card information structure to be filled in. |
Return Values | |
PP1000_SUCCESS |
Success. |
PP1000_INVALID_HANDLE |
Card is not a valid card handle. |
PP1000_NULL_POINTER |
Info is a NULL pointer. |
PP1000_INTERNAL_ERROR |
Error while talking to driver. |
Description | |
|
PP1000_STATUS PP1000ReadGPI(
PP1000_HANDLE Card,
unsigned long * Value);
Arguments | |
Card | Handle of card to close. |
Value | Pointer to location to receive value from GPI pin. |
Return Values | |
PP1000_SUCCESS |
Success. |
PP1000_INVALID_HANDLE |
Card is not a valid card handle. |
PP1000_NULL_POINTER |
Value is NULL. |
PP1000_INTERNAL_ERROR |
Error while talking to driver. |
Description | |
|
PP1000_STATUS PP1000ReadStatus(
PP1000_HANDLE Card,
unsigned char * Status);
Arguments | |
Card | Handle of card to close. |
Status | Pointer to location to receive value from status port. |
Return Values | |
PP1000_SUCCESS |
Success. |
PP1000_INVALID_HANDLE |
Card is not a valid card handle. |
PP1000_TIMEOUT |
Operation timed out before FPGA read from port. |
PP1000_INTERNAL_ERROR |
Error while talking to driver. |
PP1000_CARD_BUSY |
Card is not ready.. |
Description | |
|
PP1000_STATUS PP1000ResetFPGA(
PP1000_HANDLE Card);
Arguments | |
Card | Handle of card to close. |
Return Values | |
PP1000_SUCCESS |
Success. |
PP1000_INVALID_HANDLE |
Card is not a valid card handle. |
PP1000_INTERNAL_ERROR |
Error while talking to driver. |
PP1000_TIMEOUT |
Operation timed out before reset could complete. |
Description | |
|
PP1000_STATUS PP1000SetGPO(
PP1000_HANDLE Card,
unsigned long Value);
Arguments | |
Card | Handle of card to close. |
Value | Non-zero to set GPO, zero to clear GPO. |
Return Values | |
PP1000_SUCCESS |
Success. |
PP1000_INVALID_HANDLE |
Card is not a valid card handle. |
PP1000_INTERNAL_ERROR |
Error while talking to driver. |
Description | |
|
PP1000_STATUS PP1000SetTimeOut(
PP1000_HANDLE Card
unsigned long Time);
Arguments | |
Card | Handle of card to set timeout on. |
Time | Length of timeout in milliseconds. |
Return Values | |
PP1000_SUCCESS |
Success. |
PP1000_INVALID_HANDLE |
Card is not a valid card handle. |
Description | |
|
PP1000_STATUS PP1000WriteControl(
PP1000_HANDLE Card,
unsigned char Control);
Arguments | |
Card | Handle of card to close. |
Control | Value to write to card. |
Return Values | |
PP1000_SUCCESS |
Success. |
PP1000_INVALID_HANDLE |
Card is not a valid card handle. |
PP1000_TIMEOUT |
Operation timed out before FPGA read from port. |
PP1000_INTERNAL_ERROR |
Error while talking to driver. |
PP1000_CARD_BUSY |
Card is not ready. |
Description | |
|