X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/a73d6ffea8948a9abc9bfb32728bb255cec18317..7d282b5f3c17776f056dbe3f1530403c829de17b:/embedded/app/usbcan/usb/usb_vend.h diff --git a/embedded/app/usbcan/usb/usb_vend.h b/embedded/app/usbcan/usb/usb_vend.h index 8be5754..6542ecd 100644 --- a/embedded/app/usbcan/usb/usb_vend.h +++ b/embedded/app/usbcan/usb/usb_vend.h @@ -12,8 +12,11 @@ #define USBCAN_VENDOR_EXT_MASK_SET (7) #define USBCAN_VENDOR_EXT_MASK_STATUS (8) -//lpc17xx debug -#define USBCAN_VENDOR_SET_CANBTR (9) +#define USBCAN_VENDOR_SET_BITTIMING (9) +#define USBCAN_VENDOR_GET_BITTIMING_CONST (10) + +#define USBCAN_BITTIMING_SIZE 16 +#define USBCAN_BITTIMING_CONST_SIZE 36 int usbcan_vendor(usb_device_t *udev);