Question
stm32 pwm intrupt / hal handler
hello i m using tim1 to generate pwm and using center alligned mode 1 , timer go to 0 to 1800 then 1800 to zero for one pwm cycle and generate 2 intrrupts
HAL_TIM_Base_Start_IT(&htim1); //intrrupt i am using
//handler is
void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)
{//update happens here
}
while i need one intrrupt for one pwm cycle when timer goes 1800 to zero
what intrrupt and which handler do i need ?please help
