Robotique FIP / Mbed 2 deprecated FIP_REV1

Dependencies:   HC_SR04_Ultrasonic_Library Servo mbed

Fork of FIP_REV1 by Robotique FIP

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers stm32f4xx_it.c Source File

stm32f4xx_it.c

Go to the documentation of this file.
00001 /**
00002   ******************************************************************************
00003   * @file    stm32f4xx_it.c 
00004   * @brief   Main Interrupt Service Routines.
00005   *          This file provides template for all exceptions handler and 
00006   *          peripherals interrupt service routine.
00007   ******************************************************************************
00008   * @attention
00009   *
00010   * <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
00011   *
00012   * Redistribution and use in source and binary forms, with or without modification,
00013   * are permitted provided that the following conditions are met:
00014   *   1. Redistributions of source code must retain the above copyright notice,
00015   *      this list of conditions and the following disclaimer.
00016   *   2. Redistributions in binary form must reproduce the above copyright notice,
00017   *      this list of conditions and the following disclaimer in the documentation
00018   *      and/or other materials provided with the distribution.
00019   *   3. Neither the name of STMicroelectronics nor the names of its contributors
00020   *      may be used to endorse or promote products derived from this software
00021   *      without specific prior written permission.
00022   *
00023   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00024   * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00025   * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00026   * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
00027   * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00028   * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00029   * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00030   * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00031   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00032   * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00033   *
00034   ******************************************************************************
00035   */
00036 
00037 /* Includes ------------------------------------------------------------------*/
00038 #include "stm32f4xx_it.h" 
00039 #include "stm32f4xx_bluenrg_shield_bsp.h"
00040 
00041 /** @addtogroup BlueNRG_Shield
00042  *  @{
00043  */
00044 
00045 /** @defgroup BlueNRG_Shield_IRQ_Handlers
00046  *  @brief Interrupt handlers for BlueNRG Shield sample application on 
00047  *          STM32 Nucleo boards.
00048  *  @{
00049  */
00050 
00051 /* Private typedef -----------------------------------------------------------*/
00052 /* Private define ------------------------------------------------------------*/
00053 /* Private macro -------------------------------------------------------------*/
00054 /* Private variables ---------------------------------------------------------*/
00055 /* SPI handler declared in "main.c" file */
00056 extern SPI_HandleTypeDef SpiHandle;
00057 /* Private function prototypes -----------------------------------------------*/
00058 /* Private functions ---------------------------------------------------------*/
00059 
00060 /******************************************************************************/
00061 /*            Cortex-M0+ Processor Exceptions Handlers                         */
00062 /******************************************************************************/
00063 
00064 /**
00065   * @brief  This function handles NMI exception.
00066   * @param  None
00067   * @retval None
00068   */
00069 void NMI_Handler(void)
00070 {
00071 }
00072 
00073 /**
00074   * @brief  This function handles Hard Fault exception.
00075   * @param  None
00076   * @retval None
00077   */
00078 void HardFault_Handler(void)
00079 {
00080   /* Go to infinite loop when Hard Fault exception occurs */
00081   while (1)
00082   {
00083   }
00084 }
00085 
00086 /**
00087   * @brief  This function handles SVCall exception.
00088   * @param  None
00089   * @retval None
00090   */
00091 void SVC_Handler(void)
00092 {
00093 }
00094 
00095 /**
00096   * @brief  This function handles Debug Monitor exception.
00097   * @param  None
00098   * @retval None
00099   */
00100 void DebugMon_Handler(void)
00101 {
00102 }
00103 
00104 /**
00105   * @brief  This function handles PendSVC exception.
00106   * @param  None
00107   * @retval None
00108   */
00109 void PendSV_Handler(void)
00110 {
00111 }
00112 
00113 /**
00114   * @brief  This function handles SysTick Handler.
00115   * @param  None
00116   * @retval None
00117   */
00118 void SysTick_Handler(void)
00119 {
00120   HAL_IncTick();
00121 }
00122 
00123 
00124 /******************************************************************************/
00125 /*                 STM32F4xx Peripherals Interrupt Handlers                   */
00126 /*  Add here the Interrupt Handler for the used peripheral(s) (PPP), for the  */
00127 /*  available peripheral interrupt handler's name please refer to the startup */
00128 /*  file (startup_stm32f4xx.s).                                               */
00129 /******************************************************************************/
00130 
00131 /**
00132   * @brief  This function handles External lines 0 interrupt request.
00133   * @param  None
00134   * @retval None
00135   */
00136 void EXTI0_IRQHandler(void)
00137 {
00138   HAL_GPIO_EXTI_IRQHandler(BNRG_SPI_EXTI_PIN);
00139 }
00140 
00141 
00142 /******************************************************************************/
00143 /*                 STM32F4xx Peripherals Interrupt Handlers                   */
00144 /*  Add here the Interrupt Handler for the used peripheral(s) (PPP), for the  */
00145 /*  available peripheral interrupt handler's name please refer to the startup */
00146 /*  file (startup_stm32f4xx.s).                                               */
00147 /******************************************************************************/
00148 
00149 
00150 /**
00151   * @brief  This function handles PPP interrupt request.
00152   * @param  None
00153   * @retval None
00154   */
00155 void PPP_IRQHandler(void)
00156 {
00157 }
00158 
00159 
00160 /**
00161   * @}
00162   */ 
00163 
00164 /**
00165   * @}
00166   */
00167 
00168 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/