Question: 3. Interrupt Sequence and Interrupt Handling (20 points) a. Describe an advantage of using interrupts over polling. (3 points) b. Assume an interrupt occurs on

 3. Interrupt Sequence and Interrupt Handling (20 points) a. Describe an

3. Interrupt Sequence and Interrupt Handling (20 points) a. Describe an advantage of using interrupts over polling. (3 points) b. Assume an interrupt occurs on Port J, pin 7. Describe the sequence of steps that occurs on an HCS12 to initiate execution of the ISR once a valid IRQ on port ) pin 7 is signaled (7 points)? c. Assume an interrupt occurs on Port ), pin 7. Describe the sequence of steps that allows the HCS12 to return from the ISR to the main program with global interrupts enabled. (7 points) d. Describe why global interrupts should not be enabled in an ISR. (3 points)

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 Accounting Questions!