Go to the documentation of this file.
17 #ifndef PCAN_USB_PRO_H
18 #define PCAN_USB_PRO_H
23 #define PCAN_USBPRO_REQ_INFO 0
24 #define PCAN_USBPRO_REQ_FCT 2
27 #define PCAN_USBPRO_INFO_BL 0
28 #define PCAN_USBPRO_INFO_FW 1
31 #define PCAN_USBPRO_FCT_DRVLD 5
61 #define PCAN_USBPRO_SETBTR 0x02
62 #define PCAN_USBPRO_SETBUSACT 0x04
63 #define PCAN_USBPRO_SETSILENT 0x05
64 #define PCAN_USBPRO_SETFILTR 0x0a
65 #define PCAN_USBPRO_SETTS 0x10
66 #define PCAN_USBPRO_GETDEVID 0x12
67 #define PCAN_USBPRO_SETLED 0x1C
68 #define PCAN_USBPRO_RXMSG8 0x80
69 #define PCAN_USBPRO_RXMSG4 0x81
70 #define PCAN_USBPRO_RXMSG0 0x82
71 #define PCAN_USBPRO_RXRTR 0x83
72 #define PCAN_USBPRO_RXSTATUS 0x84
73 #define PCAN_USBPRO_RXTS 0x85
74 #define PCAN_USBPRO_TXMSG8 0x41
75 #define PCAN_USBPRO_TXMSG4 0x42
76 #define PCAN_USBPRO_TXMSG0 0x43
135 #define PCAN_USBPRO_STATUS_ERROR 0x0001
136 #define PCAN_USBPRO_STATUS_BUS 0x0002
137 #define PCAN_USBPRO_STATUS_OVERRUN 0x0004
138 #define PCAN_USBPRO_STATUS_QOVERRUN 0x0008