-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement DelayUs #23
Comments
Yes, but no. |
At this point it relies more on the frequency than anything else. I suppose >10MHz is a non issue to get the us accuracy on a busy loop. Although it is not the same for sub MHz... |
I agree that this approach works good for >10MHz (and timer works even better for core frequency <32kHz). However, I do not see how to achieve better precision in general than with counting core clock ticks. |
this PR kinda solves this but as mentioned it's low res and anything < |
e310x-hal/src/delay.rs
Line 58 in f8cded2
Changing 1000 by 1000000 could do it for Sleep ?
The text was updated successfully, but these errors were encountered: