123

Dependencies:   mbed

Fork of LG by igor Apu

Revision:
156:e68ee0bcdcda
Child:
167:bedc0a9d559a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DeviceQEI.h	Mon May 09 20:03:26 2016 +0000
@@ -0,0 +1,21 @@
+#ifndef __DEVICE_QEI_H__
+#define __DEVICE_QEI_H__
+
+typedef struct _DeviceQEISettings {
+} DeviceQEISettings;
+
+typedef struct _DeviceQEIState {
+  int32_t position;
+  int32_t delta;
+} DeviceQEIState;
+
+typedef struct _DeviceQEI {
+  DeviceQEISettings settings;
+  DeviceQEIState state;
+} DeviceQEI;
+
+void InitQEIWithDefaults(void);
+void InitQEI(void);
+void DeviceQEIRead(void);
+
+#endif  /* __DEVICE_QEI_H__ */
\ No newline at end of file