HW 5 Solutions

HW 5 Solutions - Electrical, Computer, & Telecommunications...

Info iconThis 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
Background image of page 1

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

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

This note was uploaded on 01/10/2012 for the course ENG 0618-303 taught by Professor Christman during the Spring '07 term at RIT.

Page1 / 3

HW 5 Solutions - Electrical, Computer, & Telecommunications...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online