summaryrefslogtreecommitdiff
path: root/src/drivers/ao_quadrature.h
diff options
context:
space:
mode:
authorMike Beattie <mike@ethernal.org>2012-08-08 06:46:56 +1200
committerMike Beattie <mike@ethernal.org>2012-08-08 06:46:56 +1200
commitbd02349111ae0f39b320e6a10a330051ddc39fdf (patch)
treeab7a29204eea195db77aa302fbe3e2012ef5049e /src/drivers/ao_quadrature.h
parent8e4ebd1f6eb928b5cb7bcda4ed88851aa9e61bdf (diff)
parentc7f228503870c44dfd278ede8b0980dbac73d3c7 (diff)
Merge branch 'master' of git://git.gag.com/fw/altos
Diffstat (limited to 'src/drivers/ao_quadrature.h')
-rw-r--r--src/drivers/ao_quadrature.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/drivers/ao_quadrature.h b/src/drivers/ao_quadrature.h
new file mode 100644
index 00000000..f0b73b68
--- /dev/null
+++ b/src/drivers/ao_quadrature.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright © 2012 Keith Packard <keithp@keithp.com>
+ *
+ * This program 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; version 2 of the License.
+ *
+ * This program 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 this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+#ifndef _AO_QUADRATURE_H_
+#define _AO_QUADRATURE_H_
+
+int32_t
+ao_quadrature_wait(uint8_t q);
+
+int32_t
+ao_quadrature_poll(uint8_t q);
+
+void
+ao_quadrature_init(void);
+
+#endif /* _AO_QUADRATURE_H_ */