ICP DAS USA I-7565-H1 User Manual page 74

High performance usb/can converter
Table of Contents

Advertisement

Return Values :
Return 0 means success, others means failure.
Examples :
Int Ret;
/* The UserDefISR (MyTestISR0) will be trigged when receiving any one CANMsg */
Ret=VCI_Set_UserDefISR(ISRNO_0,
ISR_CANPORT_ALL,
ISR_CANMODE_ALL,
ISR_CANID_ALL, MyTestISR0);
/* The UserDefISR (MyTestISR1) will be trigged when only CAN1 receiving 11-bit
CANMsg with CANID=0x100 */
Ret=VCI_Set_UserDefISR(ISRNO_1, CAN1, MODE_11BIT, 0x100, MyTestISR1);
[ Note ]
1. The code of user-defined function should be the more simple the better
(means the execution time the shorter the better) and the frequency of the
matched CAN message should be the slower the better. Or it could cause
the execution lost of user-defined function.
I-7565-H1/H2 High Performance USB/CAN Converter User's Manual (Ver 1.7, Aug/2011) ------------- 74

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

I-7565-h2

Table of Contents