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