RTEMS  5.0.0
irq.h
Go to the documentation of this file.
1 
9 /*
10  * Copyright © 2013 Eugeniy Meshcheryakov <eugen@debian.org>
11  *
12  * Copyright (c) 2011 Sebastian Huber. All rights reserved.
13  *
14  * embedded brains GmbH
15  * Obere Lagerstr. 30
16  * 82178 Puchheim
17  * Germany
18  * <rtems@embedded-brains.de>
19  *
20  * The license and distribution terms for this file may be
21  * found in the file LICENSE in this distribution or at
22  * http://www.rtems.org/license/LICENSE.
23  */
24 
25 #ifndef LIBBSP_ARM_LM3S69XX_IRQ_H
26 #define LIBBSP_ARM_LM3S69XX_IRQ_H
27 
28 #ifndef ASM
29 
30 #include <rtems.h>
31 #include <rtems/irq.h>
32 #include <rtems/irq-extension.h>
33 #include <bspopts.h>
34 
43 #endif /* ASM */
44 
45 #define LM3S69XX_IRQ_GPIO_PORT_A 0
46 #define LM3S69XX_IRQ_GPIO_PORT_B 1
47 #define LM3S69XX_IRQ_GPIO_PORT_C 2
48 #define LM3S69XX_IRQ_GPIO_PORT_D 3
49 #define LM3S69XX_IRQ_GPIO_PORT_E 4
50 #define LM3S69XX_IRQ_UART_0 5
51 #define LM3S69XX_IRQ_UART_1 6
52 #define LM3S69XX_IRQ_SSI_0 7
53 #define LM3S69XX_IRQ_I2C_0 8
54 #define LM3S69XX_IRQ_PWM_FAULT 9
55 #define LM3S69XX_IRQ_PWM_GENERATOR_0 10
56 #define LM3S69XX_IRQ_PWM_GENERATOR_1 11
57 #define LM3S69XX_IRQ_PWM_GENERATOR_2 12
58 #define LM3S69XX_IRQ_QEI_0 13
59 #define LM3S69XX_IRQ_ADC0_SEQUENCE_0 14
60 #define LM3S69XX_IRQ_ADC0_SEQUENCE_1 15
61 #define LM3S69XX_IRQ_ADC0_SEQUENCE_2 16
62 #define LM3S69XX_IRQ_ADC0_SEQUENCE_3 17
63 #define LM3S69XX_IRQ_WATCHDOG_TIMER_0 18
64 #define LM3S69XX_IRQ_TIMER_0_A 19
65 #define LM3S69XX_IRQ_TIMER_0_B 20
66 #define LM3S69XX_IRQ_TIMER_1_A 21
67 #define LM3S69XX_IRQ_TIMER_1_B 22
68 #define LM3S69XX_IRQ_TIMER_2_A 23
69 #define LM3S69XX_IRQ_TIMER_2_B 24
70 #define LM3S69XX_IRQ_ANALOG_COMPARATOR_0 25
71 #define LM3S69XX_IRQ_ANALOG_COMPARATOR_1 26
72 #define LM3S69XX_IRQ_SYSTEM_CONTROL 28
73 #define LM3S69XX_IRQ_FLASH_MEMORY_CONTROL 29
74 #define LM3S69XX_IRQ_GPIO_PORT_F 30
75 #define LM3S69XX_IRQ_GPIO_PORT_G 31
76 /* NOTE: lm3s3749 */
77 #define LM3S69XX_IRQ_GPIO_PORT_H 32
78 #define LM3S69XX_IRQ_UART_2 33
79 /* NOTE: lm3s3749 */
80 #define LM3S69XX_IRQ_SSI_1 34
81 #define LM3S69XX_IRQ_TIMER_3_A 35
82 #define LM3S69XX_IRQ_TIMER_3_B 36
83 #define LM3S69XX_IRQ_I2C_1 37
84 
85 /* NOTE: lm3s6965 */
86 #define LM3S69XX_IRQ_QEI_1 38
87 #define LM3S69XX_IRQ_ETHERNET_CONTROLLER 42
88 
89 #define LM3S69XX_IRQ_HIBERNATION_MODULE 43
90 
91 /* NOTE: lm3s3749 */
92 #define LM3S69XX_IRQ_USB 44
93 #define LM3S69XX_IRQ_PWM_GENERATOR_3 45
94 #define LM3S69XX_IRQ_UDMA_SOFTWARE 46
95 #define LM3S69XX_IRQ_UDMA_ERROR 47
96 
97 #define LM3S69XX_IRQ_PRIORITY_VALUE_MIN 0
98 #define LM3S69XX_IRQ_PRIORITY_VALUE_MAX 7
99 #define LM3S69XX_IRQ_PRIORITY_COUNT (LM3S69XX_IRQ_PRIORITY_VALUE_MAX + 1)
100 #define LM3S69XX_IRQ_PRIORITY_HIGHEST LM3S69XX_IRQ_PRIORITY_VALUE_MIN
101 #define LM3S69XX_IRQ_PRIORITY_LOWEST LM3S69XX_IRQ_PRIORITY_VALUE_MAX
102 
103 #define BSP_INTERRUPT_VECTOR_MIN 0
104 /* NOTE: for lm3s6965 - 43 */
105 #define BSP_INTERRUPT_VECTOR_MAX 47
106 
107 #endif /* LIBBSP_ARM_LM3S69XX_IRQ_H */
Header file for the Interrupt Manager Extension.