Features:
- Added position control closed-loop
- Added speed control closed-loop
- Field weakening feature for higher speeds;
- Sensor loop and control loop sync with PWM rate and cycle;
Limitations:
- Only FP precision is supported;
- No torque control loop;
- No 6-pwm inverter driver yet;
- FoC Engine rate limited to 20KHz.