Yaroslav Krainyk / Mbed 2 deprecated DISCO_L476VG_UART

Dependencies:   BSP_DISCO_L476VG LCD_DISCO_L476VG mbed

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   * @author  Ac6
00005   * @version V1.0
00006   * @date    02-Feb-2015
00007   * @brief   Default Interrupt Service Routines.
00008   ******************************************************************************
00009 */
00010 
00011 /* Includes ------------------------------------------------------------------*/
00012 #include "stm32l4xx_hal.h"
00013 #include "stm32l4xx.h"
00014 #include "stm32l4xx_it.h"
00015 
00016 extern UART_HandleTypeDef UartHandle;
00017 
00018 /* Private typedef -----------------------------------------------------------*/
00019 /* Private define ------------------------------------------------------------*/
00020 /* Private macro -------------------------------------------------------------*/
00021 /* Private variables ---------------------------------------------------------*/
00022 /* Private function prototypes -----------------------------------------------*/
00023 /* Private functions ---------------------------------------------------------*/
00024 
00025 /******************************************************************************/
00026 /*                      Processor Exceptions Handlers                         */
00027 /******************************************************************************/
00028 
00029 /**
00030   * @brief  This function handles SysTick Handler.
00031   * @param  None
00032   * @retval None
00033   */
00034 void SysTick_Handler(void)
00035 {
00036     HAL_IncTick();
00037     HAL_SYSTICK_IRQHandler();
00038 }
00039 
00040 void USART1_IRQHandler(void) {
00041     HAL_UART_IRQHandler(&UartHandle);
00042 }
00043 
00044 void DMA1_Channel4_IRQHandler(void) {
00045     HAL_DMA_IRQHandler(UartHandle.hdmatx);
00046 }
00047 
00048 //void DMA1_Channel5_IRQHandler(void) {
00049 //  HAL_DMA_IRQHandler(UartHandle.hdmarx);
00050 //}
00051