I-8014W API User Manual, v1.0.1, June 2011
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
83
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
);