CyU3PThreadSleep() is tick based,is one tick 1ms? How to realize microsecond sleep?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
dawa_2529456
Level 4
Level 4
5 sign-ins 5 solutions authored First solution authored

Dear Sir,

CyU3PThreadSleep() is tick based,is one tick 1ms? How to realize  microsecond  sleep?

Thanks.

David

0 Likes
1 Solution
ManaskantD_51
Employee
Employee
Welcome! 25 solutions authored 10 solutions authored

You can use CyU3PBusyWait() API which gives you delay in microseconds. However, this will be a blocking call.

View solution in original post

0 Likes
1 Reply
ManaskantD_51
Employee
Employee
Welcome! 25 solutions authored 10 solutions authored

You can use CyU3PBusyWait() API which gives you delay in microseconds. However, this will be a blocking call.

0 Likes