STM32F104ZET6 interrupt system

1. Introduction interrupted

1.1 interrupt concept

  • When the CPU executes the program, due to some random event (external or internal) happened, cause the CPU to temporarily interrupt the running program,
    turn to the implementation of a special service program (interrupt service routine or an interrupt handler) to handle the event, which dealt returned to the interrupted program
    continues, a process called interrupted.
  • Caused the break called interrupt sources. For example: Suddenly the door bell rang when playing the game, then the door bell rang equivalent interrupt sources.
  • Some interrupts can also be other high-priority interrupt interrupted, then this is also called nested interrupts.

Guess you like

Origin www.cnblogs.com/risesource/p/11841074.html