2021-10-17 22:54:19 +00:00
|
|
|
#include "main.h"
|
|
|
|
#include "stm32wbxx_it.h"
|
|
|
|
#include "FreeRTOS.h"
|
|
|
|
#include "task.h"
|
|
|
|
#include "usbd_core.h"
|
|
|
|
|
|
|
|
extern usbd_device udev;
|
|
|
|
extern COMP_HandleTypeDef hcomp1;
|
|
|
|
extern TIM_HandleTypeDef htim1;
|
|
|
|
extern TIM_HandleTypeDef htim2;
|
|
|
|
extern TIM_HandleTypeDef htim16;
|
|
|
|
extern TIM_HandleTypeDef htim17;
|
|
|
|
|
|
|
|
extern void HW_TS_RTC_Wakeup_Handler();
|
|
|
|
extern void HW_IPCC_Tx_Handler();
|
|
|
|
extern void HW_IPCC_Rx_Handler();
|
|
|
|
|
|
|
|
void SysTick_Handler(void) {
|
|
|
|
HAL_IncTick();
|
|
|
|
}
|
|
|
|
|
|
|
|
void USB_LP_IRQHandler(void) {
|
|
|
|
usbd_poll(&udev);
|
|
|
|
}
|
|
|
|
|
|
|
|
void COMP_IRQHandler(void) {
|
|
|
|
HAL_COMP_IRQHandler(&hcomp1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void TIM1_TRG_COM_TIM17_IRQHandler(void) {
|
|
|
|
HAL_TIM_IRQHandler(&htim1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void TIM1_CC_IRQHandler(void) {
|
|
|
|
HAL_TIM_IRQHandler(&htim1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void HSEM_IRQHandler(void) {
|
|
|
|
HAL_HSEM_IRQHandler();
|
|
|
|
}
|
|
|
|
|
2022-01-05 16:10:18 +00:00
|
|
|
void IPCC_C1_TX_IRQHandler(void) {
|
2021-10-17 22:54:19 +00:00
|
|
|
HW_IPCC_Tx_Handler();
|
|
|
|
}
|
|
|
|
|
2022-01-05 16:10:18 +00:00
|
|
|
void IPCC_C1_RX_IRQHandler(void) {
|
2021-10-17 22:54:19 +00:00
|
|
|
HW_IPCC_Rx_Handler();
|
|
|
|
}
|