Unformatted text preview: e. void bsu_irq_register (int irqnbr, void (*handler)(void)); The bsu_irq_register() function registers an ISR. If the function is successful, the requested interrupt is enabled upon return. The input argument, id is the interrupt to enable, isr is the function that is called when the interrupt is active, context and id are the two input arguments to isr. For this function you can use the following array for the function pointers. void * IRQ_TABLE; Provide test code with snapshots at specific points that exercises the functionality of each of the functions. Using the test code in the debugger capture snap shots of the appropriate registers that verify that the functions are performing properly. For function e , verify that it enables the irq and that the function address is correct and placed into the proper location in the array....
View Full Document
This document was uploaded on 11/02/2011 for the course ECE 330 at Boise State.
- Fall '10