using stm32cube to generate startup code

Dependencies:   mbed-src

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers stm32f4xx_it.cpp Source File

stm32f4xx_it.cpp

00001 /**
00002   ******************************************************************************
00003   * @file    stm32f4xx_it.c
00004   * @date    21/08/2014 07:33:40
00005   * @brief   Interrupt Service Routines.
00006   ******************************************************************************
00007   *
00008   * COPYRIGHT(c) 2014 STMicroelectronics
00009   *
00010   * Redistribution and use in source and binary forms, with or without modification,
00011   * are permitted provided that the following conditions are met:
00012   *   1. Redistributions of source code must retain the above copyright notice,
00013   *      this list of conditions and the following disclaimer.
00014   *   2. Redistributions in binary form must reproduce the above copyright notice,
00015   *      this list of conditions and the following disclaimer in the documentation
00016   *      and/or other materials provided with the distribution.
00017   *   3. Neither the name of STMicroelectronics nor the names of its contributors
00018   *      may be used to endorse or promote products derived from this software
00019   *      without specific prior written permission.
00020   *
00021   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00022   * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00023   * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00024   * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
00025   * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00026   * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00027   * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00028   * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00029   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00030   * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00031   *
00032   ******************************************************************************
00033   */
00034 /* Includes ------------------------------------------------------------------*/
00035 #include "stm32f4xx_hal.h"
00036 #include "stm32f4xx.h"
00037 #include "stm32f4xx_it.h"
00038 
00039 /* External variables --------------------------------------------------------*/
00040 
00041 /******************************************************************************/
00042 /*            Cortex-M4 Processor Interruption and Exception Handlers         */ 
00043 /******************************************************************************/
00044 
00045 /**
00046 * @brief This function handles System tick timer.
00047 */
00048 void SysTick_Handler(void)
00049 {
00050   HAL_IncTick();
00051   HAL_SYSTICK_IRQHandler();
00052 }
00053 
00054 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/