stm32f4xx-hal icon indicating copy to clipboard operation
stm32f4xx-hal copied to clipboard

System time based on static systick isr counter

Open h2obrain opened this issue 5 years ago • 2 comments

I added this to the hal while playing with it. Maybe it fits the upstream :)

h2obrain avatar May 01 '20 18:05 h2obrain

Maybe this could just be an example without changes to the hal?

h2obrain avatar May 12 '20 01:05 h2obrain

Maybe this could just be an example without changes to the hal?

That is definitely possible. I was actually thinking about implementing a general "tick" counter crate a while back; something that you would initialise and then feed with monotonic counter updates which could be used for all kinds of purposes, e.g. a delay implementation.

therealprof avatar May 12 '20 07:05 therealprof