aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/usb.h')
-rw-r--r--src/drivers/usb.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/drivers/usb.h b/src/drivers/usb.h
new file mode 100644
index 0000000..abe0133
--- /dev/null
+++ b/src/drivers/usb.h
@@ -0,0 +1,15 @@
+#ifndef DRIVERS_USB_H
+#define DRIVERS_USB_H
+
+#ifndef DRIVERS_USB_C
+extern unsigned char usb_buffer0[256];
+extern unsigned char usb_buffer1[256];
+#endif
+
+#define uint8_t unsigned char
+#define uint16_t unsigned short
+#define uint32_t unsigned long
+
+void send_packet(void);
+
+#endif