2022-03-28 17:19:25 +08:00

17 lines
318 B
C

#include "wm_hal.h"
#define readl(addr) ({unsigned int __v = (*(volatile unsigned int *) (addr)); __v;})
__attribute__((isr)) void CORET_IRQHandler(void)
{
readl(0xE000E010);
HAL_IncTick();
}
extern TOUCH_HandleTypeDef htouch;
__attribute__((isr)) void TOUCH_IRQHandler(void)
{
HAL_TOUCH_IRQHandler(&htouch);
}