tim_init.TIM_ClockDivision = TIM_CKD_DIV4; tim_init.TIM_CounterMode = TIM_CounterMode_Up;#if(OS_PROBE_TIMER_SEL == 2)RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2, ENABLE); TIM_TimeBaseInit(TIM2, &tim_init);TIM_SetCounter(TIM2,0); TIM_PrescalerConfig(TIM2,256, TIM_PSCReloadMode_...