Generating complementary PWM with deadtime using standard peripheral library
I would like to generate Complementary PWM's with an adjustable deadtime on TIM1,2,3 channels. MCU is STM32F303CBI understand that this is done by setting the BDTR registers, but can't find a suitable reference/code snippet.This is what i have so far...