2 ******************************************************************************
\r
3 * @file FatFs/FatFs_USBDisk/Src/stm32f4xx_it.c
\r
4 * @author MCD Application Team
\r
6 * @date 26-February-2014
\r
7 * @brief Main Interrupt Service Routines.
\r
8 * This file provides template for all exceptions handler and
\r
9 * peripherals interrupt service routine.
\r
10 ******************************************************************************
\r
13 * <h2><center>© COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
\r
15 * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
\r
16 * You may not use this file except in compliance with the License.
\r
17 * You may obtain a copy of the License at:
\r
19 * http://www.st.com/software_license_agreement_liberty_v2
\r
21 * Unless required by applicable law or agreed to in writing, software
\r
22 * distributed under the License is distributed on an "AS IS" BASIS,
\r
23 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
24 * See the License for the specific language governing permissions and
\r
25 * limitations under the License.
\r
27 ******************************************************************************
\r
30 /* Includes ------------------------------------------------------------------*/
\r
31 #include "stm32f4xx_it.h"
\r
32 #include "stm32f4xx_hal_hcd.h"
\r
33 #include "stm32f4xx_hal.h"
\r
36 /* Private typedef -----------------------------------------------------------*/
\r
37 /* Private define ------------------------------------------------------------*/
\r
38 /* Private macro -------------------------------------------------------------*/
\r
39 /* Private variables ---------------------------------------------------------*/
\r
40 extern HCD_HandleTypeDef hhcd;
\r
42 /* Private function prototypes -----------------------------------------------*/
\r
43 /* Private functions ---------------------------------------------------------*/
\r
45 /******************************************************************************/
\r
46 /* Cortex-M4 Processor Exceptions Handlers */
\r
47 /******************************************************************************/
\r
50 * @brief This function handles NMI exception.
\r
54 void NMI_Handler(void)
\r
59 * @brief This function handles Hard Fault exception.
\r
63 void HardFault_Handler(void)
\r
65 /* Go to infinite loop when Hard Fault exception occurs */
\r
72 * @brief This function handles Memory Manage exception.
\r
76 void MemManage_Handler(void)
\r
78 /* Go to infinite loop when Memory Manage exception occurs */
\r
85 * @brief This function handles Bus Fault exception.
\r
89 void BusFault_Handler(void)
\r
91 /* Go to infinite loop when Bus Fault exception occurs */
\r
98 * @brief This function handles Usage Fault exception.
\r
102 void UsageFault_Handler(void)
\r
104 /* Go to infinite loop when Usage Fault exception occurs */
\r
111 * @brief This function handles SVCall exception.
\r
115 void SVC_Handler(void)
\r
120 * @brief This function handles Debug Monitor exception.
\r
124 void DebugMon_Handler(void)
\r
129 * @brief This function handles PendSVC exception.
\r
133 void PendSV_Handler(void)
\r
138 * @brief This function handles SysTick Handler.
\r
142 void SysTick_Handler(void)
\r
147 /******************************************************************************/
\r
148 /* STM32F4xx Peripherals Interrupt Handlers */
\r
149 /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */
\r
150 /* available peripheral interrupt handler's name please refer to the startup */
\r
151 /* file (startup_stm32f429xx.s). */
\r
152 /******************************************************************************/
\r
155 * @brief This function handles USB-On-The-Go FS global interrupt requests.
\r
159 void OTG_HS_IRQHandler(void)
\r
161 HAL_HCD_IRQHandler(&hhcd);
\r
165 * @brief This function handles PPP interrupt request.
\r
169 /*void PPP_IRQHandler(void)
\r
173 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
\r