1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
33
34
35
36
39
40
41
42
43
44
45
46
51
54
55
60
67
68
73
80
81
86
93
94
99
106
107
112
115
116
121
124
125
130
133
134
139
144
145
150
151
152
157
161
162
167
171
172
177
181
182
187
191
192
197
201
202
207
210
211
214
215
/* ... */
#include "main.h"
#include "stm32f4xx_it.h"
/* ... */
/* ... */
Includes
extern I2C_HandleTypeDef heval_I2c;
extern SD_HandleTypeDef uSdHandle;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();
Toggle_Leds();
}{ ... }
...
...
/* ... */
void EXTI0_IRQHandler(void)
{
HAL_GPIO_EXTI_IRQHandler(WAKEUP_BUTTON_PIN);
}{ ... }
/* ... */
void EXTI2_IRQHandler(void)
{
HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_2);
}{ ... }
/* ... */
void EXTI15_10_IRQHandler(void)
{
HAL_GPIO_EXTI_IRQHandler(TAMPER_BUTTON_PIN | KEY_BUTTON_PIN);
}{ ... }
/* ... */
void EEPROM_I2C_DMA_TX_IRQHandler(void)
{
HAL_DMA_IRQHandler(heval_I2c.hdmatx);
}{ ... }
/* ... */
void EEPROM_I2C_DMA_RX_IRQHandler(void)
{
HAL_DMA_IRQHandler(heval_I2c.hdmarx);
}{ ... }
/* ... */
/* ... */
/* ... */
/* ... */