STM32F4xx and STM32F1xx devices are optimal for driving mosfets in hals or full bridge configuration. Implement complementary PWM and dead-time generation should be implemented.