AnsweredAssumed Answered

Updating Duty Cycle for PWM in STM32F407

Question asked by joshi.vinayak on Jun 17, 2015
Latest reply on Jun 18, 2015 by Majerle.Tilen
Hi,
I am using STM32F407 uc with latest HAL lib. for PWM. In th elatest lib. there is no function provided to update the Duty cycle, reset the counter and auto reload like old driver
         TIM_SetCounter( TIM11, 0 );
        TIM_SetAutoreload( TIM11, TIM11_COUNTER );
        TIM_SetCompare1( TIM11, pulse_width );

How am i suppose to do this with new HAL driver?

pl. help me in this regard.

Vinayak

Outcomes