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

19 lines
277 B
C
Raw Normal View History

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