summaryrefslogtreecommitdiff
path: root/lib/usbio.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2013-02-16 23:16:26 +0000
committerChristian Pointner <equinox@spreadspace.org>2013-02-16 23:16:26 +0000
commit3cb77e33c91158c686050f1e05f6c286f10c6538 (patch)
tree4eca5e45de01922e4567200676a160280fc3769e /lib/usbio.h
parentadded keyboard mouse example (diff)
added usbio lib
git-svn-id: https://svn.spreadspace.org/avr/trunk@196 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'lib/usbio.h')
-rw-r--r--lib/usbio.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/usbio.h b/lib/usbio.h
new file mode 100644
index 0000000..cdc5bec
--- /dev/null
+++ b/lib/usbio.h
@@ -0,0 +1,33 @@
+/*
+ * spreadspace avr utils
+ *
+ *
+ * Copyright (C) 2013 Christian Pointner <equinox@spreadspace.org>
+ * Othmar Gsenger <otti@wirdorange.org>
+ *
+ * This file is part of spreadspace avr utils.
+ *
+ * spreadspace avr utils is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * any later version.
+ *
+ * spreadspace avr utils is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with spreadspace avr utils. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef SPREADAVR_usbio_h_INCLUDED
+#define SPREADAVR_usbio_h_INCLUDED
+
+#include <stdint.h>
+
+void usbio_init(void);
+void usbio_task(void);
+int16_t usbio_bytes_received(void);
+
+#endif