RES: Interrupt Handling
Wendell Pereira da Silva
wendell.silva at compsisnet.com.br
Mon Jun 6 12:40:13 UTC 2011
rtems_interrupt_catch is used to install an ISR (interrupt service routine).
rtems_interrupt_enable/_disable enables/disables all maskable interrupt (it is useful to perform interrupt sensible critical sections).
The code bellow c/src/lib/libbsp/pc386, for instance, is full of references of such routines.
grep -R -ne "rtems_interrupt" * | more
I think the code itself serves as a good "tutorial".
De: rtems-users-bounces at rtems.org [mailto:rtems-users-bounces at rtems.org] Em nome de Guilherme Resende
Enviada em: segunda-feira, 6 de junho de 2011 09:08
Para: rtems-users at rtems.org
Assunto: Interrupt Handling
I would like to know if anyone has some kind of tutorial/example that shows the use of interrupt directives like rtems_interrupt_catch , rtems_interrupt_disable , rtems_interrupt_enable , etc...
I've read the RTEMS C User's Guide but since I'm new to RTEMS, I've been having some trouble understanding these directives.
Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users