mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Okay, the USB stuff works! I can send a command to the device and receive the
reply.
This commit is contained in:
@@ -7,11 +7,18 @@ enum
|
||||
|
||||
FLUXENGINE_VID = 0xF055,
|
||||
FLUXENGINE_PID = 0x9973,
|
||||
|
||||
|
||||
/* libusb uses these numbers */
|
||||
FLUXENGINE_DATA_OUT_EP = 0x01,
|
||||
FLUXENGINE_DATA_IN_EP = 0x82,
|
||||
FLUXENGINE_CMD_OUT_EP = 0x03,
|
||||
FLUXENGINE_CMD_IN_EP = 0x84,
|
||||
|
||||
/* the PSoC code uses these, sigh */
|
||||
FLUXENGINE_DATA_OUT_EP_NUM = FLUXENGINE_DATA_OUT_EP & 0x0f,
|
||||
FLUXENGINE_DATA_IN_EP_NUM = FLUXENGINE_DATA_IN_EP & 0x0f,
|
||||
FLUXENGINE_CMD_OUT_EP_NUM = FLUXENGINE_CMD_OUT_EP & 0x0f,
|
||||
FLUXENGINE_CMD_IN_EP_NUM = FLUXENGINE_CMD_IN_EP & 0x0f,
|
||||
};
|
||||
|
||||
enum
|
||||
|
||||
Reference in New Issue
Block a user