/** * @brief This function handles ADC1, ADC2 and ADC3 global interrupts. */ void ADC_IRQHandler(void) { /* USER CODE BEGIN ADC_IRQn 0 */ /* USER CODE END ADC_IRQn 0 */ HAL_ADC_IRQHandler(&hadc1); HAL_ADC_IRQHandler(&hadc2); HAL_ADC_IRQHandler(&hadc3); /* USER CODE BEGIN ADC_IRQn 1 */ /* USER CODE END ADC_IRQn 1 */ }
/** * @brief This function handles ADC1, ADC2 and ADC3 global interrupts. */ void ADC_IRQHandler(void) { if(hadc_bsp1.Instance == ADC1) { HAL_ADC_IRQHandler(&hadc_bsp1); } else if(hadc_bsp2.Instance == ADC2) { HAL_ADC_IRQHandler(&hadc_bsp2); } else if(hadc_bsp3.Instance == ADC3) { HAL_ADC_IRQHandler(&hadc_bsp3); } }
/** * @brief This function handles ADC interrupt request. * @param None * @retval None */ void ADC_IRQHandler(void) { HAL_ADC_IRQHandler(&AdcHandle); }
void ADC_IRQHandler() { HAL_ADC_IRQHandler(&g_AdcHandle); }
void ADC1_IRQHandler(void) { HAL_ADC_IRQHandler(&hadc); }