Two questions about HAL_GPIO_EXTI_IRQHandler
1- Using cubre-mx I enabled two IRQ lines, each generate its own ISR
void EXTI0_IRQHandler(void)
{
HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_0);
}
and
void EXTI15_10_IRQHandler(void)
{
HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_0);
}
Why HAL joint together both IRQ handlers in one function, isn't better to use two separate functions ?
2 - Later why use the name callback, this name should be reserved for functions used as parameter on functions?
