aboutsummaryrefslogtreecommitdiff
path: root/gyro.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2014-03-08 17:22:49 +0100
committerLars-Dominik Braun <lars@6xq.net>2014-03-08 17:22:49 +0100
commit778e4889e1897c022906c56d0764fe163e24355b (patch)
tree0076e5e0a5a0674507bb7673bf4f3cb1fdd1060d /gyro.h
parent03dbe661312e9d2e3e379bcd455ddfabc48f95b6 (diff)
downloadhourglass-778e4889e1897c022906c56d0764fe163e24355b.tar.gz
hourglass-778e4889e1897c022906c56d0764fe163e24355b.tar.bz2
hourglass-778e4889e1897c022906c56d0764fe163e24355b.zip
gyroscope: Rename to gyro
Diffstat (limited to 'gyro.h')
-rw-r--r--gyro.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gyro.h b/gyro.h
new file mode 100644
index 0000000..ac3550e
--- /dev/null
+++ b/gyro.h
@@ -0,0 +1,13 @@
+#ifndef GYROSCOPE_H
+#define GYROSCOPE_H
+
+#include <stdbool.h>
+#include <stdint.h>
+
+void gyroInit ();
+void gyroStart ();
+bool gyroRead ();
+volatile const int16_t *gyroGet ();
+
+#endif /* GYROSCOPE_H */
+