Embedded Software Engineer Question:
Download Questions PDF

Tell me how does the interrupts handle by using the threads?


The interrupts that comes in between the input/output operations gets detected when the input/output devices are ready. The interrupt never gets handled directly rather, it sends the interrupt signal to the thread to the input/output device that is ready to allow the thread to take necessary actions. The thread uses the signaling concept that allows the initialization to be done using the semaphore that keeps the states updated and handle the interrupt in an easy way. The input/output device getting the request and it also passes the semaphore to handle. The input/output device takes the semaphore that is ready. The thread is having the minimum latency that uses the first level interrupt handler to handle the interrupts completely. It allows the priority of the thread to be set and it doesn’t allow the context to be change as well.

Download Embedded Software Engineer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me what is the main function of Multiplexed Address/Data Bus?Please write a program to show the functionality of Power-save super loop?