Mercurial > ~darius > hgwebdir.cgi > stm32temp
comparison libs/STM32F10x_StdPeriph_Lib_V3.5.0/Project/STM32F10x_StdPeriph_Examples/TIM/ExtTrigger_Synchro/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 TIM/ExtTrigger_Synchro/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 | |
27 /** @addtogroup STM32F10x_StdPeriph_Examples | |
28 * @{ | |
29 */ | |
30 | |
31 /** @addtogroup TIM_ExtTrigger_Synchro | |
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 * @brief This function handles Memory Manage exception. | |
69 * @param None | |
70 * @retval None | |
71 */ | |
72 void MemManage_Handler(void) | |
73 { | |
74 /* Go to infinite loop when Memory Manage exception occurs */ | |
75 while (1) | |
76 {} | |
77 } | |
78 | |
79 /** | |
80 * @brief This function handles Bus Fault exception. | |
81 * @param None | |
82 * @retval None | |
83 */ | |
84 void BusFault_Handler(void) | |
85 { | |
86 /* Go to infinite loop when Bus Fault exception occurs */ | |
87 while (1) | |
88 {} | |
89 } | |
90 | |
91 /** | |
92 * @brief This function handles Usage Fault exception. | |
93 * @param None | |
94 * @retval None | |
95 */ | |
96 void UsageFault_Handler(void) | |
97 { | |
98 /* Go to infinite loop when Usage Fault exception occurs */ | |
99 while (1) | |
100 {} | |
101 } | |
102 | |
103 /** | |
104 * @brief This function handles Debug Monitor exception. | |
105 * @param None | |
106 * @retval None | |
107 */ | |
108 void DebugMon_Handler(void) | |
109 {} | |
110 | |
111 /** | |
112 * @brief This function handles SVCall exception. | |
113 * @param None | |
114 * @retval None | |
115 */ | |
116 void SVC_Handler(void) | |
117 {} | |
118 | |
119 /** | |
120 * @brief This function handles PendSV_Handler exception. | |
121 * @param None | |
122 * @retval None | |
123 */ | |
124 void PendSV_Handler(void) | |
125 {} | |
126 | |
127 /** | |
128 * @brief This function handles SysTick Handler. | |
129 * @param None | |
130 * @retval None | |
131 */ | |
132 void SysTick_Handler(void) | |
133 {} | |
134 | |
135 /******************************************************************************/ | |
136 /* STM32F10x Peripherals Interrupt Handlers */ | |
137 /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */ | |
138 /* available peripheral interrupt handler's name please refer to the startup */ | |
139 /* file (startup_stm32f10x_xx.s). */ | |
140 /******************************************************************************/ | |
141 | |
142 /** | |
143 * @brief This function handles PPP interrupt request. | |
144 * @param None | |
145 * @retval None | |
146 */ | |
147 /*void TPPP_IRQHandler(void) | |
148 { | |
149 }*/ | |
150 | |
151 /** | |
152 * @} | |
153 */ | |
154 | |
155 /** | |
156 * @} | |
157 */ | |
158 | |
159 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ |