Interrupt Processing: Interrupt Type

Interrupt type
Interrupt type

Interrupts have two types: Hardware interrupt and Software interrupt.
The hardware interrupt occurrs by the interrupt request signal from peripheral circuits.
On the other hand, the software interrupt occurrs by executing a dedicated instruction.

Various factors of occurring the interrupt
Various factors of occurring the interrupt

The hardware interrupt has an external interrupt and an internal interrupt.
The external interrupt occurs when a specified signal is input to the dedicated external interrupt terminal.
The internal interrupt occurs by an interrupt request signal from a peripheral circuit built into the microcontroller.

In addition, it has a maskable interrupt and a non maskable interrupt depending on how the interrupt request signal is received.

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 Processing: Maskable Interrupt
Interrupt Processing: Non Maskable Interrupt
開啟新視窗