1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
25
26
27
28
33
34
35
36
37
38
39
40
45
48
49
54
61
62
67
74
75
80
87
88
93
100
101
106
109
110
115
118
119
124
127
128
133
140
141
146
147
148
153
156
157
162
166
167
172
176
177
182
/* ... */
#include "stm32f4xx_hal.h"
#include "main.h"
#include "stm32f4xx_it.h"
#include "GUI.h"
Includes
extern volatile GUI_TIMER_TIME OS_TimeMS;
extern LTDC_HandleTypeDef hltdc_eval;
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 SVC_Handler(void)
{
}{ ... }
/* ... */
void DebugMon_Handler(void)
{
}{ ... }
/* ... */
void PendSV_Handler(void)
{
}{ ... }
/* ... */
void SysTick_Handler(void)
{
HAL_IncTick();
OS_TimeMS++;
}{ ... }
...
...
/* ... */
/* ... */
/* ... */
void TIM3_IRQHandler(void)
{
HAL_TIM_IRQHandler(&TimHandle);
}{ ... }
/* ... */
void EXTI0_IRQHandler(void)
{
HAL_GPIO_EXTI_IRQHandler(MFX_IRQOUT_PIN);
}{ ... }
/* ... */
void LTDC_IRQHandler(void)
{
HAL_LTDC_IRQHandler(&hltdc_eval);
}{ ... }