OAR

RTEMS 4.0.0 On-Line Library


Interrupt Manager INTERRUPT_DISABLE - Disable Interrupts

PREV UP NEXT Bookshelf RTEMS C User's Guide

5.4.2: INTERRUPT_DISABLE - Disable Interrupts

CALLING SEQUENCE:

void rtems_interrupt_disable(
  rtems_isr_level  level
);

DIRECTIVE STATUS CODES:

NONE

DESCRIPTION:

This directive disables all maskable interrupts and returns the previous level. A later invocation of the rtems_interrupt_enable directive should be used to restore the interrupt level.

NOTES:

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

This directive is implemented as a macro which modifies the level parameter.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-1998 OAR Corporation