Table of Contents
Applying the PIC18 Microcontroller

© 2007 by Barry B. Brey

CHAPTER 1: Introduction to Computer Architecture
- 1-1 Basic Computer Architecture
- 1-2 Number Systems
- 1-3 Computer Data Formats
- 1-4 Summary
- 1-5 Questions and Problems
CHAPTER 2: The PIC18 Family Architecture and Program Development
- 2-1 The PIC18 Architecture
- 2-2 The Programming Architecture
- 2-3 Integrated Development System (IDE)
- 2-4 Assembly Language, the Assembler, and the Linker
- 2-5 Summary
- 2-6 Questions and Problems
CHAPTER 3: The PIC18 Family Instruction Set
- 3-1 Literal Instructions
- 3-2 Bit-Oriented Instructions
- 3-3 Byte-Oriented Instructions
- 3-4 Program Control Instructions and Indirect Addressing
- 3-5 Table Instructions
- 3-6 Macro Sequences
- 3-7 Summary
- 3-8 Questions and Problems
CHAPTER 4: Assembly Language Programming
- 4-1 Stack and Queue Structures
- 4-2 Complex Arithmetic
- 4-3 Converting Between Decimal and Binary
- 4-4 Time Delays
- 4-5 Programming Examples
- 4-6 Segment Override Prefix
- 4-7 Summary
- 4-8 Questions and Problems
CHAPTER 5: Programming the PIC18 with C-Language
- 5-1 The C18 C-Language Compiler
- 5-2 Using C-Language Include Files
- 5-3 Example C-Language Programs
- 5-4 The Math Library
- 5-5 Summary
- 5-6 Questions and Problems
CHAPTER 6: The PIC18 Family Hardware Specifications
- 6-1 The Pin-outs and Basic Operating Characteristics
- 6-2 The I/O Port Pins
- 6-3 Introduction to Interrupts
- 6-4 Other Internal Peripherals
- 6-5 Summary
- 6-6 Questions and Problems
CHAPTER 7: Basic Input and Output
- 7-1 Switch-Based Inputs
- 7-2 Display Devices
- 7-3 Controlling Motors
- 7-4 Relays, Solenoids, and Sensors
- 7-5 Summary
- 7-5 Questions and Problems
CHAPTER 8: Interrupts
- 8-1 Interrupts Revisited
- 8-2 The USART and Interrupts
- 8-3 Interrupt on Change
- 8-4 Example Interrupt Systems
- 8-5 Summary
- 8-6 Questions and Problems
CHAPTER 9: Controlling Systems
- 9-1 Formulating the Control System
- 9-2 Example Systems
- 9-3 Summary
- 9-4 Questions and Problems
CHAPTER 10: Advanced Topics
- 10-1 Memory Expansion
- 10-2 The Boot Block
- 10-3 Expanding the I/O
- 10-4 The CAN
- 10-5 The USB
- 10-6 PIC18 Extended Instructions
- 10-7 Summary
- 10-8 Questions and Problems
Appendix A: The PIC18 Family Instruction Set
Appendix B: Common C-Language Library Functions
Appendix C: Answers to Selected Even-Numbered Questions and Problems
Appendix D: A PIC-based System using a USB interface

return to publication list