| MAXREFDES82# Code Documentation V01.00 Maxim Smart Force Sensor

- Main Page
- Modules
- Files

- File List
- Globals

All Files Functions Variables Macros Groups Pages
stm32f4xx_it.c
Go to the documentation of this file.
1
30 /* Includes ------------------------------------------------------------------*/
31 #include "main.h"
32 #include "stm32f4xx_it.h"
33
34 #include "main.h"
35 #include "GUI.h"
36
37 /* Private typedef -----------------------------------------------------------*/
38 /* Private define ------------------------------------------------------------*/
39 /* Private macro -------------------------------------------------------------*/
40 /* Private variables ---------------------------------------------------------*/
41 extern PCD_HandleTypeDef hpcd;
42
43 /* UART handler declared in "usbd_cdc_interface.c" file */
44 extern UART_HandleTypeDef UartHandle;
45
46 /* TIM handler declared in "usbd_cdc_interface.c" file */
47 extern TIM_HandleTypeDef TimHandle;
48
49
50 extern volatile GUI_TIMER_TIME OS_TimeMS;
51 extern LTDC_HandleTypeDef hltdc;
52
53
54 /* Private function prototypes -----------------------------------------------*/
55 /* Private functions ---------------------------------------------------------*/
56
57 /******************************************************************************/
58 /* Cortex-M4 Processor Exceptions Handlers */
59 /******************************************************************************/
60
66 void NMI_Handler(void)
67 {
68 }
69
75 void HardFault_Handler(void)
76 {
77 /* Go to infinite loop when Hard Fault exception occurs */
78 while (1)
79 {
80 }
81 }
82
88 void MemManage_Handler(void)
89 {
90 /* Go to infinite loop when Memory Manage exception occurs */
91 while (1)
92 {
93 }
94 }
95
101 void BusFault_Handler(void)
102 {
103 /* Go to infinite loop when Bus Fault exception occurs */
104 while (1)
105 {
106 }
107 }
108
114 void UsageFault_Handler(void)
115 {
116 /* Go to infinite loop when Usage Fault exception occurs */
117 while (1)
118 {
119 }
120 }
121
127 void SVC_Handler(void)
128 {
129 }
130
136 void DebugMon_Handler(void)
137 {
138 }
139
145 void PendSV_Handler(void)
146 {
147 }
148
154 void SysTick_Handler(void)
155 {
156 HAL_IncTick();
157
158 // Mulong 0214
159 OS_TimeMS++;
160 }
161
162 /******************************************************************************/
163 /* STM32F4xx Peripherals Interrupt Handlers */
164 /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */
165 /* available peripheral interrupt handler's name please refer to the startup */
166 /* file (startup_stm32f4xx.s). */
167 /******************************************************************************/
168
174 #ifdef USE_USB_FS
175 void OTG_FS_IRQHandler(void)
176 #else
177 void OTG_HS_IRQHandler(void)
178 #endif
179 {
180 HAL_PCD_IRQHandler(&hpcd);
181 }
182
188 void USARTx_DMA_TX_IRQHandler(void)
189 {
190 HAL_DMA_IRQHandler(UartHandle.hdmatx);
191 }
192
198 void USARTx_IRQHandler(void)
199 {
200 HAL_UART_IRQHandler(&UartHandle);
201 }
202
208 void TIMx_IRQHandler(void)
209 {
210 HAL_TIM_IRQHandler(&TimHandle);
211 }
212
218 void LTDC_IRQHandler(void)
219 {
220 HAL_LTDC_IRQHandler(&hltdc);
221 }
222
228 /*void PPP_IRQHandler(void)
229 {
230 }*/
231
232 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/