I-8014W API User Manual, v1.0.1, June 2011
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
84
Parameter
slot: 0 ~ 7
*isr (int slot): the function pointer passed for ISR
triggerLevel: 0 ~ 7, it is used to set the interrupt trigger condition based on the
count of data in FIFO. If the argument is set more than 7, it will be
coerced to 7.
If the number of data in FIFO is more than the condition that triggerLevel
set, the interrupt will be triggered and the ISR executes to handle the
interrupt.
The following table lists the definition of triggerLevel:
triggerLevel
Data count
0
8
1
16
2
32
3
64
4
128
5
256
6
512
7
2048
Return
0 = No Error
For other returned value, see
Error code list, page 55.