FOC开环调试成功
This commit is contained in:
+10
-3
@@ -8,9 +8,16 @@ extern "C" {
|
||||
#include <stdint.h>
|
||||
|
||||
void User_timer_init(void);
|
||||
void Timer0_init(void);
|
||||
void Set_Pwm(u16 channel,u32 pulse);
|
||||
void TIMER1_IRQHandler(void);
|
||||
void Set_Pwm(uint16_t channel, float duty_cycle);
|
||||
void Set_3Pwm(float duty_cycle0, float duty_cycle1,float duty_cycle2);
|
||||
void TIMER2_IRQHandler(void);
|
||||
|
||||
void timer1_pwm_config(void);
|
||||
void timer1_gpio_config(void);
|
||||
/* 获取系统运行时间 */
|
||||
uint64_t get_system_runtime_us(void);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user