How to start a timer as a result of interrupt processing

Joel Sherrill joel.sherrill at OARcorp.com
Thu May 8 14:26:05 UTC 2008


Ingolf Steinbach wrote:
> Hi,
>
> the C Users Guide for the classic API does not list any timer related
> directives among thos allowed from an ISR. What is the best way to
> start a timer as a result of interrupt processing? Would the ISR have
> to send an event to a special task which then calls
> rtems_timer_fire_after()?
>   
It is OK to call rtems_timer_fire_after() or rtems_timer_cancel()
from an ISR.  Just an oversight in the documentation.
> Kind regards
> Ingolf
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>   


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985





More information about the users mailing list