FOC Motor Control with PSoC 4 S-Series