[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to start a timer as a result of interrupt processing
- Date: Thu, 8 May 2008 09:26:05 -0500
- From: joel.sherrill at OARcorp.com (Joel Sherrill)
- Subject: How to start a timer as a result of interrupt processing
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