1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261 | --
-- Copyright (C) 2017, AdaCore
--
-- This spec has been automatically generated from STM32F40x.svd
-- This is a version for the STM32F40x MCU
package Ada.Interrupts.Names is
-- All identifiers in this unit are implementation defined
pragma Implementation_Defined;
----------------
-- Interrupts --
----------------
-- System tick
Sys_Tick_Interrupt : constant Interrupt_ID := -1;
-- Window Watchdog interrupt
WWDG_Interrupt : constant Interrupt_ID := 0;
-- PVD through EXTI line detection interrupt
PVD_Interrupt : constant Interrupt_ID := 1;
-- Tamper and TimeStamp interrupts through the EXTI line
TAMP_STAMP_Interrupt : constant Interrupt_ID := 2;
-- RTC Wakeup interrupt through the EXTI line
RTC_WKUP_Interrupt : constant Interrupt_ID := 3;
-- RCC global interrupt
RCC_Interrupt : constant Interrupt_ID := 5;
-- EXTI Line0 interrupt
EXTI0_Interrupt : constant Interrupt_ID := 6;
-- EXTI Line1 interrupt
EXTI1_Interrupt : constant Interrupt_ID := 7;
-- EXTI Line2 interrupt
EXTI2_Interrupt : constant Interrupt_ID := 8;
-- EXTI Line3 interrupt
EXTI3_Interrupt : constant Interrupt_ID := 9;
-- EXTI Line4 interrupt
EXTI4_Interrupt : constant Interrupt_ID := 10;
-- DMA1 Stream0 global interrupt
DMA1_Stream0_Interrupt : constant Interrupt_ID := 11;
-- DMA1 Stream1 global interrupt
DMA1_Stream1_Interrupt : constant Interrupt_ID := 12;
-- DMA1 Stream2 global interrupt
DMA1_Stream2_Interrupt : constant Interrupt_ID := 13;
-- DMA1 Stream3 global interrupt
DMA1_Stream3_Interrupt : constant Interrupt_ID := 14;
-- DMA1 Stream4 global interrupt
DMA1_Stream4_Interrupt : constant Interrupt_ID := 15;
-- DMA1 Stream5 global interrupt
DMA1_Stream5_Interrupt : constant Interrupt_ID := 16;
-- DMA1 Stream6 global interrupt
DMA1_Stream6_Interrupt : constant Interrupt_ID := 17;
-- ADC1 global interrupt
ADC_Interrupt : constant Interrupt_ID := 18;
-- CAN1 TX interrupts
CAN1_TX_Interrupt : constant Interrupt_ID := 19;
-- CAN1 RX0 interrupts
CAN1_RX0_Interrupt : constant Interrupt_ID := 20;
-- CAN1 RX1 interrupts
CAN1_RX1_Interrupt : constant Interrupt_ID := 21;
-- CAN1 SCE interrupt
CAN1_SCE_Interrupt : constant Interrupt_ID := 22;
-- EXTI Line[9:5] interrupts
EXTI9_5_Interrupt : constant Interrupt_ID := 23;
-- TIM1 Break interrupt and TIM9 global interrupt
TIM1_BRK_TIM9_Interrupt : constant Interrupt_ID := 24;
-- TIM1 Update interrupt and TIM10 global interrupt
TIM1_UP_TIM10_Interrupt : constant Interrupt_ID := 25;
-- TIM1 Trigger and Commutation interrupts and TIM11 global interrupt
TIM1_TRG_COM_TIM11_Interrupt : constant Interrupt_ID := 26;
-- TIM1 Capture Compare interrupt
TIM1_CC_Interrupt : constant Interrupt_ID := 27;
-- TIM2 global interrupt
TIM2_Interrupt : constant Interrupt_ID := 28;
-- TIM3 global interrupt
TIM3_Interrupt : constant Interrupt_ID := 29;
-- TIM4 global interrupt
TIM4_Interrupt : constant Interrupt_ID := 30;
-- I2C1 event interrupt
I2C1_EV_Interrupt : constant Interrupt_ID := 31;
-- I2C1 error interrupt
I2C1_ER_Interrupt : constant Interrupt_ID := 32;
-- I2C2 event interrupt
I2C2_EV_Interrupt : constant Interrupt_ID := 33;
-- I2C2 error interrupt
I2C2_ER_Interrupt : constant Interrupt_ID := 34;
-- SPI1 global interrupt
SPI1_Interrupt : constant Interrupt_ID := 35;
-- SPI2 global interrupt
SPI2_Interrupt : constant Interrupt_ID := 36;
-- USART1 global interrupt
USART1_Interrupt : constant Interrupt_ID := 37;
-- USART2 global interrupt
USART2_Interrupt : constant Interrupt_ID := 38;
-- USART3 global interrupt
USART3_Interrupt : constant Interrupt_ID := 39;
-- EXTI Line[15:10] interrupts
EXTI15_10_Interrupt : constant Interrupt_ID := 40;
-- RTC Alarms (A and B) through EXTI line interrupt
RTC_Alarm_Interrupt : constant Interrupt_ID := 41;
-- USB On-The-Go FS Wakeup through EXTI line interrupt
OTG_FS_WKUP_Interrupt : constant Interrupt_ID := 42;
-- TIM8 Break interrupt and TIM12 global interrupt
TIM8_BRK_TIM12_Interrupt : constant Interrupt_ID := 43;
-- TIM8 Update interrupt and TIM13 global interrupt
TIM8_UP_TIM13_Interrupt : constant Interrupt_ID := 44;
-- TIM8 Trigger and Commutation interrupts and TIM14 global interrupt
TIM8_TRG_COM_TIM14_Interrupt : constant Interrupt_ID := 45;
-- TIM8 Capture Compare interrupt
TIM8_CC_Interrupt : constant Interrupt_ID := 46;
-- DMA1 Stream7 global interrupt
DMA1_Stream7_Interrupt : constant Interrupt_ID := 47;
-- FSMC global interrupt
FSMC_Interrupt : constant Interrupt_ID := 48;
-- SDIO global interrupt
SDIO_Interrupt : constant Interrupt_ID := 49;
-- TIM5 global interrupt
TIM5_Interrupt : constant Interrupt_ID := 50;
-- SPI3 global interrupt
SPI3_Interrupt : constant Interrupt_ID := 51;
-- UART4 global interrupt
UART4_Interrupt : constant Interrupt_ID := 52;
-- UART5 global interrupt
UART5_Interrupt : constant Interrupt_ID := 53;
-- TIM6 global interrupt, DAC1 and DAC2 underrun error interrupt
TIM6_DAC_Interrupt : constant Interrupt_ID := 54;
-- TIM7 global interrupt
TIM7_Interrupt : constant Interrupt_ID := 55;
-- DMA2 Stream0 global interrupt
DMA2_Stream0_Interrupt : constant Interrupt_ID := 56;
-- DMA2 Stream1 global interrupt
DMA2_Stream1_Interrupt : constant Interrupt_ID := 57;
-- DMA2 Stream2 global interrupt
DMA2_Stream2_Interrupt : constant Interrupt_ID := 58;
-- DMA2 Stream3 global interrupt
DMA2_Stream3_Interrupt : constant Interrupt_ID := 59;
-- DMA2 Stream4 global interrupt
DMA2_Stream4_Interrupt : constant Interrupt_ID := 60;
-- Ethernet global interrupt
ETH_Interrupt : constant Interrupt_ID := 61;
-- Ethernet Wakeup through EXTI line interrupt
ETH_WKUP_Interrupt : constant Interrupt_ID := 62;
-- CAN2 TX interrupts
CAN2_TX_Interrupt : constant Interrupt_ID := 63;
-- CAN2 RX0 interrupts
CAN2_RX0_Interrupt : constant Interrupt_ID := 64;
-- CAN2 RX1 interrupts
CAN2_RX1_Interrupt : constant Interrupt_ID := 65;
-- CAN2 SCE interrupt
CAN2_SCE_Interrupt : constant Interrupt_ID := 66;
-- USB On The Go FS global interrupt
OTG_FS_Interrupt : constant Interrupt_ID := 67;
-- DMA2 Stream5 global interrupt
DMA2_Stream5_Interrupt : constant Interrupt_ID := 68;
-- DMA2 Stream6 global interrupt
DMA2_Stream6_Interrupt : constant Interrupt_ID := 69;
-- DMA2 Stream7 global interrupt
DMA2_Stream7_Interrupt : constant Interrupt_ID := 70;
-- USART6 global interrupt
USART6_Interrupt : constant Interrupt_ID := 71;
-- I2C3 event interrupt
I2C3_EV_Interrupt : constant Interrupt_ID := 72;
-- I2C3 error interrupt
I2C3_ER_Interrupt : constant Interrupt_ID := 73;
-- USB On The Go HS End Point 1 Out global interrupt
OTG_HS_EP1_OUT_Interrupt : constant Interrupt_ID := 74;
-- USB On The Go HS End Point 1 In global interrupt
OTG_HS_EP1_IN_Interrupt : constant Interrupt_ID := 75;
-- USB On The Go HS Wakeup through EXTI interrupt
OTG_HS_WKUP_Interrupt : constant Interrupt_ID := 76;
-- USB On The Go HS global interrupt
OTG_HS_Interrupt : constant Interrupt_ID := 77;
-- DCMI global interrupt
DCMI_Interrupt : constant Interrupt_ID := 78;
-- Rng global interrupt
HASH_RNG_Interrupt : constant Interrupt_ID := 80;
-- FPU global interrupt
FPU_Interrupt : constant Interrupt_ID := 81;
end Ada.Interrupts.Names;
|