EE 352

Homework Assignment 3
Due Feb. 11, 2000

  1. Download and run the program tic_int.c. Make sure it works -- look at the program to determine what it should do.
  2. Repeat last week's homework, except the data transfer should be interrupt driven -- that is, when the sender sends data to the receiver, an interrupt should be generated in the receiver, and the receiver should get the data in an interrupt service routine. The file lpt_int.c gives an example of how to use the LPT interrupt. Remember that ISRs should be short, so do all the work (especially printing to the screen) in the main program. The ISR should just read the data, assign it to a global variable, and exit (after giving the appropriate End Of Interrupt command to the Programmable Interrupt Controller).


Bill Rison, <rison@ee.nmt.edu >