RTEMS
Macros | Typedefs | Functions
intr.h File Reference

This header file defines the Interrupt Manager API. More...

#include <rtems/rtems/status.h>
#include <rtems/score/basedefs.h>
#include <rtems/score/cpu.h>
#include <rtems/score/isr.h>
#include <rtems/score/isrlevel.h>
#include <rtems/score/isrlock.h>
#include <rtems/score/smplock.h>

Go to the source code of this file.

Macros

#define rtems_interrupt_cause(_interrupt_to_cause)   %
 % More...
 
#define rtems_interrupt_clear(_interrupt_to_clear)   %
 % More...
 
#define rtems_interrupt_is_in_progress()   _ISR_Is_in_progress()
 %
 
#define rtems_interrupt_local_disable(_isr_cookie)   _ISR_Local_disable( _isr_cookie )
 % More...
 
#define rtems_interrupt_local_enable(_isr_cookie)   _ISR_Local_enable( _isr_cookie )
 % More...
 
#define rtems_interrupt_lock_acquire(_lock, _lock_context)   _ISR_lock_ISR_disable_and_acquire( _lock, _lock_context )
 % More...
 
#define rtems_interrupt_lock_acquire_isr(_lock, _lock_context)
 % More...
 
#define RTEMS_INTERRUPT_LOCK_DECLARE(_qualifier, _designator)   ISR_LOCK_DECLARE( _qualifier, _designator )
 % More...
 
#define RTEMS_INTERRUPT_LOCK_DEFINE(_qualifier, _designator, _name)   ISR_LOCK_DEFINE( _qualifier, _designator, _name )
 % More...
 
#define rtems_interrupt_lock_destroy(_lock)   _ISR_lock_Destroy( _lock )
 % More...
 
#define rtems_interrupt_lock_initialize(_lock, _name)   _ISR_lock_Initialize( _lock, _name )
 % More...
 
#define RTEMS_INTERRUPT_LOCK_INITIALIZER(_name)   ISR_LOCK_INITIALIZER( _name )
 % More...
 
#define rtems_interrupt_lock_interrupt_disable(_lock_context)   _ISR_lock_ISR_disable( _lock_context )
 % More...
 
#define RTEMS_INTERRUPT_LOCK_MEMBER(_designator)   ISR_LOCK_MEMBER( _designator )
 % More...
 
#define RTEMS_INTERRUPT_LOCK_REFERENCE(_designator, _target)   ISR_LOCK_REFERENCE( _designator, _target )
 % More...
 
#define rtems_interrupt_lock_release(_lock, _lock_context)   _ISR_lock_Release_and_ISR_enable( _lock, _lock_context )
 % More...
 
#define rtems_interrupt_lock_release_isr(_lock, _lock_context)
 % More...
 

Typedefs

typedef ISR_Vector_number rtems_vector_number
 %
 
typedef void(* rtems_isr_entry) (void *)
 Interrupt service routines installed by rtems_interrupt_catch() shall have this function pointer type.
 
typedef ISR_Handler rtems_isr
 %
 
typedef ISR_Level rtems_interrupt_level
 %
 
typedef ISR_lock_Control rtems_interrupt_lock
 %
 
typedef ISR_lock_Context rtems_interrupt_lock_context
 %
 

Functions

rtems_status_code rtems_interrupt_catch (rtems_isr_entry new_isr_handler, rtems_vector_number vector, rtems_isr_entry *old_isr_handler)
 % More...
 

Detailed Description

This header file defines the Interrupt Manager API.

Definition in file intr.h.