Advantech PCI-1718 Series Carbon Monoxide Alarm User Manual


 
41 Chapter 4
4.3.2 Pacer Trigger Mode with Interrupt
MUX Scan
Channel Control &
A/D Range
Control
Set Scan Channel
Set To Pacer
Trigger Mode and
Enable Device
Interrupt
w Base+0 1H
w Base+0 2H
w Base+ 09H
Set To Pacer
Trigger Mode To
Enable Trigger
Set Pacer Rate
Base+0 CH~
Base+0FH
Interrupt
Set to Software
Trigger Mode To
Disable Trigger.
w Base+ 09H
Set ISR
Enable System To
Accept Interrupt
Clear Device
Interrupt Request
Clear System
Interrupt Request
w Base+ 08H
Clear Device
Interrupt Request
Get Data
w Base+ 08H
r Base+ 00H
r Base+01H
ISR
Clear System
Device Interrupt
End of ISR
w Base+ 09H
w Base+0 2H
System Ready For
Data Acquisition
Set To Software
Trigger Mode To
Disable Trigger
Restore ISR
Disable Generated
Interrupt
w Base+0 9H
w Base+0 9H
Disable System
To Accept
Interrupt
Stop ISR