RTEMS 6.1-rc7
Loading...
Searching...
No Matches
Macros
irq.h File Reference

Interrupt definitions. More...

#include <bsp.h>

Go to the source code of this file.

Macros

#define RISCV_INTERRUPT_VECTOR_SOFTWARE   0
 
#define RISCV_INTERRUPT_VECTOR_TIMER   1
 
#define RISCV_INTERRUPT_VECTOR_EXTERNAL(x)   ((x) + 2)
 
#define RISCV_INTERRUPT_VECTOR_IS_EXTERNAL(x)   ((x) >= 2)
 
#define RISCV_INTERRUPT_VECTOR_EXTERNAL_TO_INDEX(x)   ((x) - 2)
 
#define BSP_INTERRUPT_VECTOR_COUNT   RISCV_INTERRUPT_VECTOR_EXTERNAL(RISCV_MAXIMUM_EXTERNAL_INTERRUPTS)
 

Detailed Description

Interrupt definitions.