STSW-STLKT01: Projects/SensorTile/Applications/DataLog/Src/stm32l4xx_it.c Source File

STSW-STLKT01

stm32l4xx_it.c
1 
40 /* Includes ------------------------------------------------------------------*/
41 #include "main.h"
42 #include "stm32l4xx_it.h"
43 #include "cmsis_os.h"
44 
45 /* Private typedef -----------------------------------------------------------*/
46 /* Private define ------------------------------------------------------------*/
47 /* Private macro -------------------------------------------------------------*/
48 /* Private function prototypes -----------------------------------------------*/
49 /* Private functions ---------------------------------------------------------*/
50 
51 extern PCD_HandleTypeDef hpcd;
52 extern TIM_HandleTypeDef TimHandle;
53 extern SPI_HandleTypeDef SPI_SD_Handle;
54 
55 /******************************************************************************/
56 /* Cortex-M4 Processor Exceptions Handlers */
57 /******************************************************************************/
58 
64 void NMI_Handler(void)
65 {
66 }
67 
74 {
75  /* Go to infinite loop when Hard Fault exception occurs */
76  while (1)
77  {
78  }
79 }
80 
86 void MemManage_Handler(void)
87 {
88  /* Go to infinite loop when Memory Manage exception occurs */
89  while (1)
90  {
91  }
92 }
93 
99 void BusFault_Handler(void)
100 {
101  /* Go to infinite loop when Bus Fault exception occurs */
102  while (1)
103  {
104  }
105 }
106 
112 void UsageFault_Handler(void)
113 {
114  /* Go to infinite loop when Usage Fault exception occurs */
115  while (1)
116  {
117  }
118 }
119 
126 {
127 }
128 
134 void SysTick_Handler(void)
135 {
136  osSystickHandler();
137  HAL_IncTick();
138 }
139 
140 /******************************************************************************/
141 /* STM32L4xx Peripherals Interrupt Handlers */
142 /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */
143 /* available peripheral interrupt handler's name please refer to the startup */
144 /* file (startup_stm32l4xx.s). */
145 /******************************************************************************/
146 
152 void OTG_FS_IRQHandler(void)
153 {
154  HAL_PCD_IRQHandler(&hpcd);
155 }
156 
162 void DMA2_Channel2_IRQHandler(void)
163 {
164  HAL_DMA_IRQHandler(SPI_SD_Handle.hdmatx);
165 }
171 void TIM3_IRQHandler(void)
172 {
173  HAL_TIM_IRQHandler(&TimHandle);
174 }
175 
181 void EXTI2_IRQHandler( void )
182 {
183  HAL_GPIO_EXTI_IRQHandler(LSM6DSM_INT2_PIN);
184 }
185 
186 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
void DebugMon_Handler(void)
This function handles Debug Monitor exception.
Definition: stm32l4xx_it.c:87
void HardFault_Handler(void)
This function handles Hard Fault exception.
Definition: stm32l4xx_it.c:74
void NMI_Handler(void)
This function handles NMI exception.
Definition: stm32l4xx_it.c:65
void SysTick_Handler(void)
This function handles SysTick Handler.
Definition: stm32l4xx_it.c:96
void OTG_FS_IRQHandler(void)
This function handles PPP interrupt request.
Definition: stm32l4xx_it.c:135
Generated by   doxygen 1.8.13