Gunar Kroeger / Mbed OS AcusticLocator
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers stm32l4xx_it.c Source File

stm32l4xx_it.c

Go to the documentation of this file.
00001 /**
00002   ******************************************************************************
00003   * @file    stm32l4xx_it.c
00004   * @brief   Interrupt Service Routines.
00005   ******************************************************************************
00006   *
00007   * COPYRIGHT(c) 2018 STMicroelectronics
00008   *
00009   * Redistribution and use in source and binary forms, with or without modification,
00010   * are permitted provided that the following conditions are met:
00011   *   1. Redistributions of source code must retain the above copyright notice,
00012   *      this list of conditions and the following disclaimer.
00013   *   2. Redistributions in binary form must reproduce the above copyright notice,
00014   *      this list of conditions and the following disclaimer in the documentation
00015   *      and/or other materials provided with the distribution.
00016   *   3. Neither the name of STMicroelectronics nor the names of its contributors
00017   *      may be used to endorse or promote products derived from this software
00018   *      without specific prior written permission.
00019   *
00020   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00021   * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00022   * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00023   * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
00024   * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00025   * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00026   * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00027   * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00028   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00029   * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00030   *
00031   ******************************************************************************
00032   */
00033 /* Includes ------------------------------------------------------------------*/
00034 #include "stm32l4xx_hal.h"
00035 #include "stm32l4xx.h"
00036 #include "stm32l4xx_it.h"
00037 
00038 /* USER CODE BEGIN 0 */
00039 
00040 /* USER CODE END 0 */
00041 
00042 /* External variables --------------------------------------------------------*/
00043 extern DMA_HandleTypeDef hdma_adc1;
00044 
00045 /******************************************************************************/
00046 /*            Cortex-M4 Processor Interruption and Exception Handlers         */ 
00047 /******************************************************************************/
00048 
00049 /******************************************************************************/
00050 /* STM32L4xx Peripheral Interrupt Handlers                                    */
00051 /* Add here the Interrupt Handlers for the used peripherals.                  */
00052 /* For the available peripheral interrupt handler names,                      */
00053 /* please refer to the startup file (startup_stm32l4xx.s).                    */
00054 /******************************************************************************/
00055 
00056 /**
00057 * @brief This function handles DMA1 channel1 global interrupt.
00058 */
00059 void DMA1_Channel1_IRQHandler(void)
00060 {
00061   /* USER CODE BEGIN DMA1_Channel1_IRQn 0 */
00062 
00063   /* USER CODE END DMA1_Channel1_IRQn 0 */
00064   HAL_DMA_IRQHandler(&hdma_adc1);
00065   /* USER CODE BEGIN DMA1_Channel1_IRQn 1 */
00066 
00067   /* USER CODE END DMA1_Channel1_IRQn 1 */
00068 }
00069 
00070 /* USER CODE BEGIN 1 */
00071 
00072 /* USER CODE END 1 */
00073 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/