Mercurial > ~darius > hgwebdir.cgi > stm32temp
comparison libs/STM32F10x_StdPeriph_Lib_V3.5.0/Project/STM32F10x_StdPeriph_Examples/SDIO/uSDCard/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 SDIO/uSDCard/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 | |
9 * peripherals 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 #include "stm32_eval_sdio_sd.h" | |
27 | |
28 /** @addtogroup STM32F10x_StdPeriph_Examples | |
29 * @{ | |
30 */ | |
31 | |
32 /** @addtogroup SDIO_uSDCard | |
33 * @{ | |
34 */ | |
35 | |
36 /* Private typedef -----------------------------------------------------------*/ | |
37 /* Private define ------------------------------------------------------------*/ | |
38 /* Private macro -------------------------------------------------------------*/ | |
39 /* Private variables ---------------------------------------------------------*/ | |
40 /* Private function prototypes -----------------------------------------------*/ | |
41 /* Private functions ---------------------------------------------------------*/ | |
42 | |
43 /******************************************************************************/ | |
44 /* Cortex-M3 Processor Exceptions Handlers */ | |
45 /******************************************************************************/ | |
46 | |
47 /** | |
48 * @brief This function handles NMI exception. | |
49 * @param None | |
50 * @retval None | |
51 */ | |
52 void NMI_Handler(void) | |
53 { | |
54 } | |
55 | |
56 /** | |
57 * @brief This function handles Hard Fault exception. | |
58 * @param None | |
59 * @retval None | |
60 */ | |
61 void HardFault_Handler(void) | |
62 { | |
63 /* Go to infinite loop when Hard Fault exception occurs */ | |
64 while (1) | |
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 * @brief This function handles Bus Fault exception. | |
82 * @param None | |
83 * @retval None | |
84 */ | |
85 void BusFault_Handler(void) | |
86 { | |
87 /* Go to infinite loop when Bus Fault exception occurs */ | |
88 while (1) | |
89 {} | |
90 } | |
91 | |
92 /** | |
93 * @brief This function handles Usage Fault exception. | |
94 * @param None | |
95 * @retval None | |
96 */ | |
97 void UsageFault_Handler(void) | |
98 { | |
99 /* Go to infinite loop when Usage Fault exception occurs */ | |
100 while (1) | |
101 {} | |
102 } | |
103 | |
104 /** | |
105 * @brief This function handles Debug Monitor exception. | |
106 * @param None | |
107 * @retval None | |
108 */ | |
109 void DebugMon_Handler(void) | |
110 { | |
111 } | |
112 | |
113 /** | |
114 * @brief This function handles SVCall exception. | |
115 * @param None | |
116 * @retval None | |
117 */ | |
118 void SVC_Handler(void) | |
119 { | |
120 } | |
121 | |
122 /** | |
123 * @brief This function handles PendSV_Handler exception. | |
124 * @param None | |
125 * @retval None | |
126 */ | |
127 void PendSV_Handler(void) | |
128 { | |
129 } | |
130 | |
131 /** | |
132 * @brief This function handles SysTick Handler. | |
133 * @param None | |
134 * @retval None | |
135 */ | |
136 void SysTick_Handler(void) | |
137 { | |
138 } | |
139 | |
140 /******************************************************************************/ | |
141 /* STM32F10x Peripherals Interrupt Handlers */ | |
142 /******************************************************************************/ | |
143 | |
144 /** | |
145 * @brief This function handles SDIO global interrupt request. | |
146 * @param None | |
147 * @retval None | |
148 */ | |
149 void SDIO_IRQHandler(void) | |
150 { | |
151 /* Process All SDIO Interrupt Sources */ | |
152 SD_ProcessIRQSrc(); | |
153 } | |
154 | |
155 /******************************************************************************/ | |
156 /* STM32F10x Peripherals Interrupt Handlers */ | |
157 /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */ | |
158 /* available peripheral interrupt handler's name please refer to the startup */ | |
159 /* file (startup_stm32f10x_xx.s). */ | |
160 /******************************************************************************/ | |
161 | |
162 /** | |
163 * @brief This function handles PPP interrupt request. | |
164 * @param None | |
165 * @retval None | |
166 */ | |
167 /*void PPP_IRQHandler(void) | |
168 { | |
169 }*/ | |
170 | |
171 /** | |
172 * @} | |
173 */ | |
174 | |
175 /** | |
176 * @} | |
177 */ | |
178 | |
179 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ |