I8014W_Installmagicscanisr - ICP DAS USA I-8014W User Manual

250 ks/s, 16-bit, 8-channel differential/16-channel single-ended analog input module
Table of Contents

Advertisement

i8014W_InstallMagicScanISR

This function is used to Install ISR for interrupt events form FIFO. Since the count of
data in FIFO is more than the definition of argument triggerLevel set (as table below),
the interrupt event occurs and the ISR executes to serve the event. In ISR, use
ReadFIFO to transfer data from FIFO and ClearInt to clear the interrupt status.
Prototype
For MiniOS7
short i804W_ InstallMagicScanISR
(
int slot, void (*isr)(int slot), int triggerLevel
);
For Windows (CE and WES)
short pac_i8014W_InstallMagicScanISR
(
int slot, void(*isr)(int slot), short triggerLevel
);
I-8014W API User Manual, v1.0.1, June 2011
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
83

Advertisement

Table of Contents
loading

Table of Contents