RobotHardware-UESTC/Hardware/银星机器人底盘/PiRobot-YH_Firmware v1.0/STM32/BSPLIB/timer.h

19 lines
285 B
C

#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