Complementary PWM not working for STM8S105 MCU
Here is the initialization code...void InitPwm(void){TIM1_DeInit();TIM1_TimeBaseInit(0, TIM1_COUNTERMODE_CENTERALIGNED1, 800, 0);TIM1_OC1Init(TIM1_OCMODE_PWM1, TIM1_OUTPUTSTATE_ENABLE, TIM1_OUTPUTNSTATE_ENABLE, 100, TIM1_OCPOLA...