Pages created and updated by Terry Sturtevant Date Posted: February 5, 2018

CP316: Microprocessor Systems and Interfacing

Timers

PostLab

  1. Expand the configuration lines for any configuration registers according to tip 2 of assembly language programming tips to clarify what is happening during the configuration.
    Also, if the same configuration register(s) must be used for different devices, do the configuration in a modular fashion so that the operations for the different devices are independent.
  2. Make sure all of the TRIS, PORT, and LAT accesses follow good programming practices to make the code easier to read and maintain.
    Perform the accesses in a modular fashion so that the operations for the different devices are independent.
  3. Paste this in your lab notebook. (You don't have to paste in the sections that are unchanged; only show the changes.)

Hand in a copy of the code with the coding style checklist at the next lab.

Creative Commons License

Information on this site which is produced by Terry Sturtevant is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 Canada License.

Resources

To view pdf documents, you can download Adobe Acrobat Reader .
get Acrobat Reader
If you need to update a browser, you might try Firefox which is Get Firefox!
Since this page uses cascading style sheets for its layout, it will look best with a browser which supports the specifications as fully as possible.

If you are looking for an office package, with a word processor, spreadsheet, etc., you might try LibreOffice which is Get LibreOffice!

Go to the main page for the Department of Physics and Computer Science.

Valid XHTML 1.1

Valid CSS!

WCAG
2.0
(Level AA)

Wilfrid Laurier University