HRTIM interrupt callback function
I would like use HRTIM timerA interruption event, so I where looking for the weak function to rewrite it but not found it.
I found that I must set compilation flag USE_HAL_HRTIM_REGISTER_CALLBACKS to 1 and make all functions as weak.
If I make so strong decision I disturb working that timer?,
what is the way to set the compilation flag using cubeide?
Is this the function that I must rewrite?
void HRTIM1_TIMA_IRQHandler(void)
{
//USER CODE
}
or I must do this?:
void HRTIM1_TIMA_IRQHandler(void)
{
//user code
HAL_HRTIM_IRQHandler(&hhrtim1,HRTIM_TIMERINDEX_TIMER_A);
}
