*/
#define PACKET_SIZE (5000 * 4 * 5)
-/** USB device end points.
- */
-enum usb_endpoint {
- EP_COMMAND = 2,
- EP_CONFIG = 4,
- EP_REPLY = 6 | LIBUSB_ENDPOINT_IN
-};
-
/** LWLA protocol command ID codes.
*/
enum command_id {
/** LWLA capture state flags.
* The bit positions are the same as in the LWLA1016 control register.
*/
-enum {
+enum status_flag {
STATUS_CAPTURING = 1 << 2,
STATUS_TRIGGERED = 1 << 5,
STATUS_MEM_AVAIL = 1 << 6,