RTEMS 7.0-rc1
Loading...
Searching...
No Matches
irq.h
1/*
2 * Copyright (C) 2010 embedded brains GmbH & Co. KG
3 * Copyright (C) 2004 by Jay Monkman <jtm@lopingdog.com>
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 *
14 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
18 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
20 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
23 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24 * POSSIBILITY OF SUCH DAMAGE.
25 */
26
27/*
28 * Interrupt handler Header file
29 */
30
31#ifndef __IRQ_H__
32#define __IRQ_H__
33
34#ifndef __asm__
35
36#include <rtems.h>
37#include <rtems/irq.h>
38#include <rtems/irq-extension.h>
39
40#endif /* __asm__ */
41
42/* possible interrupt sources on the MC9328MXL */
43#define BSP_INT_UART3_PFERR 0
44#define BSP_INT_UART3_RTS 1
45#define BSP_INT_UART3_DTR 2
46#define BSP_INT_UART3_UARTC 3
47#define BSP_INT_UART3_TX 4
48#define BSP_INT_PEN_UP 5
49#define BSP_INT_CSI 6
50#define BSP_INT_MMA_MAC 7
51#define BSP_INT_MMA 8
52#define BSP_INT_COMP 9
53#define BSP_INT_MSIRQ 10
54#define BSP_INT_GPIO_PORTA 11
55#define BSP_INT_GPIO_PORTB 12
56#define BSP_INT_GPIO_PORTC 13
57#define BSP_INT_LCDC 14
58#define BSP_INT_SIM_IRQ 15
59#define BSP_INT_SIM_DATA 16
60#define BSP_INT_RTC 17
61#define BSP_INT_RTC_SAM 18
62#define BSP_INT_UART2_PFERR 19
63#define BSP_INT_UART2_RTS 20
64#define BSP_INT_UART2_DTR 21
65#define BSP_INT_UART2_UARTC 22
66#define BSP_INT_UART2_TX 23
67#define BSP_INT_UART2_RX 24
68#define BSP_INT_UART1_PFERR 25
69#define BSP_INT_UART1_RTS 26
70#define BSP_INT_UART1_DTR 27
71#define BSP_INT_UART1_UARTC 28
72#define BSP_INT_UART1_TX 29
73#define BSP_INT_UART1_RX 30
74#define BSP_INT_RES31 31
75#define BSP_INT_RES32 32
76#define BSP_INT_PEN_DATA 33
77#define BSP_INT_PWM 34
78#define BSP_INT_MMC_IRQ 35
79#define BSP_INT_SSI2_TX 36
80#define BSP_INT_SSI2_RX 37
81#define BSP_INT_SSI2_ERR 38
82#define BSP_INT_I2C 39
83#define BSP_INT_SPI2 40
84#define BSP_INT_SPI1 41
85#define BSP_INT_SSI_TX 42
86#define BSP_INT_SSI_TX_ERR 43
87#define BSP_INT_SSI_RX 44
88#define BSP_INT_SSI_RX_ERR 45
89#define BSP_INT_TOUCH 46
90#define BSP_INT_USBD0 47
91#define BSP_INT_USBD1 48
92#define BSP_INT_USBD2 49
93#define BSP_INT_USBD3 50
94#define BSP_INT_USBD4 51
95#define BSP_INT_USBD5 52
96#define BSP_INT_USBD6 53
97#define BSP_INT_UART3_RX 54
98#define BSP_INT_BTSYS 55
99#define BSP_INT_BTTIM 56
100#define BSP_INT_BTWUI 57
101#define BSP_INT_TIMER2 58
102#define BSP_INT_TIMER1 59
103#define BSP_INT_DMA_ERR 60
104#define BSP_INT_DMA 61
105#define BSP_INT_GPIO_PORTD 62
106#define BSP_INT_WDT 63
107#define BSP_MAX_INT 64
108
109#define BSP_INTERRUPT_VECTOR_COUNT BSP_MAX_INT
110
111#endif /* __IRQ_H__ */
Interrupt Handler Support.
This header file is provided for backward compatiblility.
This header file defines the RTEMS Classic API.