Your browser does not allow scripts
Please click here to view a static table of contents without scripts
SPI_ClearDeviceCmdSequence
Return to Introduction  Previous page  Next page
Clears the sequence of commands and associated data from the internal command buffer for the specified device.

FTC_STATUS
SPI_ClearDeviceCmdSequence
(FTC_HANDLE ftHandle)




Parameters
ftHandle
Handle of the device.




Return Value
Always returns FTC_SUCCESS.



Remarks
This function will clear the buffer containing commands which were created by calling
SPI_AddDeviceWriteCmd and SPI_AddDeviceReadCmd.



Example

FTC_STATUS Status = FTC_SUCCESS;
FTC_HANDLE ftHandle;

Status = SPI_ClearDeviceCmdSequence(ftHandle);