source: rtems/c/src/lib/libbsp/arm/gdbarmsim/include/irq.h @ 0e27119

4.115
Last change on this file since 0e27119 was 0e27119, checked in by Joel Sherrill <joel.sherrill@…>, on 10/11/12 at 20:52:18

Use proper 3 line form of license text

  • Property mode set to 100644
File size: 1.9 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup bsp_interrupt
5 *
6 * @brief Dummy interrupt definitions.
7 */
8
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.com/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
31/**
32 * @addtogroup bsp_interrupt
33 *
34 * @{
35 */
36
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
73/**
74 * @brief Minimum vector number.
75 */
76#define BSP_INTERRUPT_VECTOR_MIN DUMMY_IRQ_WDT
77
78/**
79 * @brief Maximum vector number.
80 */
81#define BSP_INTERRUPT_VECTOR_MAX DUMMY_IRQ_I2S
82
83void bsp_interrupt_dispatch( void);
84
85#if 0
86void lpc24xx_irq_set_priority( rtems_vector_number vector, unsigned priority);
87
88unsigned lpc24xx_irq_priority( rtems_vector_number vector);
89#endif
90
91/** @} */
92
93#endif /* ASM */
94
95#endif /* LIBBSP_ARM_DUMMY_IRQ_H */
Note: See TracBrowser for help on using the repository browser.