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