E E 319K Final: EE319K S13Final
Document Summary
Directions there are 6 problems worth a total of 100 points. The number of points for each question is indicated. Make sure that you show all work since partial credit will be given. This exam is closed book, closed notes, and no calculators are allowed. You may not communicate in any way with anyone other than exam proctors during the exam time. Don"t forget to put your name down on the rst page. You have 3 hours to nish the exam. 1: (15 points) appropriately interface a switch and an led to pins pa0 and pa1 respectively so when the following code snippet is run the relationship between the switch and led is a not logic. That is when the switch is on the led is o and vice-versa. You may or may not need all the circuit elements provided. #define pa1 (*((volatile unsigned long *)0x40004008)) int main() {