2020-12-19 05:26:03 +10:00
|
|
|
#include "api-hal/api-interrupt-mgr.h"
|
|
|
|
|
|
|
|
/* interrupts */
|
|
|
|
void HAL_COMP_TriggerCallback(COMP_HandleTypeDef* hcomp) {
|
|
|
|
api_interrupt_call(InterruptTypeComparatorTrigger, hcomp);
|
2021-01-08 02:28:35 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef* htim) {
|
|
|
|
api_interrupt_call(InterruptTypeTimerCapture, htim);
|
2020-12-19 05:26:03 +10:00
|
|
|
}
|