1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
25
26
27
28
32
33
34
35
36
37
38
39
44
47
48
53
60
61
66
73
74
79
86
87
92
99
100
105
108
109
114
121
122
127
128
129
134
137
138
143
/* ... */
#include "stm32f4xx_hal.h"
#include "main.h"
#include "stm32f4xx_it.h"
#include "GUI.h"
Includes
extern volatile GUI_TIMER_TIME OS_TimeMS;
extern TIM_HandleTypeDef TimHandle;
Private variables
/* ... */
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 DebugMon_Handler(void)
{
}{ ... }
/* ... */
void SysTick_Handler(void)
{
HAL_IncTick();
OS_TimeMS++;
}{ ... }
...
...
/* ... */
/* ... */
/* ... */
void TIM3_IRQHandler(void)
{
HAL_TIM_IRQHandler(&TimHandle);
}{ ... }