| 1234567891011121314151617181920212223 |
- #pragma once
- #include <stm32wbxx_ll_tim.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- /** Timer ISR */
- typedef void (*ApiHalInterruptISR)();
- /** Set Timer ISR
- * By default ISR is serviced by ST HAL. Use this function to override it.
- * We don't clear interrupt flags for you, do it by your self.
- * @timer - timer instance
- * @isr - your interrupt service routine or use NULL to clear
- */
- void api_hal_interrupt_set_timer_isr(TIM_TypeDef *timer, ApiHalInterruptISR isr);
- #ifdef __cplusplus
- }
- #endif
|