EE 308
Homework #8
Due March 30, 1998

  1. Write a header file pia.h which allows you to refer, for example, to PIA_CRA rather than address 0xB001.
  2. Write some C code to set up your 6821 Port B in the following manner:
  3. Write some C code to set up your 6821 pin CA2 to be a general purpose output.
  4. Write the master program to implement Lab 10. This program needs to be typed. Be sure to do the following:

  5. Write the slave program to implement Lab 10. This program needs to be typed. Be sure to do the following:

  6. Look at the 6821 data sheet. Determine the values of the times described in Part 5 of Lab 10 (except for (a)).


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