motor.h 286 B

1234567891011121314
  1. #ifndef _MOTOR_H__
  2. #define _MOTOR_H__
  3. #include "os/os_types.h"
  4. #include "foc/core/PMSM_FOC_Core.h"
  5. void mc_init(void);
  6. bool mc_start(u8 mode);
  7. bool mc_stop(void);
  8. void mc_hall_calibrate(s16 vd);
  9. bool mc_throttle_released(void);
  10. bool mc_lock_motor(bool lock);
  11. #endif /* _MOTOR_H__ */