- #ifndef _MOTOR_H__
- #define _MOTOR_H__
- #include "os/os_types.h"
- #include "foc/core/foc_type.h"
- bool mc_start(u8 mode);
- bool mc_stop(void);
- bool mc_target_speed(s16 rpm);
- bool mc_cruise_speed(s16 rpm);
- bool mc_enable_cruise(boolean_T enable);
- s16 mc_get_speed(void);
- bool mc_throttle_released(void);
- #endif /* _MOTOR_H__ */
|