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

19 lines
285 B
C
Raw Normal View History

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