Interview Question

Embedded Software Engineer Interview

-Cairo, Cairo Governorate

Valeo

What are different types of interrupts?

AnswerAdd Tags

Interview Answers

4 Answers

1

External &Internal Interrupt

Anonymous on

2

1- External Interrupts: These types of interrupts generally come from external input / output devices which are connected externally to the processor. They are generally independent and oblivious of any programming that is currently running on the processor. 2- Internal Interrupts: They are also known as traps and their causes could be due to some illegal operation or the erroneous use of data. Instead of being triggered by an external event they are usually triggered due to any exception that has been caused by the program itself. Some of the causes of these types of interrupts can be due to attempting a division by zero or an invalid opcode etc. 3- Software interrupts: These types if interrupts can occur only during the execution of an instruction. They can be used by a programmer to cause interrupts if need be. The primary purpose of such interrupts is to switch from user mode to supervisor mode.

Abdullah on

0

Cyclic and Eventual. (this answer is not the best, because it describes when an interrupt occurs. It should be that there are software interrupts and hardware interrupts).

Anonymous on

5

software interrupts hardware interrupts

Mostafa gaber on

Add Answers or Comments

To comment on this, Sign In or Sign Up.