1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
24
25
26
27
36
37
38
39
40
41
42
43
48
51
52
57
64
65
70
77
78
83
90
91
96
103
104
109
112
113
118
121
122
127
130
131
136
147
148
153
154
155
160
164
165
170
174
175
180
184
185
190
194
195
200
204
205
210
214
215
220
/* ... */
#include "main.h"
Includes
extern TIM_HandleTypeDef hTimLed;
extern I2S_HandleTypeDef hAudioOutI2s;
extern I2S_HandleTypeDef hAudioInI2s;
__IO uint32_t TimeRecBase = 0;
extern __IO uint32_t CmdIndex;
extern HCD_HandleTypeDef hhcd;
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();
if (CmdIndex == CMD_RECORD)
{
TimeRecBase ++;
}if (CmdIndex == CMD_RECORD) { ... }
}{ ... }
...
...
/* ... */
void EXTI0_IRQHandler(void)
{
HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_0);
}{ ... }
/* ... */
void EXTI4_IRQHandler(void)
{
HAL_GPIO_EXTI_IRQHandler(ACCELERO_INT1_PIN);
}{ ... }
/* ... */
void I2S3_IRQHandler(void)
{
HAL_DMA_IRQHandler(hAudioOutI2s.hdmatx);
}{ ... }
/* ... */
void I2S2_IRQHandler(void)
{
HAL_DMA_IRQHandler(hAudioInI2s.hdmarx);
}{ ... }
/* ... */
void TIM4_IRQHandler(void)
{
HAL_TIM_IRQHandler(&hTimLed);
}{ ... }
/* ... */
void OTG_FS_IRQHandler(void)
{
HAL_HCD_IRQHandler(&hhcd);
}{ ... }
/* ... */
/* ... */