RTEMS  5.0.0
irq.h
Go to the documentation of this file.
1 
9 /*
10  * Interrupt handler Header file
11  *
12  * Copyright (c) 2010 embedded brains GmbH.
13  *
14  * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
15  *
16  * The license and distribution terms for this file may be
17  * found in the file LICENSE in this distribution or at
18  * http://www.rtems.org/license/LICENSE.
19  */
20 
21 #ifndef __IRQ_H__
22 #define __IRQ_H__
23 
24 #ifndef __asm__
25 
26 #include <rtems.h>
27 #include <rtems/irq.h>
28 #include <rtems/irq-extension.h>
29 
30 #endif /* __asm__ */
31 
40 /* possible interrupt sources on the AT91RM9200 */
41 #define AT91RM9200_INT_FIQ 0
42 #define AT91RM9200_INT_SYSIRQ 1
43 #define AT91RM9200_INT_PIOA 2
44 #define AT91RM9200_INT_PIOB 3
45 #define AT91RM9200_INT_PIOC 4
46 #define AT91RM9200_INT_PIOD 5
47 #define AT91RM9200_INT_US0 6
48 #define AT91RM9200_INT_US1 7
49 #define AT91RM9200_INT_US2 8
50 #define AT91RM9200_INT_US3 9
51 #define AT91RM9200_INT_MCI 10
52 #define AT91RM9200_INT_UDP 11
53 #define AT91RM9200_INT_TWI 12
54 #define AT91RM9200_INT_SPI 13
55 #define AT91RM9200_INT_SSC0 14
56 #define AT91RM9200_INT_SSC1 15
57 #define AT91RM9200_INT_SSC2 16
58 #define AT91RM9200_INT_TC0 17
59 #define AT91RM9200_INT_TC1 18
60 #define AT91RM9200_INT_TC2 19
61 #define AT91RM9200_INT_TC3 20
62 #define AT91RM9200_INT_TC4 21
63 #define AT91RM9200_INT_TC5 22
64 #define AT91RM9200_INT_UHP 23
65 #define AT91RM9200_INT_EMAC 24
66 #define AT91RM9200_INT_IRQ0 25
67 #define AT91RM9200_INT_IRQ1 26
68 #define AT91RM9200_INT_IRQ2 27
69 #define AT91RM9200_INT_IRQ3 28
70 #define AT91RM9200_INT_IRQ4 28
71 #define AT91RM9200_INT_IRQ5 30
72 #define AT91RM9200_INT_IRQ6 31
73 #define AT91RM9200_MAX_INT 32
74 
75 #define BSP_INTERRUPT_VECTOR_MIN 0
76 
77 #define BSP_INTERRUPT_VECTOR_MAX (AT91RM9200_MAX_INT - 1)
78 
79 #endif /* __IRQ_H__ */
Header file for the Interrupt Manager Extension.