- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CyU3PThreadSleep: unit is timer ticks, how to know how long is the timer tick?
CyU3PDmaChannelGetBuffer: what is the unit of waitOption?
CyU3PBusyWait: unit is micro-seconds. Commonly timing unit is ms.
For most methods, there is no description about unit in the header. Where to find this information?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
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
CyU3PBusyWait
>>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
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
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
CyU3PBusyWait
>>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
Regards,
Rashi
Rashi