您即将离开腾讯云开发者社区,请注意您的账号财产安全
http://An interrupt is a signal to the processor from a device attached to a computer or from a program within the computer indicating an event that needs immediate attention. Interrupts provide a mechanism by which other modules (I/O, memory) may interrupt the normal processing of the processor. An interrupt alerts the processor to a high-priority condition requiring the interruption of the current code the processor is executing. The processor responds by suspending its current activities, saving its state, and executing a function called an ISR to deal with the event. This interruption is temporary, and, after the interrupt handler finishes, the processor resumes normal activities.