mapped vbus sampling adc interrupt

This commit is contained in:
wzli
2016-12-05 01:01:48 +09:00
parent 558c480dd3
commit 2a895914a8
+1
View File
@@ -175,6 +175,7 @@ void ADC_IRQHandler(void)
// The HAL's ADC handling mechanism adds thousands of clock cycles of overhead
// So we bypass it and handle the logic ourselves.
//@TODO add vbus meaasurement on adc1 here
ADC_IRQ_Dispatch(&hadc1, &vbus_sense_adc_cb);
ADC_IRQ_Dispatch(&hadc2, &pwm_trig_adc_cb);
ADC_IRQ_Dispatch(&hadc3, &pwm_trig_adc_cb);