1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
27
32
37
42
47
52
57
58
59
60
61
62
63
64
65
66
67
70
79
80
83
94
95
98
109
110
113
124
125
128
139
140
143
144
145
146
147
148
149
150
151
152
153
156
157
158
159
160
161
162
163
164
165
166
169
170
171
172
173
174
175
176
177
178
179
182
183
184
185
186
187
188
189
190
191
192
193
198
199
200
203
204
205
206
207
208
209
210
211
212
213
214
217
218
219
220
221
222
223
224
225
226
227
228
229
230
/* ... */
#include "main.h"
#include "stm32f4xx_it.h"
Includes
Private includes
Private typedef
Private define
Private macro
Private variables
Private function prototypes
Private user code
extern DMA_HandleTypeDef hdma_usart2_rx;
extern UART_HandleTypeDef huart2;
/* ... */
void NMI_Handler(void)
{
}{ ... }
/* ... */
void HardFault_Handler(void)
{
while (1)
{
}while (1) { ... }
}{ ... }
/* ... */
void MemManage_Handler(void)
{
while (1)
{
}while (1) { ... }
}{ ... }
/* ... */
void BusFault_Handler(void)
{
while (1)
{
}while (1) { ... }
}{ ... }
/* ... */
void UsageFault_Handler(void)
{
while (1)
{
}while (1) { ... }
}{ ... }
/* ... */
void SVC_Handler(void)
{
}{ ... }
/* ... */
void DebugMon_Handler(void)
{
}{ ... }
/* ... */
void PendSV_Handler(void)
{
}{ ... }
/* ... */
void SysTick_Handler(void)
{
HAL_IncTick();
}{ ... }
...
...
/* ... */
void DMA1_Stream5_IRQHandler(void)
{
HAL_DMA_IRQHandler(&hdma_usart2_rx);
}{ ... }
/* ... */
void USART2_IRQHandler(void)
{
HAL_UART_IRQHandler(&huart2);
}{ ... }
...
External variables