RTEMS CPU Kit with SuperCore
4.11.3
|
Header file for the Interrupt Manager Extension. More...
#include <rtems.h>
Go to the source code of this file.
Macros | |
#define | RTEMS_INTERRUPT_UNIQUE ((rtems_option) 0x00000001) |
Makes the interrupt handler unique. More... | |
#define | RTEMS_INTERRUPT_SHARED ((rtems_option) 0x00000000) |
Allows that this interrupt handler may share a common interrupt vector with other handler. | |
#define | RTEMS_INTERRUPT_REPLACE ((rtems_option) 0x00000002) |
Forces that this interrupt handler replaces the first handler with the same argument. | |
#define | RTEMS_INTERRUPT_IS_UNIQUE(options) ((options) & RTEMS_INTERRUPT_UNIQUE) |
Returns true if the interrupt handler unique option is set. | |
#define | RTEMS_INTERRUPT_IS_SHARED(options) (!RTEMS_INTERRUPT_IS_UNIQUE( options)) |
Returns true if the interrupt handler shared option is set. | |
#define | RTEMS_INTERRUPT_IS_REPLACE(options) ((options) & RTEMS_INTERRUPT_REPLACE) |
Returns true if the interrupt handler replace option is set. | |
Typedefs | |
typedef void(* | rtems_interrupt_handler) (void *) |
Interrupt handler routine type. | |
typedef void(* | rtems_interrupt_per_handler_routine) (void *, const char *, rtems_option, rtems_interrupt_handler, void *) |
Interrupt handler iteration routine type. More... | |
Functions | |
rtems_status_code | rtems_interrupt_handler_install (rtems_vector_number vector, const char *info, rtems_option options, rtems_interrupt_handler handler, void *arg) |
Installs the interrupt handler routine handler for the interrupt vector with number vector. More... | |
rtems_status_code | rtems_interrupt_handler_remove (rtems_vector_number vector, rtems_interrupt_handler handler, void *arg) |
Removes the interrupt handler routine handler with argument arg for the interrupt vector with number vector. More... | |
rtems_status_code | rtems_interrupt_handler_iterate (rtems_vector_number vector, rtems_interrupt_per_handler_routine routine, void *arg) |
Iterates over all installed interrupt handler of the interrupt vector with number vector. More... | |
rtems_status_code | rtems_interrupt_server_initialize (rtems_task_priority priority, size_t stack_size, rtems_mode modes, rtems_attribute attributes, rtems_id *server) |
Initializes an interrupt server task. More... | |
rtems_status_code | rtems_interrupt_server_handler_install (rtems_id server, rtems_vector_number vector, const char *info, rtems_option options, rtems_interrupt_handler handler, void *arg) |
Installs the interrupt handler routine handler for the interrupt vector with number vector on the server server. More... | |
rtems_status_code | rtems_interrupt_server_handler_remove (rtems_id server, rtems_vector_number vector, rtems_interrupt_handler handler, void *arg) |
Removes the interrupt handler routine handler with argument arg for the interrupt vector with number vector from the server server. More... | |
Header file for the Interrupt Manager Extension.