RES: Interrupt Handling

Wendell Pereira da Silva wendell.silva at
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.

  cd [your_rtems_source_root]/c/src/lib/libbsp/pc386
  grep -R -ne "rtems_interrupt" * | more

I think the code itself serves as a good "tutorial".



De: rtems-users-bounces at [mailto:rtems-users-bounces at] Em nome de Guilherme Resende
Enviada em: segunda-feira, 6 de junho de 2011 09:08
Para: rtems-users at
Assunto: Interrupt Handling

Hello, everyone.
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...
URL: <>

More information about the users mailing list