About The repo implement some most widely used common control functions for FoC motor drive. The functions are verified using Qspice C-block.