HW 5 Solutions - Electrical Computer Telecommunications...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Electrical, Computer, & Telecommunications Engineering Technology Micro Computers Spring 20073 0618-303 Homework #5 HOMEWORK #5 Due 4/18/08 1. In an AVR assembly language program, the External Interrupt Control Register B (EICRB) has been programmed with the value 0xE1. Explain how the external interrupts 4, 5, 6 and 7 have been configured. EICRB = 11 10 00 01 INT7 triggered on the rising edge INT6 triggered on the falling edge INT5 triggered on low level INT4 triggered on either edge 2. Upon being interrupted, the Atmel mega128 microcontroller begins executing code at address 0x003C. What interrupt must have occurred? Explain. If the microprocessor beings code at 0x003C than a USART1 RX Complete interrupt must have occurred. 0x003C is the interrupt vector for this interrupt, so when the interrupt occurs, the processor knows to get the code at that location. 3. When the external interrupt 4 occurs on the Atmel mega 128 microcontroller, you want the interrupt service routine MY_INT_4 to be executed. Write the
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern