| | |
| | | /** |
| | | ****************************************************************************** |
| | | * @file Project/STM32F10x_StdPeriph_Template/stm32f10x_it.c |
| | | * @file Project/STM32F10x_StdPeriph_Template/stm32f10x_it.c |
| | | * @author MCD Application Team |
| | | * @version V3.4.0 |
| | | * @date 10/15/2010 |
| | | * @brief Main Interrupt Service Routines. |
| | | * This file provides template for all exceptions handler and |
| | | * This file provides template for all exceptions handler and |
| | | * peripherals interrupt service routine. |
| | | ****************************************************************************** |
| | | * @copy |
| | |
| | | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. |
| | | * |
| | | * <h2><center>© COPYRIGHT 2010 STMicroelectronics</center></h2> |
| | | */ |
| | | */ |
| | | |
| | | /* Includes ------------------------------------------------------------------*/ |
| | | #include "stm32f10x_it.h" |
| | | #include "stm32f10x.h" |
| | | /* Tick timer count. */ |
| | | volatile unsigned long time32_incr; |
| | | volatile unsigned long time32_reset = 0; |
| | | volatile uint32_t time32_incr; |
| | | void SysTick_Handler(void) |
| | | { |
| | | time32_incr++; |
| | | time32_reset++; |
| | | if(time32_reset>10000) |
| | | { |
| | | NVIC_SystemReset(); |
| | | } |
| | | } |
| | | |
| | | /******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/ |