Page 1 of 1

Virtual Timer

Posted: Sat Dec 15, 2012 10:16 pm
by handaza
Hi,

I want to Know if Chibios has one shot timers or not?
if not, can I make one shot timer by making the timer call back function disable the timer or this is not allowed? and how can I make one shot timer?

thanks

Re: Virtual Timer

Posted: Sat Dec 15, 2012 10:43 pm
by Giovanni
Hi,

Virtual timers are always one-shot, you can re-enable the timer from the callback if needed. The GPT driver also has a one-shot mode.

Giovanni