RTEMS Logo

RTEMS 4.9.4 On-Line Library


Interrupt Manager INTERRUPT_CATCH - Establish an ISR

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

6.4.1: INTERRUPT_CATCH - Establish an ISR

CALLING SEQUENCE:

NOT SUPPORTED FROM Ada BINDING

DIRECTIVE STATUS CODES:

RTEMS.SUCCESSFUL - ISR established successfully
RTEMS.INVALID_NUMBER - illegal vector number
RTEMS.INVALID_ADDRESS - illegal ISR entry point or invalid old_isr_handler

DESCRIPTION:

This directive establishes an interrupt service routine (ISR) for the specified interrupt vector number. The new_isr_handler parameter specifies the entry point of the ISR. The entry point of the previous ISR for the specified vector is returned in old_isr_handler.

To release an interrupt vector, pass the old handler's address obtained when the vector was first capture.

NOTES:

This directive will not cause the calling task to be preempted.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2008 OAR Corporation