STM32 external interrupt program, easy to use and stable