aboutsummaryrefslogtreecommitdiffstats
path: root/usb_start.h
diff options
context:
space:
mode:
authorKévin Redon <kredon@sysmocom.de>2018-12-11 17:43:40 +0100
committerKévin Redon <kredon@sysmocom.de>2019-01-09 15:33:36 +0100
commit8476b94ab008805db1e91d74fc47b1619953f48b (patch)
treeaed8d9f0aaab2a07dc5c3c7d1bf7fae8ff396ead /usb_start.h
use USB CDC Echo example project
this is the USB CDC Echo example project source code, for the Microchip SAM E54 Xplained Pro development board, based on the ATSAME54P20A micro-controller, exported from the Atmel START website, using the ASFv4 library. Change-Id: Ic0e58e42d1a4076bc84a0a8d3509ec4b09a37f46
Diffstat (limited to 'usb_start.h')
-rw-r--r--usb_start.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/usb_start.h b/usb_start.h
new file mode 100644
index 0000000..48b2735
--- /dev/null
+++ b/usb_start.h
@@ -0,0 +1,30 @@
+/*
+ * Code generated from Atmel Start.
+ *
+ * This file will be overwritten when reconfiguring your Atmel Start project.
+ * Please copy examples or other code you want to keep to a separate file or main.c
+ * to avoid loosing it when reconfiguring.
+ */
+#ifndef USB_DEVICE_MAIN_H
+#define USB_DEVICE_MAIN_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif // __cplusplus
+
+#include "cdcdf_acm.h"
+#include "cdcdf_acm_desc.h"
+
+void cdcd_acm_example(void);
+void cdc_device_acm_init(void);
+
+/**
+ * \berif Initialize USB
+ */
+void usb_init(void);
+
+#ifdef __cplusplus
+}
+#endif // __cplusplus
+
+#endif // USB_DEVICE_MAIN_H