RTEMS 7.0-rc1
Loading...
Searching...
No Matches
irq.h
Go to the documentation of this file.
1
9/*
10 * Copyright (C) 2010 embedded brains GmbH & Co. KG
11 * Copyright (C) 2004 by Jay Monkman <jtm@lopingdog.com>
12 *
13 * Redistribution and use in source and binary forms, with or without
14 * modification, are permitted provided that the following conditions
15 * are met:
16 * 1. Redistributions of source code must retain the above copyright
17 * notice, this list of conditions and the following disclaimer.
18 * 2. Redistributions in binary form must reproduce the above copyright
19 * notice, this list of conditions and the following disclaimer in the
20 * documentation and/or other materials provided with the distribution.
21 *
22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
26 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32 * POSSIBILITY OF SUCH DAMAGE.
33 */
34
35#ifndef __IRQ_H__
36#define __IRQ_H__
37
38#ifndef __asm__
39
40#include <rtems.h>
41#include <rtems/irq.h>
42#include <rtems/irq-extension.h>
43
44#endif /* __asm__ */
45
54/* possible interrupt sources on the AT91RM9200 */
55#define AT91RM9200_INT_FIQ 0
56#define AT91RM9200_INT_SYSIRQ 1
57#define AT91RM9200_INT_PIOA 2
58#define AT91RM9200_INT_PIOB 3
59#define AT91RM9200_INT_PIOC 4
60#define AT91RM9200_INT_PIOD 5
61#define AT91RM9200_INT_US0 6
62#define AT91RM9200_INT_US1 7
63#define AT91RM9200_INT_US2 8
64#define AT91RM9200_INT_US3 9
65#define AT91RM9200_INT_MCI 10
66#define AT91RM9200_INT_UDP 11
67#define AT91RM9200_INT_TWI 12
68#define AT91RM9200_INT_SPI 13
69#define AT91RM9200_INT_SSC0 14
70#define AT91RM9200_INT_SSC1 15
71#define AT91RM9200_INT_SSC2 16
72#define AT91RM9200_INT_TC0 17
73#define AT91RM9200_INT_TC1 18
74#define AT91RM9200_INT_TC2 19
75#define AT91RM9200_INT_TC3 20
76#define AT91RM9200_INT_TC4 21
77#define AT91RM9200_INT_TC5 22
78#define AT91RM9200_INT_UHP 23
79#define AT91RM9200_INT_EMAC 24
80#define AT91RM9200_INT_IRQ0 25
81#define AT91RM9200_INT_IRQ1 26
82#define AT91RM9200_INT_IRQ2 27
83#define AT91RM9200_INT_IRQ3 28
84#define AT91RM9200_INT_IRQ4 28
85#define AT91RM9200_INT_IRQ5 30
86#define AT91RM9200_INT_IRQ6 31
87#define AT91RM9200_MAX_INT 32
88
89#define BSP_INTERRUPT_VECTOR_COUNT AT91RM9200_MAX_INT
90
91#endif /* __IRQ_H__ */
Interrupt Handler Support.
This header file is provided for backward compatiblility.
This header file defines the RTEMS Classic API.