feat(FOC): 添加开关机功能并优化定时器配置

This commit is contained in:
cbb
2025-10-29 21:22:10 +08:00
parent 7f0ca1857b
commit 5d14731af5
6 changed files with 139 additions and 23 deletions
+2
View File
@@ -11,6 +11,8 @@ void User_timer_init(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 TIMER3_config(void);
void TIMER3_IRQHandler(void);
void timer1_pwm_config(void);
void timer1_gpio_config(void);