Question: (b) An embedded system is configured so that an interrupt occurs when a button is pressed. (i) Describe how code can be written so that

 (b) An embedded system is configured so that an interrupt occurs

(b) An embedded system is configured so that an interrupt occurs when a button is pressed. (i) Describe how code can be written so that it will run when the button is pressed, handling the interrupt function. (ii) Explain the steps that are needed after the button press and before the interrupt handler code starts running. (iii) Outline how to measure the interrupt response time (i.e. the time between the button press and the start of the interrupt handler code). Your answer should mention the overheads (i.e. the factor that make the measured time too high) of the measurement you suggest

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!