Anyone has used millisecond time resolution? I do not mean wait_us() but getting the actual millisecond from the microcontroller after RTC is running. I believe the RTC only provide 1 second resolution. Perhaps someone is able to get millisecond from wait_us efficiently.
Regards
YoongHM
Hi:
Anyone has used millisecond time resolution? I do not mean wait_us() but getting the actual millisecond from the microcontroller after RTC is running. I believe the RTC only provide 1 second resolution. Perhaps someone is able to get millisecond from wait_us efficiently.
Regards
YoongHM
I'm not sure what your question is, the Timer class provides methods for measuring microseconds(us), for measuring time longer then 30mins (such as uptime) you would have to handle roll-over, but that's all?
I'm not sure what your question is, the Timer class provides methods for measuring microseconds(us), for measuring time longer then 30mins (such as uptime) you would have to handle roll-over, but that's all?
Pretty sure RTC is as you say just second resolution, Could you use the RTC Interrupt to reset a Timer?
Pretty sure RTC is as you say just second resolution, Could you use the RTC Interrupt to reset a Timer?
Important Information for this Arm website
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.
Access Warning
You do not have the correct permissions to perform this operation.
Hi:
Anyone has used millisecond time resolution? I do not mean wait_us() but getting the actual millisecond from the microcontroller after RTC is running. I believe the RTC only provide 1 second resolution. Perhaps someone is able to get millisecond from wait_us efficiently.
Regards YoongHM