stm32f10x_it.c 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /**
  2. ******************************************************************************
  3. * @file GPIO/IOToggle/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>&copy; COPYRIGHT 2011 STMicroelectronics</center></h2>
  21. ******************************************************************************
  22. */
  23. /* Includes ------------------------------------------------------------------*/
  24. #include "stm32f10x_it.h"
  25. volatile uint8_t rfIntRequest = 0;
  26. void NMI_Handler(void)
  27. {
  28. }
  29. void HardFault_Handler(void)
  30. {
  31. /* Go to infinite loop when Hard Fault exception occurs */
  32. while (1)
  33. {
  34. }
  35. }
  36. // void EXTI3_IRQHandler(void)
  37. // {
  38. // //rfIntRequest=1;
  39. // EXTI_ClearITPendingBit(EXTI_Line3); //清除EXTI0线路挂起位
  40. // }
  41. void MemManage_Handler(void)
  42. {
  43. /* Go to infinite loop when Memory Manage exception occurs */
  44. while (1)
  45. {
  46. }
  47. }
  48. // void TIM3_IRQHandler(void) //TIM3中断
  49. // {
  50. // if (TIM_GetITStatus(TIM3, TIM_IT_Update) != RESET) //检查TIM3更新中断发生与否
  51. // {
  52. // TIM_ClearITPendingBit(TIM3, TIM_IT_Update ); //清除TIMx更新中断标志
  53. // if(TIMCallBack)
  54. // {
  55. // TIMCallBack();
  56. // }
  57. // }
  58. // }
  59. void BusFault_Handler(void)
  60. {
  61. /* Go to infinite loop when Bus Fault exception occurs */
  62. while (1)
  63. {
  64. }
  65. }
  66. void UsageFault_Handler(void)
  67. {
  68. /* Go to infinite loop when Usage Fault exception occurs */
  69. while (1)
  70. {
  71. }
  72. }
  73. void SVC_Handler(void)
  74. {
  75. }
  76. void DebugMon_Handler(void)
  77. {
  78. }
  79. void PendSV_Handler(void)
  80. {
  81. }
  82. void SysTick_Handler(void)
  83. {
  84. }
  85. /******************************************************************************/
  86. /* STM32F10x Peripherals Interrupt Handlers */
  87. /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */
  88. /* available peripheral interrupt handler's name please refer to the startup */
  89. /* file (startup_stm32f10x_xx.s). */
  90. /******************************************************************************/