- #ifndef _MOTOR_H__
- #define _MOTOR_H__
- #include "os/os_types.h"
- #include "foc/core/PMSM_FOC_Core.h"
- void mc_init(void);
- bool mc_start(u8 mode);
- bool mc_stop(void);
- void mc_hall_calibrate(s16 vd);
- bool mc_throttle_released(void);
- bool mc_lock_motor(bool lock);
- #endif /* _MOTOR_H__ */
|