Advantech PCI-1718 Series Carbon Monoxide Alarm User Manual


 
77 Appendix C
C.20 Register Programming Flow Chart
C.20.1 Software Trigger Mode with Polling
MUX Scan
Channel Control &
A/D Range
Control
Set Software
Trigger and
Disable Generated
Interrupt
Software A/D
Trigger
Check EOC
Get Data
EOC=0
w Base+0 1H
w Base+0 2H
w Base+ 09H
w Base+ 00H
r Base+ 08H
r Base+ 00H
r Base+01H
More Data?
Yes
No
EOC!=0
Set Scan Channel