STM32G4-DRV8301-FOC/FOC_Related/CONTROL/control.h

14 lines
270 B
C
Raw Normal View History

2024-07-22 13:55:29 +08:00
#ifndef _CONTROL_H
#define _CONTROL_H
extern float Angle_Out;
extern float Speed_Out;
void TIM3_IRQHandler(void);
float Angle_Control(float Angle_Err);
float Speed_Control(float Speed_Err);
float Current_Control(float Current_Err);
void Moment_limiting(void);
#endif