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

19 lines
276 B
C

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