vcanDrv¶
Here is the definition for the “vcan.o” binary (VME-CAN2 driver):
STATUS vcanDrv(void)
And here is the definition for the “vcan4.o” binary (VME-CAN4 driver):
STATUS vcan4Drv(void)
This is the driver-initialization function of the vcan driver. Under VxWorks, drivers are never initialized automatically during system-boot but must be initialized by calling such a function. The function searches for up to 4 CAN bus cards. Each card also uses several interrupts. This function returns -1 in case of an error.