Simple FOC implementation of Half Bridge Gate Driver