Microchip Technology ADM00333 User Manual

Page of 52
PIC18F87J72 EVALUATION BOARD
USER’S GUIDE
© 2011 Microchip Technology Inc.
DS51990A-page 23
Chapter 4.  PIC18F87J72 Evaluation Board Firmware Flowchart 
4.1
INTRODUCTION
This chapter provides the flowcharts describing the functions and routines
implemented in the PIC18F87J72 Evaluation Board firmware. 
Figures 4-1 
 4-6 show the flow of the following routines:
• Main routine (see Figure 4-1)
• Touch Key press routines (see Figure 4-2)
• Time display routines (see Figure 4-2)
• OSR switching routines (see Figure 4-2)
• Channel CH0 Gain switching routines (see Figure 4-3)
• Channel CH1 Gain switching routines (see Figure 4-4)
• Bit width changing routines (see Figure 4-5)
• UART Transmit Interrupt routine (see Figure 4-6)
• UART Receive Interrupt routine (see Figure 4-6)
• INT0 Interrupt routine (see Figure 4-6)