1 of 1 people found this helpful
Please refer to this KBA EZ-USB® FX3™ Timer Ticks – KBA93074
CyU3PThreadSleep: unit is timer ticks, how to know how long is the timer tick?
>> The default value of one timer tick is one millisecond.This function puts the current thread to sleep for the specified number of timer ticks. so you can pass the argument accordingly.
CyU3PDmaChannelGetBuffer: what is the unit of waitOption?
>> The wait option is Timeout duration in timer ticks
>>This function is used to insert small delays (of the order of micro-seconds) into the firmware application. The delay
is implemented using a busy spin loop and can be used anywhere. This API should not be used for large delays as
other lower or same priority threads will not be able to run during this.
You can refer to this KBA and the FX3 API Guide in the SDK