Interrupt Processing

Operation when an interrupt occurs
Operation when an interrupt occurs

Interrupt processing refers to suspending the program being executed and executing another program, when the microcontroller receives an external interrupt request and is in a state where it can accept the interrupt.

When an interrupt request signal from an external device is input to the interrupt dedicated terminal provided on the CPU, the program currently in progress is suspended, the microcontroller switches to the program to be executed at the time of the interrupt, then executes it.
After ending the program for the interrupt processing, it returns to the original program and restarts the program from the suspended processing.

Chapter 4 Toshiba Microcontrollers, Example of Core (TLCS-870/C1)

Overall Configuration of the CPU
Overall Configuration of the CPU: CPU Core (1)
Overall Configuration of the CPU: CPU Core (2)
Overall Configuration of the CPU: Program Counter
Overall Configuration of the CPU: General-purpose Register
Overall Configuration of the CPU: PSW (Flag)
Overall Configuration of the CPU: Stack and Stack Pointer
Interrupt Processing: Interrupt Type
Interrupt Processing: Maskable Interrupt
Interrupt Processing: Non Maskable Interrupt
開啟新視窗