PWM/ADC HAL callback referall
Hi,
As we know peripherals can have callback functions such as the below one for the PWM:
void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim) {
}
This is something like a general callback, But if we have several enabled PWMs or ADCs or similar, then how these could be differentiated by the callback functions to be fired just by the one we like, or for the time we like to have several callbacks, one for each. is that possible?
