How I Could balance interrupt from as7058 and LSM6DSOXTR
Hi to all comunity I've written the function below to reiceve interrupt from as7058 and LSM6DSOXTR but I have many and long periods that I received interrupts from as7058 only.How can I balance the receiving between them
?
void HAL_GPIO_EXTI_Rising_Callback(uint16_t GPIO_Pin) {
if (AS7058_INT_Pin == GPIO_Pin) {
/* Handle AS7058 INT pin interrupt*/
extern void _as7058_int_pin_interrupt_callback(void);
_as7058_int_pin_interrupt_callback();
return;
}
if (iNEMO_INT1_Pin == GPIO_Pin) {
/* Handle here LSM6DSOXTR INT1 pin interrupt*/
return;
}
}
