/******************************************************
定时器1中断1ms
******************************************************/
INTERRUPT_HANDLER(TIM1_UPD_OVF_TRG_BRK_IRQHandler, 11)
{
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
// uint16_t i, j;
//
// TIM1_ClearITPendingBit(TIM1_IT_UPDATE);
//
//
// GPIO_WriteHigh(GPIOD, GPIO_PIN_3);
// while(( UART3_GetFlagStatus(UART3_FLAG_TXE)==RESET));
// UART3_SendData8(1);
//
// for(i = 0; i < 60000; i++);
//
// GPIO_WriteLow(GPIOD, GPIO_PIN_3);
static u16 time = 0;
float root = 0;