source: rtems/c/src/lib/libbsp/arm/stm32f4/include/irq.h @ e230fb4

4.115
Last change on this file since e230fb4 was e230fb4, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 29, 2012 at 7:23:14 PM

bsp/stm32f4: New BSP

  • Property mode set to 100644
File size: 3.6 KB
Line 
1/*
2 * Copyright (c) 2012 Sebastian Huber.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Obere Lagerstr. 30
6 *  82178 Puchheim
7 *  Germany
8 *  <rtems@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.com/license/LICENSE.
13 */
14
15#ifndef LIBBSP_ARM_STM32F4_IRQ_H
16#define LIBBSP_ARM_STM32F4_IRQ_H
17
18#ifndef ASM
19
20#include <rtems.h>
21#include <rtems/irq.h>
22#include <rtems/irq-extension.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif /* __cplusplus */
27
28#ifdef __cplusplus
29}
30#endif /* __cplusplus */
31
32#endif /* ASM */
33
34#define STM32F4_IRQ_WWDG 0
35#define STM32F4_IRQ_PVD 1
36#define STM32F4_IRQ_TAMP_STAMP 2
37#define STM32F4_IRQ_RTC_WKUP 3
38#define STM32F4_IRQ_FLASH 4
39#define STM32F4_IRQ_RCC 5
40#define STM32F4_IRQ_EXTI0 6
41#define STM32F4_IRQ_EXTI1 7
42#define STM32F4_IRQ_EXTI2 8
43#define STM32F4_IRQ_EXTI3 9
44#define STM32F4_IRQ_EXTI4 10
45#define STM32F4_IRQ_DMA1_STREAM0 11
46#define STM32F4_IRQ_DMA1_STREAM1 12
47#define STM32F4_IRQ_DMA1_STREAM2 13
48#define STM32F4_IRQ_DMA1_STREAM3 14
49#define STM32F4_IRQ_DMA1_STREAM4 15
50#define STM32F4_IRQ_DMA1_STREAM5 16
51#define STM32F4_IRQ_DMA1_STREAM6 17
52#define STM32F4_IRQ_ADC 18
53#define STM32F4_IRQ_CAN1_TX 19
54#define STM32F4_IRQ_CAN1_RX0 20
55#define STM32F4_IRQ_CAN1_RX1 21
56#define STM32F4_IRQ_CAN1_SCE 22
57#define STM32F4_IRQ_EXTI9_5 23
58#define STM32F4_IRQ_TIM1_BRK_TIM9 24
59#define STM32F4_IRQ_TIM1_UP_TIM10 25
60#define STM32F4_IRQ_TIM1_TRG_COM_TIM11 26
61#define STM32F4_IRQ_TIM1_CC 27
62#define STM32F4_IRQ_TIM2 28
63#define STM32F4_IRQ_TIM3 29
64#define STM32F4_IRQ_TIM4 30
65#define STM32F4_IRQ_I2C1_EV 31
66#define STM32F4_IRQ_I2C1_ER 32
67#define STM32F4_IRQ_I2C2_EV 33
68#define STM32F4_IRQ_I2C2_ER 34
69#define STM32F4_IRQ_SPI1 35
70#define STM32F4_IRQ_SPI2 36
71#define STM32F4_IRQ_USART1 37
72#define STM32F4_IRQ_USART2 38
73#define STM32F4_IRQ_USART3 39
74#define STM32F4_IRQ_EXTI15_10 40
75#define STM32F4_IRQ_RTC_ALARM 41
76#define STM32F4_IRQ_OTG_FS_WKUP 42
77#define STM32F4_IRQ_TIM8_BRK_TIM12 43
78#define STM32F4_IRQ_TIM8_UP_TIM13 44
79#define STM32F4_IRQ_TIM8_TRG_COM_TIM14 45
80#define STM32F4_IRQ_TIM8_CC 46
81#define STM32F4_IRQ_DMA1_STREAM7 47
82#define STM32F4_IRQ_FSMC 48
83#define STM32F4_IRQ_SDIO 49
84#define STM32F4_IRQ_TIM5 50
85#define STM32F4_IRQ_SPI3 51
86#define STM32F4_IRQ_UART4 52
87#define STM32F4_IRQ_UART5 53
88#define STM32F4_IRQ_TIM6_DAC 54
89#define STM32F4_IRQ_TIM7 55
90#define STM32F4_IRQ_DMA2_STREAM0 56
91#define STM32F4_IRQ_DMA2_STREAM1 57
92#define STM32F4_IRQ_DMA2_STREAM2 58
93#define STM32F4_IRQ_DMA2_STREAM3 59
94#define STM32F4_IRQ_DMA2_STREAM4 60
95#define STM32F4_IRQ_ETH 61
96#define STM32F4_IRQ_ETH_WKUP 62
97#define STM32F4_IRQ_CAN2_TX 63
98#define STM32F4_IRQ_CAN2_RX0 64
99#define STM32F4_IRQ_CAN2_RX1 65
100#define STM32F4_IRQ_CAN2_SCE 66
101#define STM32F4_IRQ_OTG_FS 67
102#define STM32F4_IRQ_DMA2_STREAM5 68
103#define STM32F4_IRQ_DMA2_STREAM6 69
104#define STM32F4_IRQ_DMA2_STREAM7 70
105#define STM32F4_IRQ_USART6 71
106#define STM32F4_IRQ_I2C3_EV 72
107#define STM32F4_IRQ_I2C3_ER 73
108#define STM32F4_IRQ_OTG_HS_EP1_OUT 74
109#define STM32F4_IRQ_OTG_HS_EP1_IN 75
110#define STM32F4_IRQ_OTG_HS_WKUP 76
111#define STM32F4_IRQ_OTG_HS 77
112#define STM32F4_IRQ_DCMI 78
113#define STM32F4_IRQ_CRYP 79
114#define STM32F4_IRQ_HASH_RNG 80
115#define STM32F4_IRQ_FPU 81
116
117#define STM32F4_IRQ_PRIORITY_VALUE_MIN 0
118#define STM32F4_IRQ_PRIORITY_VALUE_MAX 15
119#define STM32F4_IRQ_PRIORITY_COUNT (STM32F4_IRQ_PRIORITY_VALUE_MAX + 1)
120#define STM32F4_IRQ_PRIORITY_HIGHEST STM32F4_IRQ_PRIORITY_VALUE_MIN
121#define STM32F4_IRQ_PRIORITY_LOWEST STM32F4_IRQ_PRIORITY_VALUE_MAX
122
123#define BSP_INTERRUPT_VECTOR_MIN 0
124#define BSP_INTERRUPT_VECTOR_MAX 81
125
126#endif /* LIBBSP_ARM_STM32F4_IRQ_H */
Note: See TracBrowser for help on using the repository browser.