Question regarding os_timer_t
Posted: Fri Feb 01, 2019 11:25 pm
Hi folks!
I've read that os_timer_t timers are software based but I've a doubt about its actual implementation:
a) its expiration interrupt the current running code granting the execution to the timer handling function, namely, are they interrupt driven?
b) They aren't interrupt driven. The underlying layer checks periodically for timers expiration and grants the execution to the handling function if any did so.
Is there some good reading about this topic out there?
Thanks in advance.
Best regards
Pablo
I've read that os_timer_t timers are software based but I've a doubt about its actual implementation:
a) its expiration interrupt the current running code granting the execution to the timer handling function, namely, are they interrupt driven?
b) They aren't interrupt driven. The underlying layer checks periodically for timers expiration and grants the execution to the handling function if any did so.
Is there some good reading about this topic out there?
Thanks in advance.
Best regards
Pablo