summaryrefslogtreecommitdiffstats
path: root/api/usb2impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/usb2impl.h')
-rw-r--r--api/usb2impl.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/api/usb2impl.h b/api/usb2impl.h
new file mode 100644
index 0000000..c41328d
--- /dev/null
+++ b/api/usb2impl.h
@@ -0,0 +1,38 @@
+#ifndef __USB2IMPL_H__
+#define __USB2IMPL_H__
+
+
+#include "type.h"
+#include "error.h"
+#include "user.h"
+#include "cmd.h"
+
+
+Dword Usb2_getDriver (
+ IN Demodulator* demodulator,
+ OUT Handle* handle
+);
+
+
+Dword Usb2_writeControlBus (
+ IN Demodulator* demodulator,
+ IN Dword bufferLength,
+ IN Byte* buffer
+);
+
+
+Dword Usb2_readControlBus (
+ IN Demodulator* demodulator,
+ IN Dword bufferLength,
+ OUT Byte* buffer
+);
+
+
+Dword Usb2_readDataBus (
+ IN Demodulator* demodulator,
+ IN Dword bufferLength,
+ OUT Byte* buffer
+);
+
+#endif
+