source: rtems/c/src/lib/libbsp/arm/gdbarmsim/include/irq.h @ 44bb5cd0

4.104.11
Last change on this file since 44bb5cd0 was 44bb5cd0, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 1, 2009 at 9:48:42 PM

2009-10-01 Joel Sherrill <joel.sherrill@…>

  • .cvsignore, ChangeLog?, Makefile.am, bsp_specs, configure.ac, preinstall.am, console/.cvsignore, console/console-io.c, include/.cvsignore, include/bsp.h, include/irq.h, include/swi.h, start/.cvsignore, start/start.S, startup/.cvsignore, startup/bspreset.c, startup/bspstart.c, startup/linkcmds, startup/syscalls.c: New files.
  • 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 found in the file
18 * LICENSE in this distribution or at http://www.rtems.com/license/LICENSE.
19 */
20
21#ifndef LIBBSP_ARM_DUMMY_IRQ_H
22#define LIBBSP_ARM_DUMMY_IRQ_H
23
24#ifndef ASM
25
26#include <rtems.h>
27#include <rtems/irq.h>
28#include <rtems/irq-extension.h>
29
30/**
31 * @addtogroup bsp_interrupt
32 *
33 * @{
34 */
35
36#define DUMMY_IRQ_WDT 0
37#define DUMMY_IRQ_SOFTWARE 1
38#define DUMMY_IRQ_ARM_CORE_0 2
39#define DUMMY_IRQ_ARM_CORE_1 3
40#define DUMMY_IRQ_TIMER_0 4
41#define DUMMY_IRQ_TIMER_1 5
42#define DUMMY_IRQ_UART_0 6
43#define DUMMY_IRQ_UART_1 7
44#define DUMMY_IRQ_PWM 8
45#define DUMMY_IRQ_I2C_0 9
46#define DUMMY_IRQ_SPI_SSP_0 10
47#define DUMMY_IRQ_SSP_1 11
48#define DUMMY_IRQ_PLL 12
49#define DUMMY_IRQ_RTC 13
50#define DUMMY_IRQ_EINT_0 14
51#define DUMMY_IRQ_EINT_1 15
52#define DUMMY_IRQ_EINT_2 16
53#define DUMMY_IRQ_EINT_3 17
54#define DUMMY_IRQ_ADC_0 18
55#define DUMMY_IRQ_I2C_1 19
56#define DUMMY_IRQ_BOD 20
57#define DUMMY_IRQ_ETHERNET 21
58#define DUMMY_IRQ_USB 22
59#define DUMMY_IRQ_CAN 23
60#define DUMMY_IRQ_SD_MMC 24
61#define DUMMY_IRQ_DMA 25
62#define DUMMY_IRQ_TIMER_2 26
63#define DUMMY_IRQ_TIMER_3 27
64#define DUMMY_IRQ_UART_2 28
65#define DUMMY_IRQ_UART_3 29
66#define DUMMY_IRQ_I2C_2 30
67#define DUMMY_IRQ_I2S 31
68
69#define DUMMY_IRQ_PRIORITY_VALUE_MIN 0U
70#define DUMMY_IRQ_PRIORITY_VALUE_MAX 15U
71
72/**
73 * @brief Minimum vector number.
74 */
75#define BSP_INTERRUPT_VECTOR_MIN DUMMY_IRQ_WDT
76
77/**
78 * @brief Maximum vector number.
79 */
80#define BSP_INTERRUPT_VECTOR_MAX DUMMY_IRQ_I2S
81
82void bsp_interrupt_dispatch( void);
83
84#if 0
85void lpc24xx_irq_set_priority( rtems_vector_number vector, unsigned priority);
86
87unsigned lpc24xx_irq_priority( rtems_vector_number vector);
88#endif
89
90/** @} */
91
92#endif /* ASM */
93
94#endif /* LIBBSP_ARM_DUMMY_IRQ_H */
Note: See TracBrowser for help on using the repository browser.