doc1

DeVry ECET 340 ECET/340 ECET340 HOMEWORK 2 SOLUTION

$14.99

Category: Tags: ,

Product Description

ECET 340 Homework 2 Answers /  Microprocessor Interfacing with Lab

Chapter 11: Interrupt Programming in Assembly and C

1. Which technique, interrupt or polling, avoids tying down the microcontroller?

 

3. In the HCS12, what memory location in the interrupt vector table is assigned to Reset?

 

6. What memory address in the interrupt vector table is assigned to IRQ?

 

7. What memory address in the interrupt vector table is assigned to XIRQ?

 

10. How many bytes of address space in the interrupt vector table are assigned to each interrupt?

 

     12. With a single instruction, show how to disable all the peripheral interrupts.

 

     13. With a single instruction, show how to enable the XIRQ interrupt.

  14. True or false. Upon reset, all interrupts are enabled by the HCS12

27. Assume that the I-bit for external hardware interrupt IRQ is enabled and is low-level 402403 triggered. Explain how this interrupt works when it is activated. How can we make sure that a single interrupt is not interpreted as multiple interrupts?

 

     36. Explain the difference between the low-level and edge-triggered interrupts.

 

     55. Explain what happens if both IRQ and XIRQ are activated at the same time.