mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-15 18:21:07 +00:00
* jtag3.c: Handle events returned by the ICE
* usbdevs.h: Add defines that mark an event in return from usb_recv_frame(). * usb_libusb.c: (Dito.) git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1115 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -43,4 +43,13 @@
|
||||
#define USBDEV_EVT_EP_READ_3 0x83
|
||||
#define USBDEV_MAX_XFER_3 512
|
||||
|
||||
/*
|
||||
* When operating on the JTAGICE3, usbdev_recv_frame() returns an
|
||||
* indication in the upper bits of the return value whether the
|
||||
* message has been received from the event endpoint rather than the
|
||||
* normal conversation endpoint.
|
||||
*/
|
||||
#define USB_RECV_LENGTH_MASK 0x0fff /* up to 4 KiB */
|
||||
#define USB_RECV_FLAG_EVENT 0x1000
|
||||
|
||||
#endif /* usbdevs_h */
|
||||
|
||||
Reference in New Issue
Block a user