rtems_status_code rtems_interrupt_catch( rtems_isr_entry new_isr_handler, rtems_vector_number vector, rtems_isr_entry *old_isr_handler );
RTEMS_SUCCESSFUL
- ISR established successfully
RTEMS_INVALID_NUMBER
- illegal vector number
RTEMS_INVALID_ADDRESS
- illegal ISR entry point or invalid old_isr_handler
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
.
This directive will not cause the calling task to be preempted.
Copyright © 1988-1998 OAR Corporation