won't compile
stm32f3xx_it.c@0:b079fa4ed182, 2016-11-02 (annotated)
- Committer:
- richardv
- Date:
- Wed Nov 02 23:50:52 2016 +0000
- Revision:
- 0:b079fa4ed182
DMA RAM DAC
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
richardv | 0:b079fa4ed182 | 1 | /** |
richardv | 0:b079fa4ed182 | 2 | ****************************************************************************** |
richardv | 0:b079fa4ed182 | 3 | * @file DMA_RAM_DAC/stm32f3xx_it.c |
richardv | 0:b079fa4ed182 | 4 | * @author MCD Application Team |
richardv | 0:b079fa4ed182 | 5 | * @version V1.0.0 |
richardv | 0:b079fa4ed182 | 6 | * @date 20-June-2014 |
richardv | 0:b079fa4ed182 | 7 | * @brief Main Interrupt Service Routines. |
richardv | 0:b079fa4ed182 | 8 | * This file provides template for all exceptions handler and |
richardv | 0:b079fa4ed182 | 9 | * peripherals interrupt service routine. |
richardv | 0:b079fa4ed182 | 10 | ****************************************************************************** |
richardv | 0:b079fa4ed182 | 11 | * @attention |
richardv | 0:b079fa4ed182 | 12 | * |
richardv | 0:b079fa4ed182 | 13 | * <h2><center>© COPYRIGHT 2014 STMicroelectronics</center></h2> |
richardv | 0:b079fa4ed182 | 14 | * |
richardv | 0:b079fa4ed182 | 15 | * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); |
richardv | 0:b079fa4ed182 | 16 | * You may not use this file except in compliance with the License. |
richardv | 0:b079fa4ed182 | 17 | * You may obtain a copy of the License at: |
richardv | 0:b079fa4ed182 | 18 | * |
richardv | 0:b079fa4ed182 | 19 | * http://www.st.com/software_license_agreement_liberty_v2 |
richardv | 0:b079fa4ed182 | 20 | * |
richardv | 0:b079fa4ed182 | 21 | * Unless required by applicable law or agreed to in writing, software |
richardv | 0:b079fa4ed182 | 22 | * distributed under the License is distributed on an "AS IS" BASIS, |
richardv | 0:b079fa4ed182 | 23 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
richardv | 0:b079fa4ed182 | 24 | * See the License for the specific language governing permissions and |
richardv | 0:b079fa4ed182 | 25 | * limitations under the License. |
richardv | 0:b079fa4ed182 | 26 | * |
richardv | 0:b079fa4ed182 | 27 | ****************************************************************************** |
richardv | 0:b079fa4ed182 | 28 | */ |
richardv | 0:b079fa4ed182 | 29 | |
richardv | 0:b079fa4ed182 | 30 | /* Includes ------------------------------------------------------------------*/ |
richardv | 0:b079fa4ed182 | 31 | #include "stm32f3xx_it.h" |
richardv | 0:b079fa4ed182 | 32 | |
richardv | 0:b079fa4ed182 | 33 | /** @addtogroup STM32F3348_DISCOVERY_Examples |
richardv | 0:b079fa4ed182 | 34 | * @{ |
richardv | 0:b079fa4ed182 | 35 | */ |
richardv | 0:b079fa4ed182 | 36 | |
richardv | 0:b079fa4ed182 | 37 | /** @addtogroup DMA_RAM_DAC |
richardv | 0:b079fa4ed182 | 38 | * @{ |
richardv | 0:b079fa4ed182 | 39 | */ |
richardv | 0:b079fa4ed182 | 40 | |
richardv | 0:b079fa4ed182 | 41 | /* Private typedef -----------------------------------------------------------*/ |
richardv | 0:b079fa4ed182 | 42 | /* Private define ------------------------------------------------------------*/ |
richardv | 0:b079fa4ed182 | 43 | /* Private macro -------------------------------------------------------------*/ |
richardv | 0:b079fa4ed182 | 44 | /* Private variables ---------------------------------------------------------*/ |
richardv | 0:b079fa4ed182 | 45 | /* Private function prototypes -----------------------------------------------*/ |
richardv | 0:b079fa4ed182 | 46 | /* Private functions ---------------------------------------------------------*/ |
richardv | 0:b079fa4ed182 | 47 | |
richardv | 0:b079fa4ed182 | 48 | /******************************************************************************/ |
richardv | 0:b079fa4ed182 | 49 | /* Cortex-M Processor Exceptions Handlers */ |
richardv | 0:b079fa4ed182 | 50 | /******************************************************************************/ |
richardv | 0:b079fa4ed182 | 51 | |
richardv | 0:b079fa4ed182 | 52 | /** |
richardv | 0:b079fa4ed182 | 53 | * @brief This function handles NMI exception. |
richardv | 0:b079fa4ed182 | 54 | * @param None |
richardv | 0:b079fa4ed182 | 55 | * @retval None |
richardv | 0:b079fa4ed182 | 56 | */ |
richardv | 0:b079fa4ed182 | 57 | void NMI_Handler(void) |
richardv | 0:b079fa4ed182 | 58 | { |
richardv | 0:b079fa4ed182 | 59 | } |
richardv | 0:b079fa4ed182 | 60 | |
richardv | 0:b079fa4ed182 | 61 | /** |
richardv | 0:b079fa4ed182 | 62 | * @brief This function handles Hard Fault exception. |
richardv | 0:b079fa4ed182 | 63 | * @param None |
richardv | 0:b079fa4ed182 | 64 | * @retval None |
richardv | 0:b079fa4ed182 | 65 | */ |
richardv | 0:b079fa4ed182 | 66 | void HardFault_Handler(void) |
richardv | 0:b079fa4ed182 | 67 | { |
richardv | 0:b079fa4ed182 | 68 | /* Go to infinite loop when Hard Fault exception occurs */ |
richardv | 0:b079fa4ed182 | 69 | while (1) |
richardv | 0:b079fa4ed182 | 70 | { |
richardv | 0:b079fa4ed182 | 71 | } |
richardv | 0:b079fa4ed182 | 72 | } |
richardv | 0:b079fa4ed182 | 73 | |
richardv | 0:b079fa4ed182 | 74 | /** |
richardv | 0:b079fa4ed182 | 75 | * @brief This function handles Memory Manage exception. |
richardv | 0:b079fa4ed182 | 76 | * @param None |
richardv | 0:b079fa4ed182 | 77 | * @retval None |
richardv | 0:b079fa4ed182 | 78 | */ |
richardv | 0:b079fa4ed182 | 79 | void MemManage_Handler(void) |
richardv | 0:b079fa4ed182 | 80 | { |
richardv | 0:b079fa4ed182 | 81 | /* Go to infinite loop when Memory Manage exception occurs */ |
richardv | 0:b079fa4ed182 | 82 | while (1) |
richardv | 0:b079fa4ed182 | 83 | { |
richardv | 0:b079fa4ed182 | 84 | } |
richardv | 0:b079fa4ed182 | 85 | } |
richardv | 0:b079fa4ed182 | 86 | |
richardv | 0:b079fa4ed182 | 87 | /** |
richardv | 0:b079fa4ed182 | 88 | * @brief This function handles Bus Fault exception. |
richardv | 0:b079fa4ed182 | 89 | * @param None |
richardv | 0:b079fa4ed182 | 90 | * @retval None |
richardv | 0:b079fa4ed182 | 91 | */ |
richardv | 0:b079fa4ed182 | 92 | void BusFault_Handler(void) |
richardv | 0:b079fa4ed182 | 93 | { |
richardv | 0:b079fa4ed182 | 94 | /* Go to infinite loop when Bus Fault exception occurs */ |
richardv | 0:b079fa4ed182 | 95 | while (1) |
richardv | 0:b079fa4ed182 | 96 | { |
richardv | 0:b079fa4ed182 | 97 | } |
richardv | 0:b079fa4ed182 | 98 | } |
richardv | 0:b079fa4ed182 | 99 | |
richardv | 0:b079fa4ed182 | 100 | /** |
richardv | 0:b079fa4ed182 | 101 | * @brief This function handles Usage Fault exception. |
richardv | 0:b079fa4ed182 | 102 | * @param None |
richardv | 0:b079fa4ed182 | 103 | * @retval None |
richardv | 0:b079fa4ed182 | 104 | */ |
richardv | 0:b079fa4ed182 | 105 | void UsageFault_Handler(void) |
richardv | 0:b079fa4ed182 | 106 | { |
richardv | 0:b079fa4ed182 | 107 | /* Go to infinite loop when Usage Fault exception occurs */ |
richardv | 0:b079fa4ed182 | 108 | while (1) |
richardv | 0:b079fa4ed182 | 109 | { |
richardv | 0:b079fa4ed182 | 110 | } |
richardv | 0:b079fa4ed182 | 111 | } |
richardv | 0:b079fa4ed182 | 112 | |
richardv | 0:b079fa4ed182 | 113 | /** |
richardv | 0:b079fa4ed182 | 114 | * @brief This function handles SVCall exception. |
richardv | 0:b079fa4ed182 | 115 | * @param None |
richardv | 0:b079fa4ed182 | 116 | * @retval None |
richardv | 0:b079fa4ed182 | 117 | */ |
richardv | 0:b079fa4ed182 | 118 | void SVC_Handler(void) |
richardv | 0:b079fa4ed182 | 119 | { |
richardv | 0:b079fa4ed182 | 120 | } |
richardv | 0:b079fa4ed182 | 121 | |
richardv | 0:b079fa4ed182 | 122 | /** |
richardv | 0:b079fa4ed182 | 123 | * @brief This function handles Debug Monitor exception. |
richardv | 0:b079fa4ed182 | 124 | * @param None |
richardv | 0:b079fa4ed182 | 125 | * @retval None |
richardv | 0:b079fa4ed182 | 126 | */ |
richardv | 0:b079fa4ed182 | 127 | void DebugMon_Handler(void) |
richardv | 0:b079fa4ed182 | 128 | { |
richardv | 0:b079fa4ed182 | 129 | } |
richardv | 0:b079fa4ed182 | 130 | |
richardv | 0:b079fa4ed182 | 131 | /** |
richardv | 0:b079fa4ed182 | 132 | * @brief This function handles PendSVC exception. |
richardv | 0:b079fa4ed182 | 133 | * @param None |
richardv | 0:b079fa4ed182 | 134 | * @retval None |
richardv | 0:b079fa4ed182 | 135 | */ |
richardv | 0:b079fa4ed182 | 136 | void PendSV_Handler(void) |
richardv | 0:b079fa4ed182 | 137 | { |
richardv | 0:b079fa4ed182 | 138 | } |
richardv | 0:b079fa4ed182 | 139 | |
richardv | 0:b079fa4ed182 | 140 | /** |
richardv | 0:b079fa4ed182 | 141 | * @brief This function handles SysTick Handler. |
richardv | 0:b079fa4ed182 | 142 | * @param None |
richardv | 0:b079fa4ed182 | 143 | * @retval None |
richardv | 0:b079fa4ed182 | 144 | */ |
richardv | 0:b079fa4ed182 | 145 | void SysTick_Handler(void) |
richardv | 0:b079fa4ed182 | 146 | { |
richardv | 0:b079fa4ed182 | 147 | } |
richardv | 0:b079fa4ed182 | 148 | |
richardv | 0:b079fa4ed182 | 149 | /******************************************************************************/ |
richardv | 0:b079fa4ed182 | 150 | /* STM32F3xx Peripherals Interrupt Handlers */ |
richardv | 0:b079fa4ed182 | 151 | /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */ |
richardv | 0:b079fa4ed182 | 152 | /* available peripheral interrupt handler's name please refer to the startup */ |
richardv | 0:b079fa4ed182 | 153 | /* file (startup_stm32f334x8.s). */ |
richardv | 0:b079fa4ed182 | 154 | /******************************************************************************/ |
richardv | 0:b079fa4ed182 | 155 | /** |
richardv | 0:b079fa4ed182 | 156 | * @brief This function handles PPP interrupt request. |
richardv | 0:b079fa4ed182 | 157 | * @param None |
richardv | 0:b079fa4ed182 | 158 | * @retval None |
richardv | 0:b079fa4ed182 | 159 | */ |
richardv | 0:b079fa4ed182 | 160 | /*void PPP_IRQHandler(void) |
richardv | 0:b079fa4ed182 | 161 | { |
richardv | 0:b079fa4ed182 | 162 | }*/ |
richardv | 0:b079fa4ed182 | 163 | |
richardv | 0:b079fa4ed182 | 164 | /** |
richardv | 0:b079fa4ed182 | 165 | * @} |
richardv | 0:b079fa4ed182 | 166 | */ |
richardv | 0:b079fa4ed182 | 167 | |
richardv | 0:b079fa4ed182 | 168 | /** |
richardv | 0:b079fa4ed182 | 169 | * @} |
richardv | 0:b079fa4ed182 | 170 | */ |
richardv | 0:b079fa4ed182 | 171 | |
richardv | 0:b079fa4ed182 | 172 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |