| 12345678910111213 |
- #ifndef _FOC_H__
- #define _FOC_H__
- #include "foc/foc_type.h"
- void foc_init(void);
- void set_dq_voltage(float d_v, float q_v);
- void foc_pwm_start(bool start);
- int foc_hall_detect(float current, u16 *hall_table);
- void foc_ramp_speed(float rpm, u32 duration_ms);
- #endif /* _FOC_H__ */
|