RTEMS  5.0.0
irq.h
Go to the documentation of this file.
1 
9 /*
10  * Copyright (c) 2008
11  * Embedded Brains GmbH
12  * Obere Lagerstr. 30
13  * D-82178 Puchheim
14  * Germany
15  * rtems@embedded-brains.de
16  *
17  * The license and distribution terms for this file may be
18  * found in the file LICENSE in this distribution or at
19  * http://www.rtems.org/license/LICENSE.
20  */
21 
22 #ifndef LIBBSP_ARM_DUMMY_IRQ_H
23 #define LIBBSP_ARM_DUMMY_IRQ_H
24 
25 #ifndef ASM
26 
27 #include <rtems.h>
28 #include <rtems/irq.h>
29 #include <rtems/irq-extension.h>
30 
37 #define DUMMY_IRQ_WDT 0
38 #define DUMMY_IRQ_SOFTWARE 1
39 #define DUMMY_IRQ_ARM_CORE_0 2
40 #define DUMMY_IRQ_ARM_CORE_1 3
41 #define DUMMY_IRQ_TIMER_0 4
42 #define DUMMY_IRQ_TIMER_1 5
43 #define DUMMY_IRQ_UART_0 6
44 #define DUMMY_IRQ_UART_1 7
45 #define DUMMY_IRQ_PWM 8
46 #define DUMMY_IRQ_I2C_0 9
47 #define DUMMY_IRQ_SPI_SSP_0 10
48 #define DUMMY_IRQ_SSP_1 11
49 #define DUMMY_IRQ_PLL 12
50 #define DUMMY_IRQ_RTC 13
51 #define DUMMY_IRQ_EINT_0 14
52 #define DUMMY_IRQ_EINT_1 15
53 #define DUMMY_IRQ_EINT_2 16
54 #define DUMMY_IRQ_EINT_3 17
55 #define DUMMY_IRQ_ADC_0 18
56 #define DUMMY_IRQ_I2C_1 19
57 #define DUMMY_IRQ_BOD 20
58 #define DUMMY_IRQ_ETHERNET 21
59 #define DUMMY_IRQ_USB 22
60 #define DUMMY_IRQ_CAN 23
61 #define DUMMY_IRQ_SD_MMC 24
62 #define DUMMY_IRQ_DMA 25
63 #define DUMMY_IRQ_TIMER_2 26
64 #define DUMMY_IRQ_TIMER_3 27
65 #define DUMMY_IRQ_UART_2 28
66 #define DUMMY_IRQ_UART_3 29
67 #define DUMMY_IRQ_I2C_2 30
68 #define DUMMY_IRQ_I2S 31
69 
70 #define DUMMY_IRQ_PRIORITY_VALUE_MIN 0U
71 #define DUMMY_IRQ_PRIORITY_VALUE_MAX 15U
72 
76 #define BSP_INTERRUPT_VECTOR_MIN DUMMY_IRQ_WDT
77 
81 #define BSP_INTERRUPT_VECTOR_MAX DUMMY_IRQ_I2S
82 
83 void bsp_interrupt_dispatch(void);
84 
85 #if 0
86 void lpc24xx_irq_set_priority( rtems_vector_number vector, unsigned priority);
87 
88 unsigned lpc24xx_irq_priority( rtems_vector_number vector);
89 #endif
90 
93 #endif /* ASM */
94 
95 #endif /* LIBBSP_ARM_DUMMY_IRQ_H */
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47
Header file for the Interrupt Manager Extension.
void bsp_interrupt_dispatch(void)
Interrupt dispatch.
Definition: irq.c:57