Download FUSE C - System and Instrumentation Physics
Transcript
FUSE C/C++ API Developers Guide 7.19 DIME_InterfaceFlagVirtexReadEmpty Syntax DWORD DIME_InterfaceFlagVirtexReadEmpty(DIME_HANDLE handle) Arguments handle is a valid handle to a DIME carrier card. Return If there is no data in read buffer to be accessed this function will return 0, however 1 will be returned if there is data waiting to be read. Description This function returns the status of the internal buffer between the FPGA and the PCI interface. Therefore when the function returns a 0 the data is available to be read DIME_DataRead or DIME_DataReadSingle. Calls DIME_DMAStatus(handle, ddmaALLDMACHANNELS, ddmaREADEMPTY). Alternative 7.20 DIME_DMAStatus(handle, ddmaALLDMACHANNELS, ddmaEMPTYFLAG). DIME_InterfaceFlagVirtexWriteFull Syntax DWORD DIME_InterfaceFlagVirtexWriteFull(DIME_HANDLE handle) Arguments handle is a valid handle to a DIME carrier card. Return This function returns a 1 when the internal buffer from the PCI to the FPGA is full and hence cannot accept any more data from the user application. Description The user application must therefore wait until the FPGA reads data before any more data will be transferred. Calls DIME_DMAStatus(handle, ddmaALLDMACHANNELS, ddmaWRITEFULL). Alternative 7.21 DIME_DMAStatus(handle, ddmaALLDMACHANNELS, ddmaWRITEFULL). DIME_JTAGTurboDisable Syntax void DIME_JTAGTurboDisable(DIME_HANDLE handle) Arguments handle is a valid handle to a DIME carrier card. Return N/A. Description This sets the cards JTAG chain to run at its default speed. Alternative DIME_JTAGControl(handle, djtagCONFIGSPEED, djtagDEFAULTSPEED). 7.22 DIME_JTAGTurboEnable Syntax void DIME_JTAGTurboEnable(DIME_HANDLE handle) Arguments handle is a valid handle to a DIME carrier card. Return N/A. Description This sets the cards JTAG chain to run faster than its default speed. NT107-0068 Issue 8 September 14, 2004 www.nallatech.com 85