Team Riedel - display
Dependencies: LCD_fonts SPI_TFT_ILI9341 CMSIS_DSP_401_without_cm4 mbed-src SDFileSystem wavfile
stm32l4xx_it.cpp
00001 /** 00002 ****************************************************************************** 00003 * @file DFSDM/DFSDM_AudioRecord/Src/stm32l4xx_it.c 00004 * @author MCD Application Team 00005 * @version V1.1.0 00006 * @date 16-September-2015 00007 * @brief Main Interrupt Service Routines. 00008 * This file provides template for all exceptions handler and 00009 * peripherals interrupt service routine. 00010 ****************************************************************************** 00011 * @attention 00012 * 00013 * <h2><center>© COPYRIGHT(c) 2015 STMicroelectronics</center></h2> 00014 * 00015 * Redistribution and use in source and binary forms, with or without modification, 00016 * are permitted provided that the following conditions are met: 00017 * 1. Redistributions of source code must retain the above copyright notice, 00018 * this list of conditions and the following disclaimer. 00019 * 2. Redistributions in binary form must reproduce the above copyright notice, 00020 * this list of conditions and the following disclaimer in the documentation 00021 * and/or other materials provided with the distribution. 00022 * 3. Neither the name of STMicroelectronics nor the names of its contributors 00023 * may be used to endorse or promote products derived from this software 00024 * without specific prior written permission. 00025 * 00026 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 00027 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00028 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00029 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 00030 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 00031 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 00032 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 00033 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 00034 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 00035 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00036 * 00037 ****************************************************************************** 00038 */ 00039 00040 /* Includes ------------------------------------------------------------------*/ 00041 #include "main.h" 00042 #include "stm32l4xx_it.h" 00043 00044 /** @addtogroup STM32L4xx_HAL_Examples 00045 * @{ 00046 */ 00047 00048 /** @addtogroup DFSDM_AudioRecord 00049 * @{ 00050 */ 00051 00052 /* Private typedef -----------------------------------------------------------*/ 00053 /* Private define ------------------------------------------------------------*/ 00054 /* Private macro -------------------------------------------------------------*/ 00055 /* Private variables ---------------------------------------------------------*/ 00056 //hAudioIn.hDmaDfsdmLeft 00057 extern DMA_HandleTypeDef hDmaSai; 00058 extern SAI_HandleTypeDef BSP_AUDIO_hSai; 00059 /* Private function prototypes -----------------------------------------------*/ 00060 /* Private functions ---------------------------------------------------------*/ 00061 00062 /******************************************************************************/ 00063 /* Cortex-M4 Processor Exceptions Handlers */ 00064 /******************************************************************************/ 00065 00066 /** 00067 * @brief This function handles NMI exception. 00068 * @param None 00069 * @retval None 00070 */ 00071 void NMI_Handler(void) 00072 { 00073 } 00074 00075 /** 00076 * @brief This function handles Hard Fault exception. 00077 * @param None 00078 * @retval None 00079 */ 00080 void HardFault_Handler(void) 00081 { 00082 /* Go to infinite loop when Hard Fault exception occurs */ 00083 while (1) 00084 { 00085 } 00086 } 00087 00088 /** 00089 * @brief This function handles Memory Manage exception. 00090 * @param None 00091 * @retval None 00092 */ 00093 void MemManage_Handler(void) 00094 { 00095 /* Go to infinite loop when Memory Manage exception occurs */ 00096 while (1) 00097 { 00098 } 00099 } 00100 00101 /** 00102 * @brief This function handles Bus Fault exception. 00103 * @param None 00104 * @retval None 00105 */ 00106 void BusFault_Handler(void) 00107 { 00108 /* Go to infinite loop when Bus Fault exception occurs */ 00109 while (1) 00110 { 00111 } 00112 } 00113 00114 /** 00115 * @brief This function handles Usage Fault exception. 00116 * @param None 00117 * @retval None 00118 */ 00119 void UsageFault_Handler(void) 00120 { 00121 /* Go to infinite loop when Usage Fault exception occurs */ 00122 while (1) 00123 { 00124 } 00125 } 00126 00127 /** 00128 * @brief This function handles SVCall exception. 00129 * @param None 00130 * @retval None 00131 */ 00132 void SVC_Handler(void) 00133 { 00134 } 00135 00136 /** 00137 * @brief This function handles Debug Monitor exception. 00138 * @param None 00139 * @retval None 00140 */ 00141 void DebugMon_Handler(void) 00142 { 00143 } 00144 00145 /** 00146 * @brief This function handles PendSVC exception. 00147 * @param None 00148 * @retval None 00149 */ 00150 void PendSV_Handler(void) 00151 { 00152 } 00153 00154 /** 00155 * @brief This function handles SysTick Handler. 00156 * @param None 00157 * @retval None 00158 */ 00159 void SysTick_Handler(void) 00160 { 00161 HAL_IncTick(); 00162 } 00163 00164 /******************************************************************************/ 00165 /* STM32L4xx Peripherals Interrupt Handlers */ 00166 /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */ 00167 /* available peripheral interrupt handler's name please refer to the startup */ 00168 /* file (startup_stm32l4xx.s). */ 00169 /******************************************************************************/ 00170 00171 /** 00172 * @brief This function handles DMA1_Channel4 interrupt request. 00173 * @param None 00174 * @retval None 00175 */ 00176 void DMA1_Channel4_IRQHandler(void) 00177 { 00178 HAL_DMA_IRQHandler(&hDmaSai); 00179 } 00180 00181 /** 00182 * @brief This function handles SAI DMA interrupt request. 00183 * @param None 00184 * @retval None 00185 */ 00186 void DMA2_Channel1_IRQHandler(void) 00187 { 00188 HAL_DMA_IRQHandler(BSP_AUDIO_hSai.hdmatx); 00189 } 00190 00191 /** 00192 * @} 00193 */ 00194 00195 /** 00196 * @} 00197 */ 00198 00199 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 00200
Generated on Tue Jul 12 2022 15:34:17 by 1.7.2