#ifndef __TIMER_H__ #define __TIMER_H__ #ifdef __cplusplus extern "C" { #endif #include "stm32f10x.h" //Input parameter :TIMx and delay time(us), *timer2--7 1ms void Timer_InitBase(TIM_TypeDef* TIMx, uint32_t Time_us); #ifdef __cplusplus } #endif #endif //#ifndef TIMER_H