source: rtems/bsps/arm/lm3s69xx/include/bsp/irq.h @ ba619b7f

Last change on this file since ba619b7f was ba619b7f, checked in by Joel Sherrill <joel@…>, on 03/01/22 at 21:38:20

bsps/arm/: Scripted embedded brains header file clean up

Updates #4625.

  • Property mode set to 100644
File size: 2.7 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup lm3s69xx_interrupt
5 *
6 * @brief Interrupt definitions.
7 */
8
9/*
10 * Copyright (c) 2013 Eugeniy Meshcheryakov <eugen@debian.org>
11 *
12 * Copyright (c) 2011 Sebastian Huber.  All rights reserved.
13 *
14 * The license and distribution terms for this file may be
15 * found in the file LICENSE in this distribution or at
16 * http://www.rtems.org/license/LICENSE.
17 */
18
19#ifndef LIBBSP_ARM_LM3S69XX_IRQ_H
20#define LIBBSP_ARM_LM3S69XX_IRQ_H
21
22#ifndef ASM
23
24#include <rtems.h>
25#include <rtems/irq.h>
26#include <rtems/irq-extension.h>
27#include <bspopts.h>
28
29/**
30 * @defgroup lm3s69xx_interrupt Interrupt Support
31 *
32 * @ingroup RTEMSBSPsARMLM3S69XX
33 *
34 * @brief Interrupt support.
35 */
36
37#endif /* ASM */
38
39#define LM3S69XX_IRQ_GPIO_PORT_A 0
40#define LM3S69XX_IRQ_GPIO_PORT_B 1
41#define LM3S69XX_IRQ_GPIO_PORT_C 2
42#define LM3S69XX_IRQ_GPIO_PORT_D 3
43#define LM3S69XX_IRQ_GPIO_PORT_E 4
44#define LM3S69XX_IRQ_UART_0 5
45#define LM3S69XX_IRQ_UART_1 6
46#define LM3S69XX_IRQ_SSI_0 7
47#define LM3S69XX_IRQ_I2C_0 8
48#define LM3S69XX_IRQ_PWM_FAULT 9
49#define LM3S69XX_IRQ_PWM_GENERATOR_0 10
50#define LM3S69XX_IRQ_PWM_GENERATOR_1 11
51#define LM3S69XX_IRQ_PWM_GENERATOR_2 12
52#define LM3S69XX_IRQ_QEI_0 13
53#define LM3S69XX_IRQ_ADC0_SEQUENCE_0 14
54#define LM3S69XX_IRQ_ADC0_SEQUENCE_1 15
55#define LM3S69XX_IRQ_ADC0_SEQUENCE_2 16
56#define LM3S69XX_IRQ_ADC0_SEQUENCE_3 17
57#define LM3S69XX_IRQ_WATCHDOG_TIMER_0 18
58#define LM3S69XX_IRQ_TIMER_0_A 19
59#define LM3S69XX_IRQ_TIMER_0_B 20
60#define LM3S69XX_IRQ_TIMER_1_A 21
61#define LM3S69XX_IRQ_TIMER_1_B 22
62#define LM3S69XX_IRQ_TIMER_2_A 23
63#define LM3S69XX_IRQ_TIMER_2_B 24
64#define LM3S69XX_IRQ_ANALOG_COMPARATOR_0 25
65#define LM3S69XX_IRQ_ANALOG_COMPARATOR_1 26
66#define LM3S69XX_IRQ_SYSTEM_CONTROL 28
67#define LM3S69XX_IRQ_FLASH_MEMORY_CONTROL 29
68#define LM3S69XX_IRQ_GPIO_PORT_F 30
69#define LM3S69XX_IRQ_GPIO_PORT_G 31
70/* NOTE: lm3s3749 */
71#define LM3S69XX_IRQ_GPIO_PORT_H 32
72#define LM3S69XX_IRQ_UART_2 33
73/* NOTE: lm3s3749 */
74#define LM3S69XX_IRQ_SSI_1 34
75#define LM3S69XX_IRQ_TIMER_3_A 35
76#define LM3S69XX_IRQ_TIMER_3_B 36
77#define LM3S69XX_IRQ_I2C_1 37
78
79/* NOTE: lm3s6965 */
80#define LM3S69XX_IRQ_QEI_1 38
81#define LM3S69XX_IRQ_ETHERNET_CONTROLLER 42
82
83#define LM3S69XX_IRQ_HIBERNATION_MODULE 43
84
85/* NOTE: lm3s3749 */
86#define LM3S69XX_IRQ_USB 44
87#define LM3S69XX_IRQ_PWM_GENERATOR_3 45
88#define LM3S69XX_IRQ_UDMA_SOFTWARE 46
89#define LM3S69XX_IRQ_UDMA_ERROR 47
90
91#define LM3S69XX_IRQ_PRIORITY_VALUE_MIN 0
92#define LM3S69XX_IRQ_PRIORITY_VALUE_MAX 7
93#define LM3S69XX_IRQ_PRIORITY_COUNT (LM3S69XX_IRQ_PRIORITY_VALUE_MAX + 1)
94#define LM3S69XX_IRQ_PRIORITY_HIGHEST LM3S69XX_IRQ_PRIORITY_VALUE_MIN
95#define LM3S69XX_IRQ_PRIORITY_LOWEST LM3S69XX_IRQ_PRIORITY_VALUE_MAX
96
97/* NOTE: for lm3s6965 - 43 */
98#define BSP_INTERRUPT_VECTOR_COUNT 48
99
100#endif /* LIBBSP_ARM_LM3S69XX_IRQ_H */
Note: See TracBrowser for help on using the repository browser.