test

Dependencies:   mbed-rtos mbed ros_kinetic

Committer:
randalthor
Date:
Fri May 19 09:12:45 2017 +0000
Revision:
0:9646fc4e3fae
test

Who changed what in which revision?

UserRevisionLine numberNew contents of line
randalthor 0:9646fc4e3fae 1 /**
randalthor 0:9646fc4e3fae 2 ******************************************************************************
randalthor 0:9646fc4e3fae 3 * @file stm32f7xx_it.c
randalthor 0:9646fc4e3fae 4 * @brief Interrupt Service Routines.
randalthor 0:9646fc4e3fae 5 ******************************************************************************
randalthor 0:9646fc4e3fae 6 *
randalthor 0:9646fc4e3fae 7 * COPYRIGHT(c) 2017 STMicroelectronics
randalthor 0:9646fc4e3fae 8 *
randalthor 0:9646fc4e3fae 9 * Redistribution and use in source and binary forms, with or without modification,
randalthor 0:9646fc4e3fae 10 * are permitted provided that the following conditions are met:
randalthor 0:9646fc4e3fae 11 * 1. Redistributions of source code must retain the above copyright notice,
randalthor 0:9646fc4e3fae 12 * this list of conditions and the following disclaimer.
randalthor 0:9646fc4e3fae 13 * 2. Redistributions in binary form must reproduce the above copyright notice,
randalthor 0:9646fc4e3fae 14 * this list of conditions and the following disclaimer in the documentation
randalthor 0:9646fc4e3fae 15 * and/or other materials provided with the distribution.
randalthor 0:9646fc4e3fae 16 * 3. Neither the name of STMicroelectronics nor the names of its contributors
randalthor 0:9646fc4e3fae 17 * may be used to endorse or promote products derived from this software
randalthor 0:9646fc4e3fae 18 * without specific prior written permission.
randalthor 0:9646fc4e3fae 19 *
randalthor 0:9646fc4e3fae 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
randalthor 0:9646fc4e3fae 21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
randalthor 0:9646fc4e3fae 22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
randalthor 0:9646fc4e3fae 23 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
randalthor 0:9646fc4e3fae 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
randalthor 0:9646fc4e3fae 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
randalthor 0:9646fc4e3fae 26 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
randalthor 0:9646fc4e3fae 27 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
randalthor 0:9646fc4e3fae 28 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
randalthor 0:9646fc4e3fae 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
randalthor 0:9646fc4e3fae 30 *
randalthor 0:9646fc4e3fae 31 ******************************************************************************
randalthor 0:9646fc4e3fae 32 */
randalthor 0:9646fc4e3fae 33 /* Includes ------------------------------------------------------------------*/
randalthor 0:9646fc4e3fae 34 #include "stm32f7xx_hal.h"
randalthor 0:9646fc4e3fae 35 #include "stm32f7xx.h"
randalthor 0:9646fc4e3fae 36 #include "stm32f7xx_it.h"
randalthor 0:9646fc4e3fae 37
randalthor 0:9646fc4e3fae 38 /* USER CODE BEGIN 0 */
randalthor 0:9646fc4e3fae 39
randalthor 0:9646fc4e3fae 40 /* USER CODE END 0 */
randalthor 0:9646fc4e3fae 41
randalthor 0:9646fc4e3fae 42 /* External variables --------------------------------------------------------*/
randalthor 0:9646fc4e3fae 43 extern DMA_HandleTypeDef hdma_adc2;
randalthor 0:9646fc4e3fae 44
randalthor 0:9646fc4e3fae 45 /******************************************************************************/
randalthor 0:9646fc4e3fae 46 /* Cortex-M7 Processor Interruption and Exception Handlers */
randalthor 0:9646fc4e3fae 47 /******************************************************************************/
randalthor 0:9646fc4e3fae 48
randalthor 0:9646fc4e3fae 49 /**
randalthor 0:9646fc4e3fae 50 * @brief This function handles System service call via SWI instruction.
randalthor 0:9646fc4e3fae 51 */
randalthor 0:9646fc4e3fae 52
randalthor 0:9646fc4e3fae 53
randalthor 0:9646fc4e3fae 54 /******************************************************************************/
randalthor 0:9646fc4e3fae 55 /* STM32F7xx Peripheral Interrupt Handlers */
randalthor 0:9646fc4e3fae 56 /* Add here the Interrupt Handlers for the used peripherals. */
randalthor 0:9646fc4e3fae 57 /* For the available peripheral interrupt handler names, */
randalthor 0:9646fc4e3fae 58 /* please refer to the startup file (startup_stm32f7xx.s). */
randalthor 0:9646fc4e3fae 59 /******************************************************************************/
randalthor 0:9646fc4e3fae 60
randalthor 0:9646fc4e3fae 61 /**
randalthor 0:9646fc4e3fae 62 * @brief This function handles DMA2 stream2 global interrupt.
randalthor 0:9646fc4e3fae 63 */
randalthor 0:9646fc4e3fae 64 void DMA2_Stream2_IRQHandler(void)
randalthor 0:9646fc4e3fae 65 {
randalthor 0:9646fc4e3fae 66 /* USER CODE BEGIN DMA2_Stream2_IRQn 0 */
randalthor 0:9646fc4e3fae 67
randalthor 0:9646fc4e3fae 68 /* USER CODE END DMA2_Stream2_IRQn 0 */
randalthor 0:9646fc4e3fae 69 HAL_DMA_IRQHandler(&hdma_adc2);
randalthor 0:9646fc4e3fae 70 /* USER CODE BEGIN DMA2_Stream2_IRQn 1 */
randalthor 0:9646fc4e3fae 71
randalthor 0:9646fc4e3fae 72 /* USER CODE END DMA2_Stream2_IRQn 1 */
randalthor 0:9646fc4e3fae 73 }
randalthor 0:9646fc4e3fae 74
randalthor 0:9646fc4e3fae 75 /* USER CODE BEGIN 1 */
randalthor 0:9646fc4e3fae 76
randalthor 0:9646fc4e3fae 77 /* USER CODE END 1 */
randalthor 0:9646fc4e3fae 78 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
randalthor 0:9646fc4e3fae 79