ECET 340 Week 2 Homework

Published on January 2018 | Categories: Technology | Downloads: 142 | Comments: 0 | Views: 1609
of 1
Download PDF   Embed   Report

Pages 402-403, problem 1,3,6,7,10,12,13,14,27,36,55 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 falseP. 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 402403triggered. 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.

Comments

Content

Pages 402-403, problem 1,3,6,7,10,12,13,14,27,36,55 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 falseP. 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 402403triggered. 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.

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close