Mercurial > ~darius > hgwebdir.cgi > stm32temp
comparison libs/STM32F10x_StdPeriph_Lib_V3.5.0/Project/STM32F10x_StdPeriph_Examples/CRC/CRC_Calculation/stm32f10x_it.c @ 0:c59513fd84fb
Initial commit of STM32 test code.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Mon, 03 Oct 2011 21:19:15 +1030 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c59513fd84fb |
---|---|
1 /** | |
2 ****************************************************************************** | |
3 * @file CRC/CRC_Calculation/stm32f10x_it.c | |
4 * @author MCD Application Team | |
5 * @version V3.5.0 | |
6 * @date 08-April-2011 | |
7 * @brief Main Interrupt Service Routines. | |
8 * This file provides template for all exceptions handler and peripherals | |
9 * interrupt service routine. | |
10 ****************************************************************************** | |
11 * @attention | |
12 * | |
13 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS | |
14 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE | |
15 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY | |
16 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING | |
17 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE | |
18 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. | |
19 * | |
20 * <h2><center>© COPYRIGHT 2011 STMicroelectronics</center></h2> | |
21 ****************************************************************************** | |
22 */ | |
23 | |
24 /* Includes ------------------------------------------------------------------*/ | |
25 #include "stm32f10x_it.h" | |
26 | |
27 /** @addtogroup STM32F10x_StdPeriph_Examples | |
28 * @{ | |
29 */ | |
30 | |
31 /** @addtogroup CRC_Calculation | |
32 * @{ | |
33 */ | |
34 | |
35 /* Private typedef -----------------------------------------------------------*/ | |
36 /* Private define ------------------------------------------------------------*/ | |
37 /* Private macro -------------------------------------------------------------*/ | |
38 /* Private variables ---------------------------------------------------------*/ | |
39 /* Private function prototypes -----------------------------------------------*/ | |
40 /* Private functions ---------------------------------------------------------*/ | |
41 | |
42 /******************************************************************************/ | |
43 /* Cortex-M3 Processor Exceptions Handlers */ | |
44 /******************************************************************************/ | |
45 | |
46 /** | |
47 * @brief This function handles NMI exception. | |
48 * @param None | |
49 * @retval None | |
50 */ | |
51 void NMI_Handler(void) | |
52 { | |
53 } | |
54 | |
55 /** | |
56 * @brief This function handles Hard Fault exception. | |
57 * @param None | |
58 * @retval None | |
59 */ | |
60 void HardFault_Handler(void) | |
61 { | |
62 /* Go to infinite loop when Hard Fault exception occurs */ | |
63 while (1) | |
64 { | |
65 } | |
66 } | |
67 | |
68 /** | |
69 * @brief This function handles Memory Manage exception. | |
70 * @param None | |
71 * @retval None | |
72 */ | |
73 void MemManage_Handler(void) | |
74 { | |
75 /* Go to infinite loop when Memory Manage exception occurs */ | |
76 while (1) | |
77 { | |
78 } | |
79 } | |
80 | |
81 /** | |
82 * @brief This function handles Bus Fault exception. | |
83 * @param None | |
84 * @retval None | |
85 */ | |
86 void BusFault_Handler(void) | |
87 { | |
88 /* Go to infinite loop when Bus Fault exception occurs */ | |
89 while (1) | |
90 { | |
91 } | |
92 } | |
93 | |
94 /** | |
95 * @brief This function handles Usage Fault exception. | |
96 * @param None | |
97 * @retval None | |
98 */ | |
99 void UsageFault_Handler(void) | |
100 { | |
101 /* Go to infinite loop when Usage Fault exception occurs */ | |
102 while (1) | |
103 { | |
104 } | |
105 } | |
106 | |
107 /** | |
108 * @brief This function handles SVCall exception. | |
109 * @param None | |
110 * @retval None | |
111 */ | |
112 void SVC_Handler(void) | |
113 { | |
114 } | |
115 | |
116 /** | |
117 * @brief This function handles Debug Monitor exception. | |
118 * @param None | |
119 * @retval None | |
120 */ | |
121 void DebugMon_Handler(void) | |
122 { | |
123 } | |
124 | |
125 /** | |
126 * @brief This function handles PendSV_Handler exception. | |
127 * @param None | |
128 * @retval None | |
129 */ | |
130 void PendSV_Handler(void) | |
131 { | |
132 } | |
133 | |
134 /** | |
135 * @brief This function handles SysTick Handler. | |
136 * @param None | |
137 * @retval None | |
138 */ | |
139 void SysTick_Handler(void) | |
140 { | |
141 } | |
142 | |
143 /******************************************************************************/ | |
144 /* STM32F10x Peripherals Interrupt Handlers */ | |
145 /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */ | |
146 /* available peripheral interrupt handler's name please refer to the startup */ | |
147 /* file (startup_stm32f10x_xx.s). */ | |
148 /******************************************************************************/ | |
149 | |
150 /** | |
151 * @brief This function handles PPP interrupt request. | |
152 * @param None | |
153 * @retval None | |
154 */ | |
155 /*void PPP_IRQHandler(void) | |
156 { | |
157 }*/ | |
158 | |
159 /** | |
160 * @} | |
161 */ | |
162 | |
163 /** | |
164 * @} | |
165 */ | |
166 | |
167 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ |