source: rtems/c/src/lib/libcpu/arm/at91rm9200/irq/irq.h @ c499856

4.11
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on Mar 20, 2014 at 9:10:47 PM

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 1.8 KB
Line 
1/*
2 * Interrupt handler Header file
3 *
4 * Copyright (c) 2010 embedded brains GmbH.
5 *
6 * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.rtems.org/license/LICENSE.
11 */
12
13#ifndef __IRQ_H__
14#define __IRQ_H__
15
16#ifndef __asm__
17
18#include <rtems.h>
19#include <rtems/irq.h>
20#include <rtems/irq-extension.h>
21
22#endif /* __asm__ */
23
24/* possible interrupt sources on the AT91RM9200 */
25#define AT91RM9200_INT_FIQ        0
26#define AT91RM9200_INT_SYSIRQ     1
27#define AT91RM9200_INT_PIOA       2
28#define AT91RM9200_INT_PIOB       3
29#define AT91RM9200_INT_PIOC       4
30#define AT91RM9200_INT_PIOD       5
31#define AT91RM9200_INT_US0        6
32#define AT91RM9200_INT_US1        7
33#define AT91RM9200_INT_US2        8
34#define AT91RM9200_INT_US3        9
35#define AT91RM9200_INT_MCI       10
36#define AT91RM9200_INT_UDP       11
37#define AT91RM9200_INT_TWI       12
38#define AT91RM9200_INT_SPI       13
39#define AT91RM9200_INT_SSC0      14
40#define AT91RM9200_INT_SSC1      15
41#define AT91RM9200_INT_SSC2      16
42#define AT91RM9200_INT_TC0       17
43#define AT91RM9200_INT_TC1       18
44#define AT91RM9200_INT_TC2       19
45#define AT91RM9200_INT_TC3       20
46#define AT91RM9200_INT_TC4       21
47#define AT91RM9200_INT_TC5       22
48#define AT91RM9200_INT_UHP       23
49#define AT91RM9200_INT_EMAC      24
50#define AT91RM9200_INT_IRQ0      25
51#define AT91RM9200_INT_IRQ1      26
52#define AT91RM9200_INT_IRQ2      27
53#define AT91RM9200_INT_IRQ3      28
54#define AT91RM9200_INT_IRQ4      28
55#define AT91RM9200_INT_IRQ5      30
56#define AT91RM9200_INT_IRQ6      31
57#define AT91RM9200_MAX_INT       32
58
59#define BSP_INTERRUPT_VECTOR_MIN 0
60
61#define BSP_INTERRUPT_VECTOR_MAX (AT91RM9200_MAX_INT - 1)
62
63#endif /* __IRQ_H__ */
Note: See TracBrowser for help on using the repository browser.