Is there any method to complete a function when a interrupt arise. In project, i'm using stm32f103vx.