Flow Diagrams
The following paragraphs provide descriptions and flow diagrams for some of the 1200's AID and D/A conver-
sion functions. These diagrams will help you to build your own custom applications progftms.
. Single Convert Flow Diagram (Figure 4-4)
This flow diagram shows you the steps for taking a single sample on a selected channel. A sample is taken each
time you send the Start Convert command. All of the samples will be taken on the same channel until you change
the value in the PPI Port B register @A + 5). Changing this value before each Start Convert command is issued lets
you take the next reading from a different channel at a different gain.
Fig.4-4 - Single Conversion Flow Diagram
Program 8255 PPI:
Port B out
Clear Registers
(Resel)
Change
Channel?
Start Conversion
End-of-Conven
E O C = 1 ?
Stop Program
4-29