Using STM32 to Control a Power Inverter