123
Fork of LG by
Diff: DeviceQEI.h
- Revision:
- 198:78dd6d14d108
- Parent:
- 197:7a05523bf588
--- a/DeviceQEI.h Wed Oct 19 10:55:05 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -#ifndef __DEVICE_QEI_H__ -#define __DEVICE_QEI_H__ - -#ifdef DEBUG_QEI -#warning "Program config: QEI debug simulation enabled!!!" -#endif - -typedef struct _DeviceQEISettings { -} DeviceQEISettings; - -typedef struct _DeviceQEIState { - int32_t position; - int32_t delta; -} DeviceQEIState; - -typedef struct _DeviceQEI { - DeviceQEISettings settings; - DeviceQEIState state; -} DeviceQEI; - -void InitQEIDefaultSettings(void); -void InitQEIState(void); -void DeviceStartQEI(void); - -void qeiProcess(void); - -#endif /* __DEVICE_QEI_H__ */ \ No newline at end of file