2025-08-30 7:31 AM
This is a line of code i don't understand,
/* Force the TIMx prescaler with immediate access (gen update event)
*/
LL_TIM_SetPrescaler(TIMx, pHandle->HALLMaxRatio);
LL_TIM_GenerateEvent_UPDATE(TIMx);
The code is part of the __weak void HALL_Init(HALL_Handle_t *pHandle) function
when the second line of code is executed does it mean that i get the interrupt timer over flow interrupt immediately. Please clarify. The TIM4 is configured in XOR / Hall mode.