Rev 23 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 23 | Rev 171 | ||
---|---|---|---|
1 | /*#######################################################################################*/ |
1 | /*#######################################################################################*/ |
2 | /* !!! THIS IS NOT FREE SOFTWARE !!! */ |
2 | /* !!! THIS IS NOT FREE SOFTWARE !!! */ |
3 | /*#######################################################################################*/ |
3 | /*#######################################################################################*/ |
4 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
4 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
5 | // + Copyright (c) 2008 Ingo Busker, Holger Buss |
5 | // + Copyright (c) 2008 Ingo Busker, Holger Buss |
6 | // + Nur für den privaten Gebrauch |
6 | // + Nur für den privaten Gebrauch / NON-COMMERCIAL USE ONLY |
7 | // + FOR NON COMMERCIAL USE ONLY |
7 | // + FOR NON COMMERCIAL USE ONLY |
8 | // + www.MikroKopter.com |
8 | // + www.MikroKopter.com |
9 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
9 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
10 | // + Es gilt für das gesamte Projekt (Hardware, Software, Binärfiles, Sourcecode und Dokumentation), |
10 | // + Es gilt für das gesamte Projekt (Hardware, Software, Binärfiles, Sourcecode und Dokumentation), |
11 | // + dass eine Nutzung (auch auszugsweise) nur für den privaten (nicht-kommerziellen) Gebrauch zulässig ist. |
11 | // + dass eine Nutzung (auch auszugsweise) nur für den privaten (nicht-kommerziellen) Gebrauch zulässig ist. |
12 | // + Sollten direkte oder indirekte kommerzielle Absichten verfolgt werden, ist mit uns (info@mikrokopter.de) Kontakt |
12 | // + Sollten direkte oder indirekte kommerzielle Absichten verfolgt werden, ist mit uns (info@mikrokopter.de) Kontakt |
13 | // + bzgl. der Nutzungsbedingungen aufzunehmen. |
13 | // + bzgl. der Nutzungsbedingungen aufzunehmen. |
14 | // + Eine kommerzielle Nutzung ist z.B.Verkauf von MikroKoptern, Bestückung und Verkauf von Platinen oder Bausätzen, |
14 | // + Eine kommerzielle Nutzung ist z.B.Verkauf von MikroKoptern, Bestückung und Verkauf von Platinen oder Bausätzen, |
15 | // + Verkauf von Luftbildaufnahmen, usw. |
15 | // + Verkauf von Luftbildaufnahmen, usw. |
16 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
16 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
17 | // + Werden Teile des Quellcodes (mit oder ohne Modifikation) weiterverwendet oder veröffentlicht, |
17 | // + Werden Teile des Quellcodes (mit oder ohne Modifikation) weiterverwendet oder veröffentlicht, |
18 | // + unterliegen sie auch diesen Nutzungsbedingungen und diese Nutzungsbedingungen incl. Copyright müssen dann beiliegen |
18 | // + unterliegen sie auch diesen Nutzungsbedingungen und diese Nutzungsbedingungen incl. Copyright müssen dann beiliegen |
19 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
19 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
20 | // + Sollte die Software (auch auszugesweise) oder sonstige Informationen des MikroKopter-Projekts |
20 | // + Sollte die Software (auch auszugesweise) oder sonstige Informationen des MikroKopter-Projekts |
21 | // + auf anderen Webseiten oder sonstigen Medien veröffentlicht werden, muss unsere Webseite "http://www.mikrokopter.de" |
21 | // + auf anderen Webseiten oder sonstigen Medien veröffentlicht werden, muss unsere Webseite "http://www.mikrokopter.de" |
22 | // + eindeutig als Ursprung verlinkt werden |
22 | // + eindeutig als Ursprung verlinkt werden |
23 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
23 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
24 | // + Keine Gewähr auf Fehlerfreiheit, Vollständigkeit oder Funktion |
24 | // + Keine Gewähr auf Fehlerfreiheit, Vollständigkeit oder Funktion |
25 | // + Benutzung auf eigene Gefahr |
25 | // + Benutzung auf eigene Gefahr |
26 | // + Wir übernehmen keinerlei Haftung für direkte oder indirekte Personen- oder Sachschäden |
26 | // + Wir übernehmen keinerlei Haftung für direkte oder indirekte Personen- oder Sachschäden |
27 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
27 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
28 | // + Die PORTIERUNG der Software (oder Teile davon) auf andere Systeme (ausser der Hardware von www.mikrokopter.de) ist nur |
28 | // + Die Portierung oder Nutzung der Software (oder Teile davon) auf andere Systeme (ausser der Hardware von www.mikrokopter.de) ist nur |
29 | // + mit unserer Zustimmung zulässig |
29 | // + mit unserer Zustimmung zulässig |
30 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
30 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
31 | // + Die Funktion printf_P() unterliegt ihrer eigenen Lizenz und ist hiervon nicht betroffen |
31 | // + Die Funktion printf_P() unterliegt ihrer eigenen Lizenz und ist hiervon nicht betroffen |
32 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
32 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
33 | // + Redistributions of source code (with or without modifications) must retain the above copyright notice, |
33 | // + Redistributions of source code (with or without modifications) must retain the above copyright notice, |
34 | // + this list of conditions and the following disclaimer. |
34 | // + this list of conditions and the following disclaimer. |
35 | // + * Neither the name of the copyright holders nor the names of contributors may be used to endorse or promote products derived |
35 | // + * Neither the name of the copyright holders nor the names of contributors may be used to endorse or promote products derived |
36 | // + from this software without specific prior written permission. |
36 | // + from this software without specific prior written permission. |
37 | // + * The use of this project (hardware, software, binary files, sources and documentation) is only permitted |
37 | // + * The use of this project (hardware, software, binary files, sources and documentation) is only permitted |
38 | // + for non-commercial use (directly or indirectly) |
38 | // + for non-commercial use (directly or indirectly) |
39 | // + Commercial use (for excample: selling of MikroKopters, selling of PCBs, assembly, ...) is only permitted |
39 | // + Commercial use (for excample: selling of MikroKopters, selling of PCBs, assembly, ...) is only permitted |
40 | // + with our written permission |
40 | // + with our written permission |
41 | // + * If sources or documentations are redistributet on other webpages, out webpage (http://www.MikroKopter.de) must be |
41 | // + * If sources or documentations are redistributet on other webpages, out webpage (http://www.MikroKopter.de) must be |
42 | // + clearly linked as origin |
42 | // + clearly linked as origin |
43 | // + * PORTING this software (or part of it) to systems (other than hardware from www.mikrokopter.de) is NOT allowed |
43 | // + * porting the sources to other systems or using the software on other systems (except hardware from www.mikrokopter.de) is not allowed |
44 | // |
44 | // |
45 | // + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
45 | // + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
46 | // + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
46 | // + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
47 | // + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
47 | // + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
48 | // + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
48 | // + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
49 | // + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
49 | // + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
50 | // + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
50 | // + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
51 | // + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
51 | // + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
52 | // + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
52 | // + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
53 | // + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
53 | // + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
54 | // + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
54 | // + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
55 | // + POSSIBILITY OF SUCH DAMAGE. |
55 | // + POSSIBILITY OF SUCH DAMAGE. |
56 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
56 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
57 | #include "main.h" |
57 | #include "main.h" |
58 | 58 | ||
59 | #define global extern /* to declare external variables and functions */ |
59 | #define global extern /* to declare external variables and functions */ |
60 | 60 | ||
61 | extern void USB_Istr(void); |
61 | extern void USB_Istr(void); |
62 | 62 | ||
63 | void SWI_Handler (void) __attribute__ ((interrupt ("SWI"))); |
63 | void SWI_Handler (void) __attribute__ ((interrupt ("SWI"))); |
64 | void Prefetch_Handler (void) __attribute__ ((interrupt ("ABORT"))); |
64 | void Prefetch_Handler (void) __attribute__ ((interrupt ("ABORT"))); |
65 | void Abort_Handler (void) __attribute__ ((interrupt ("ABORT"))); |
65 | void Abort_Handler (void) __attribute__ ((interrupt ("ABORT"))); |
66 | void Undefined_Handler (void) __attribute__ ((interrupt ("UNDEF"))); |
66 | void Undefined_Handler (void) __attribute__ ((interrupt ("UNDEF"))); |
67 | void FIQ_Handler (void) __attribute__ ((interrupt ("FIQ"))); |
67 | void FIQ_Handler (void) __attribute__ ((interrupt ("FIQ"))); |
68 | 68 | ||
69 | void Dummy_Handler(void) |
69 | void Dummy_Handler(void) |
70 | { |
70 | { |
71 | VIC0->VAR = 0xFF; |
71 | VIC0->VAR = 0xFF; |
72 | VIC1->VAR = 0XFF; |
72 | VIC1->VAR = 0XFF; |
73 | } |
73 | } |
74 | 74 | ||
75 | void InitInterrupt(void) |
75 | void InitInterrupt(void) |
76 | { |
76 | { |
77 | VIC0->DVAR = (u32)Dummy_Handler; |
77 | VIC0->DVAR = (u32)Dummy_Handler; |
78 | VIC1->DVAR = (u32)Dummy_Handler; |
78 | VIC1->DVAR = (u32)Dummy_Handler; |
79 | } |
79 | } |
80 | 80 | ||
81 | void SWI_Handler (void) |
81 | void SWI_Handler (void) |
82 | { |
82 | { |
83 | } |
83 | } |
84 | 84 | ||
85 | 85 | ||
86 | void Abort_Handler (void) |
86 | void Abort_Handler (void) |
87 | { |
87 | { |
88 | } |
88 | } |
89 | 89 | ||
90 | void Undefined_Handler (void) |
90 | void Undefined_Handler (void) |
91 | { |
91 | { |
92 | } |
92 | } |
93 | 93 | ||
94 | void FIQ_Handler (void) |
94 | void FIQ_Handler (void) |
95 | { |
95 | { |
96 | } |
96 | } |
97 | /******************************************************************************* |
97 | /******************************************************************************* |
98 | * Function Name : Prefetch_Handler |
98 | * Function Name : Prefetch_Handler |
99 | * Description : This function handles preftetch abort exception. |
99 | * Description : This function handles preftetch abort exception. |
100 | *******************************************************************************/ |
100 | *******************************************************************************/ |
101 | void Prefetch_Handler(void) |
101 | void Prefetch_Handler(void) |
102 | { |
102 | { |
103 | } |
103 | } |
104 | /******************************************************************************* |
104 | /******************************************************************************* |
105 | * Function Name : WDG_IRQHandler |
105 | * Function Name : WDG_IRQHandler |
106 | * Description : This function handles the WDG interrupt request |
106 | * Description : This function handles the WDG interrupt request |
107 | *******************************************************************************/ |
107 | *******************************************************************************/ |
108 | void WDG_IRQHandler(void) |
108 | void WDG_IRQHandler(void) |
109 | { |
109 | { |
110 | } |
110 | } |
111 | /******************************************************************************* |
111 | /******************************************************************************* |
112 | * Function Name : SW_IRQHandler |
112 | * Function Name : SW_IRQHandler |
113 | * Description : This function handles the SW interrupt request |
113 | * Description : This function handles the SW interrupt request |
114 | *******************************************************************************/ |
114 | *******************************************************************************/ |
115 | void SW_IRQHandler(void) |
115 | void SW_IRQHandler(void) |
116 | { |
116 | { |
117 | } |
117 | } |
118 | /******************************************************************************* |
118 | /******************************************************************************* |
119 | * Function Name : ARMRX_IRQHandler |
119 | * Function Name : ARMRX_IRQHandler |
120 | * Description : This function handles the ARMRX interrupt request |
120 | * Description : This function handles the ARMRX interrupt request |
121 | *******************************************************************************/ |
121 | *******************************************************************************/ |
122 | void ARMRX_IRQHandler(void) |
122 | void ARMRX_IRQHandler(void) |
123 | { |
123 | { |
124 | } |
124 | } |
125 | /******************************************************************************* |
125 | /******************************************************************************* |
126 | * Function Name : ARMTX_IRQHandler |
126 | * Function Name : ARMTX_IRQHandler |
127 | * Description : This function handles the ARMTX interrupt request |
127 | * Description : This function handles the ARMTX interrupt request |
128 | *******************************************************************************/ |
128 | *******************************************************************************/ |
129 | void ARMTX_IRQHandler(void) |
129 | void ARMTX_IRQHandler(void) |
130 | { |
130 | { |
131 | } |
131 | } |
132 | /******************************************************************************* |
132 | /******************************************************************************* |
133 | * Function Name : TIM0_IRQHandler |
133 | * Function Name : TIM0_IRQHandler |
134 | * Description : This function handles the TIM0 interrupt request |
134 | * Description : This function handles the TIM0 interrupt request |
135 | *******************************************************************************/ |
135 | *******************************************************************************/ |
136 | void TIM0_IRQHandler(void) |
136 | void TIM0_IRQHandler(void) |
137 | { |
137 | { |
138 | } |
138 | } |
139 | /******************************************************************************* |
139 | /******************************************************************************* |
140 | * Function Name : TIM1_IRQHandler |
140 | * Function Name : TIM1_IRQHandler |
141 | * Description : This function handles the TIM1 interrupt request |
141 | * Description : This function handles the TIM1 interrupt request |
142 | *******************************************************************************/ |
142 | *******************************************************************************/ |
143 | //void TIM1_IRQHandler(void) |
143 | //void TIM1_IRQHandler(void) |
144 | //{ |
144 | //{ |
145 | //} |
145 | //} |
146 | /******************************************************************************* |
146 | /******************************************************************************* |
147 | * Function Name : TIM2_IRQHandler |
147 | * Function Name : TIM2_IRQHandler |
148 | * Description : This function handles the TIM2 interrupt request |
148 | * Description : This function handles the TIM2 interrupt request |
149 | *******************************************************************************/ |
149 | *******************************************************************************/ |
150 | void TIM2_IRQHandler(void) |
150 | void TIM2_IRQHandler(void) |
151 | { |
151 | { |
152 | } |
152 | } |
153 | /******************************************************************************* |
153 | /******************************************************************************* |
154 | * Function Name : TIM3_IRQHandler |
154 | * Function Name : TIM3_IRQHandler |
155 | * Description : This function handles the TIM3 interrupt request |
155 | * Description : This function handles the TIM3 interrupt request |
156 | *******************************************************************************/ |
156 | *******************************************************************************/ |
157 | void TIM3_IRQHandler(void) |
157 | void TIM3_IRQHandler(void) |
158 | { |
158 | { |
159 | } |
159 | } |
160 | /******************************************************************************* |
160 | /******************************************************************************* |
161 | * Function Name : USBHP_IRQHandler |
161 | * Function Name : USBHP_IRQHandler |
162 | * Description : This function handles the USBHP interrupt request |
162 | * Description : This function handles the USBHP interrupt request |
163 | *******************************************************************************/ |
163 | *******************************************************************************/ |
164 | void USBHP_IRQHandler(void) |
164 | void USBHP_IRQHandler(void) |
165 | { |
165 | { |
166 | CTR_HP(); |
166 | CTR_HP(); |
167 | } |
167 | } |
168 | /******************************************************************************* |
168 | /******************************************************************************* |
169 | * Function Name : USBLP_IRQHandler |
169 | * Function Name : USBLP_IRQHandler |
170 | * Description : This function handles the USBLP interrupt request |
170 | * Description : This function handles the USBLP interrupt request |
171 | *******************************************************************************/ |
171 | *******************************************************************************/ |
172 | void USBLP_IRQHandler(void) |
172 | void USBLP_IRQHandler(void) |
173 | { |
173 | { |
174 | USB_Istr(); |
174 | USB_Istr(); |
175 | } |
175 | } |
176 | /******************************************************************************* |
176 | /******************************************************************************* |
177 | * Function Name : SCU_IRQHandler |
177 | * Function Name : SCU_IRQHandler |
178 | * Description : This function handles the SCU interrupt request |
178 | * Description : This function handles the SCU interrupt request |
179 | *******************************************************************************/ |
179 | *******************************************************************************/ |
180 | void SCU_IRQHandler(void) |
180 | void SCU_IRQHandler(void) |
181 | { |
181 | { |
182 | } |
182 | } |
183 | /******************************************************************************* |
183 | /******************************************************************************* |
184 | * Function Name : ENET_IRQHandler |
184 | * Function Name : ENET_IRQHandler |
185 | * Description : This function handles the DENET interrupt request |
185 | * Description : This function handles the DENET interrupt request |
186 | *******************************************************************************/ |
186 | *******************************************************************************/ |
187 | void ENET_IRQHandler(void) |
187 | void ENET_IRQHandler(void) |
188 | { |
188 | { |
189 | } |
189 | } |
190 | /******************************************************************************* |
190 | /******************************************************************************* |
191 | * Function Name : DMA_IRQHandler |
191 | * Function Name : DMA_IRQHandler |
192 | * Description : This function handles the DMA interrupt request |
192 | * Description : This function handles the DMA interrupt request |
193 | *******************************************************************************/ |
193 | *******************************************************************************/ |
194 | void DMA_IRQHandler(void) |
194 | void DMA_IRQHandler(void) |
195 | { |
195 | { |
196 | } |
196 | } |
197 | /******************************************************************************* |
197 | /******************************************************************************* |
198 | * Function Name : CAN_IRQHandler |
198 | * Function Name : CAN_IRQHandler |
199 | * Description : This function handles the CAN interrupt request |
199 | * Description : This function handles the CAN interrupt request |
200 | *******************************************************************************/ |
200 | *******************************************************************************/ |
201 | void CAN_IRQHandler(void) |
201 | void CAN_IRQHandler(void) |
202 | { |
202 | { |
203 | } |
203 | } |
204 | /******************************************************************************* |
204 | /******************************************************************************* |
205 | * Function Name : MC_IRQHandler |
205 | * Function Name : MC_IRQHandler |
206 | * Description : This function handles the MC interrupt request |
206 | * Description : This function handles the MC interrupt request |
207 | *******************************************************************************/ |
207 | *******************************************************************************/ |
208 | void MC_IRQHandler(void) |
208 | void MC_IRQHandler(void) |
209 | { |
209 | { |
210 | } |
210 | } |
211 | /******************************************************************************* |
211 | /******************************************************************************* |
212 | * Function Name : ADC_IRQHandler |
212 | * Function Name : ADC_IRQHandler |
213 | * Description : This function handles the ADC interrupt request |
213 | * Description : This function handles the ADC interrupt request |
214 | *******************************************************************************/ |
214 | *******************************************************************************/ |
215 | void ADC_IRQHandler(void) |
215 | void ADC_IRQHandler(void) |
216 | { |
216 | { |
217 | } |
217 | } |
218 | /******************************************************************************* |
218 | /******************************************************************************* |
219 | * Function Name : UART0_IRQHandler |
219 | * Function Name : UART0_IRQHandler |
220 | * Description : This function handles the UART0 interrupt request |
220 | * Description : This function handles the UART0 interrupt request |
221 | *******************************************************************************/ |
221 | *******************************************************************************/ |
222 | /*void UART0_IRQHandler(void) |
222 | /*void UART0_IRQHandler(void) |
223 | { |
223 | { |
224 | } */ |
224 | } */ |
225 | /******************************************************************************* |
225 | /******************************************************************************* |
226 | * Function Name : UART1_IRQHandler |
226 | * Function Name : UART1_IRQHandler |
227 | * Description : This function handles the UART1 interrupt request |
227 | * Description : This function handles the UART1 interrupt request |
228 | *******************************************************************************/ |
228 | *******************************************************************************/ |
229 | //void UART1_IRQHandler(void) __attribute__ ((interrupt ("IRQ"))); |
229 | //void UART1_IRQHandler(void) __attribute__ ((interrupt ("IRQ"))); |
230 | /*void UART1_IRQHandler(void) |
230 | /*void UART1_IRQHandler(void) |
231 | { |
231 | { |
232 | UART1->DR = UART1->DR; |
232 | UART1->DR = UART1->DR; |
233 | 233 | ||
234 | UART_ClearITPendingBit(UART1, UART_IT_Receive); |
234 | UART_ClearITPendingBit(UART1, UART_IT_Receive); |
235 | |
235 | |
236 | } |
236 | } |
237 | */ |
237 | */ |
238 | /******************************************************************************* |
238 | /******************************************************************************* |
239 | * Function Name : UART2_IRQHandler |
239 | * Function Name : UART2_IRQHandler |
240 | * Description : This function handles the UART2 interrupt request |
240 | * Description : This function handles the UART2 interrupt request |
241 | *******************************************************************************/ |
241 | *******************************************************************************/ |
242 | void UART2_IRQHandler(void) |
242 | void UART2_IRQHandler(void) |
243 | { |
243 | { |
244 | } |
244 | } |
245 | /******************************************************************************* |
245 | /******************************************************************************* |
246 | * Function Name : I2C0_IRQHandler |
246 | * Function Name : I2C0_IRQHandler |
247 | * Description : This function handles the I2C0 interrupt request |
247 | * Description : This function handles the I2C0 interrupt request |
248 | *******************************************************************************/ |
248 | *******************************************************************************/ |
249 | void I2C0_IRQHandler(void) |
249 | void I2C0_IRQHandler(void) |
250 | { |
250 | { |
251 | } |
251 | } |
252 | /******************************************************************************* |
252 | /******************************************************************************* |
253 | * Function Name : I2C1_IRQHandler |
253 | * Function Name : I2C1_IRQHandler |
254 | * Description : This function handles the I2C1 interrupt request |
254 | * Description : This function handles the I2C1 interrupt request |
255 | *******************************************************************************/ |
255 | *******************************************************************************/ |
256 | /*void I2C1_IRQHandler(void) |
256 | /*void I2C1_IRQHandler(void) |
257 | { |
257 | { |
258 | } */ |
258 | } */ |
259 | /******************************************************************************* |
259 | /******************************************************************************* |
260 | * Function Name : SSP0_IRQHandler |
260 | * Function Name : SSP0_IRQHandler |
261 | * Description : This function handles the SSP0 interrupt request |
261 | * Description : This function handles the SSP0 interrupt request |
262 | *******************************************************************************/ |
262 | *******************************************************************************/ |
263 | /*void SSP0_IRQHandler(void) |
263 | /*void SSP0_IRQHandler(void) |
264 | { |
264 | { |
265 | } */ |
265 | } */ |
266 | /******************************************************************************* |
266 | /******************************************************************************* |
267 | * Function Name : SSP1_IRQHandler |
267 | * Function Name : SSP1_IRQHandler |
268 | * Description : This function handles the SSP1 interrupt request |
268 | * Description : This function handles the SSP1 interrupt request |
269 | *******************************************************************************/ |
269 | *******************************************************************************/ |
270 | void SSP1_IRQHandler(void) |
270 | void SSP1_IRQHandler(void) |
271 | { |
271 | { |
272 | } |
272 | } |
273 | /******************************************************************************* |
273 | /******************************************************************************* |
274 | * Function Name : LVD_IRQHandler |
274 | * Function Name : LVD_IRQHandler |
275 | * Description : This function handles the LVD interrupt request |
275 | * Description : This function handles the LVD interrupt request |
276 | *******************************************************************************/ |
276 | *******************************************************************************/ |
277 | void LVD_IRQHandler(void) |
277 | void LVD_IRQHandler(void) |
278 | { |
278 | { |
279 | } |
279 | } |
280 | /******************************************************************************* |
280 | /******************************************************************************* |
281 | * Function Name : RTC_IRQHandler |
281 | * Function Name : RTC_IRQHandler |
282 | * Description : This function handles the RTC interrupt request |
282 | * Description : This function handles the RTC interrupt request |
283 | *******************************************************************************/ |
283 | *******************************************************************************/ |
284 | void RTC_IRQHandler(void) |
284 | void RTC_IRQHandler(void) |
285 | { |
285 | { |
286 | } |
286 | } |
287 | /******************************************************************************* |
287 | /******************************************************************************* |
288 | * Function Name : WIU_IRQHandler |
288 | * Function Name : WIU_IRQHandler |
289 | * Description : This function handles the WIU interrupt request |
289 | * Description : This function handles the WIU interrupt request |
290 | *******************************************************************************/ |
290 | *******************************************************************************/ |
291 | void WIU_IRQHandler(void) |
291 | void WIU_IRQHandler(void) |
292 | { |
292 | { |
293 | } |
293 | } |
294 | /******************************************************************************* |
294 | /******************************************************************************* |
295 | * Function Name : EXTIT0_IRQHandler |
295 | * Function Name : EXTIT0_IRQHandler |
296 | * Description : This function handles the EXTIT0 interrupt request |
296 | * Description : This function handles the EXTIT0 interrupt request |
297 | *******************************************************************************/ |
297 | *******************************************************************************/ |
298 | void EXTIT0_IRQHandler(void) |
298 | void EXTIT0_IRQHandler(void) |
299 | { |
299 | { |
300 | } |
300 | } |
301 | /******************************************************************************* |
301 | /******************************************************************************* |
302 | * Function Name : EXTIT1_IRQHandler |
302 | * Function Name : EXTIT1_IRQHandler |
303 | * Description : This function handles the EXTIT1 interrupt request |
303 | * Description : This function handles the EXTIT1 interrupt request |
304 | *******************************************************************************/ |
304 | *******************************************************************************/ |
305 | void EXTIT1_IRQHandler(void) |
305 | void EXTIT1_IRQHandler(void) |
306 | { |
306 | { |
307 | } |
307 | } |
308 | /******************************************************************************* |
308 | /******************************************************************************* |
309 | * Function Name : EXTIT2_IRQHandler |
309 | * Function Name : EXTIT2_IRQHandler |
310 | * Description : This function handles the EXTIT2 interrupt request |
310 | * Description : This function handles the EXTIT2 interrupt request |
311 | *******************************************************************************/ |
311 | *******************************************************************************/ |
312 | void EXTIT2_IRQHandler(void) |
312 | void EXTIT2_IRQHandler(void) |
313 | { |
313 | { |
314 | } |
314 | } |
315 | /******************************************************************************* |
315 | /******************************************************************************* |
316 | * Function Name : EXTIT3_IRQHandler |
316 | * Function Name : EXTIT3_IRQHandler |
317 | * Description : This function handles the EXTIT3 interrupt request |
317 | * Description : This function handles the EXTIT3 interrupt request |
318 | *******************************************************************************/ |
318 | *******************************************************************************/ |
319 | void EXTIT3_IRQHandler(void) |
319 | void EXTIT3_IRQHandler(void) |
320 | { |
320 | { |
321 | } |
321 | } |
322 | /******************************************************************************* |
322 | /******************************************************************************* |
323 | * Function Name : USBWU_IRQHandler |
323 | * Function Name : USBWU_IRQHandler |
324 | * Description : This function handles the USBWU interrupt request |
324 | * Description : This function handles the USBWU interrupt request |
325 | *******************************************************************************/ |
325 | *******************************************************************************/ |
326 | void USBWU_IRQHandler(void) |
326 | void USBWU_IRQHandler(void) |
327 | { |
327 | { |
328 | } |
328 | } |
329 | /******************************************************************************* |
329 | /******************************************************************************* |
330 | * Function Name : PFQBC_IRQHandler |
330 | * Function Name : PFQBC_IRQHandler |
331 | * Description : This function handles the PFQBC interrupt request |
331 | * Description : This function handles the PFQBC interrupt request |
332 | *******************************************************************************/ |
332 | *******************************************************************************/ |
333 | void PFQBC_IRQHandler(void) |
333 | void PFQBC_IRQHandler(void) |
334 | { |
334 | { |
335 | } |
335 | } |
336 | 336 | ||
337 | 337 |