source: rtems/c/src/lib/libbsp/arm/lpc24xx/include/irq.h @ 5aeed17

4.104.115
Last change on this file since 5aeed17 was 5aeed17, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Sep 22, 2008 at 11:30:09 AM

lpc24xx: new BSP

  • Property mode set to 100644
File size: 1.8 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup bsp_interrupt
5 *
6 * @brief LPC24XX 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_LPC24XX_IRQ_H
22#define LIBBSP_ARM_LPC24XX_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 LPC24XX_IRQ_WDT 0
37#define LPC24XX_IRQ_SOFTWARE 1
38#define LPC24XX_IRQ_ARM CORE_0 2
39#define LPC24XX_IRQ_ARM CORE_1 3
40#define LPC24XX_IRQ_TIMER_0 4
41#define LPC24XX_IRQ_TIMER_1 5
42#define LPC24XX_IRQ_UART_0 6
43#define LPC24XX_IRQ_UART_1 7
44#define LPC24XX_IRQ_PWM 8
45#define LPC24XX_IRQ_I2C_0 9
46#define LPC24XX_IRQ_SPI_SSP0 10
47#define LPC24XX_IRQ_SSP1 11
48#define LPC24XX_IRQ_PLL 12
49#define LPC24XX_IRQ_RTC 13
50#define LPC24XX_IRQ_EINT_0 14
51#define LPC24XX_IRQ_EINT_1 15
52#define LPC24XX_IRQ_EINT_2 16
53#define LPC24XX_IRQ_EINT_3 17
54#define LPC24XX_IRQ_ADC_0 18
55#define LPC24XX_IRQ_I2C_1 19
56#define LPC24XX_IRQ_BOD 20
57#define LPC24XX_IRQ_ETHERNET 21
58#define LPC24XX_IRQ_USB 22
59#define LPC24XX_IRQ_CAN 23
60#define LPC24XX_IRQ_SD_MMC 24
61#define LPC24XX_IRQ_DMA 25
62#define LPC24XX_IRQ_TIMER_2 26
63#define LPC24XX_IRQ_TIMER_3 27
64#define LPC24XX_IRQ_UART2 28
65#define LPC24XX_IRQ_UART3 29
66#define LPC24XX_IRQ_I2C_2 30
67#define LPC24XX_IRQ_I2S 31
68
69/**
70 * @brief Minimum vector number.
71 */
72#define BSP_INTERRUPT_VECTOR_MIN LPC24XX_IRQ_WDT
73
74/**
75 * @brief Maximum vector number.
76 */
77#define BSP_INTERRUPT_VECTOR_MAX LPC24XX_IRQ_I2S
78
79#define BSP_FEATURE_IRQ_EXTENSION
80
81/** @} */
82
83#endif /* ASM */
84
85#endif /* LIBBSP_ARM_LPC24XX_IRQ_H */
Note: See TracBrowser for help on using the repository browser.