motor.h 325 B

123456789101112131415
  1. #ifndef _MOTOR_H__
  2. #define _MOTOR_H__
  3. #include "os/os_types.h"
  4. #include "foc/core/foc_type.h"
  5. bool mc_start(u8 mode);
  6. bool mc_stop(void);
  7. bool mc_target_speed(s16 rpm);
  8. bool mc_cruise_speed(s16 rpm);
  9. bool mc_enable_cruise(boolean_T enable);
  10. s16 mc_get_speed(void);
  11. bool mc_throttle_released(void);
  12. #endif /* _MOTOR_H__ */