summaryrefslogtreecommitdiff
path: root/camlibs/mustek/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'camlibs/mustek/usb.h')
-rw-r--r--camlibs/mustek/usb.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/camlibs/mustek/usb.h b/camlibs/mustek/usb.h
new file mode 100644
index 000000000..9ee6fdbd7
--- /dev/null
+++ b/camlibs/mustek/usb.h
@@ -0,0 +1,14 @@
+/*
+ Header for USB Interface
+*/
+#ifndef _USB_H
+#define _USB_H
+
+#define MDC800_USB_ENDPOINT_COMMAND 0x01
+#define MDC800_USB_ENDPOINT_STATUS 0x82
+#define MDC800_USB_ENDPOINT_DOWNLOAD 0x84
+#define MDC800_USB_IRQ_INTERVAL 255 /* 255ms */
+
+int mdc800_usb_sendCommand (GPPort*,char* , char * , int );
+
+#endif