STM32F100 based power supply