123

Dependencies:   mbed

Fork of LG by igor Apu

Committer:
Diletant
Date:
Sun Jun 19 03:54:35 2016 +0000
Revision:
173:7f938afb0447
Parent:
167:bedc0a9d559a
Child:
177:672ef279c8e0
Device&... update. Not final!!!

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Diletant 156:e68ee0bcdcda 1 #ifndef __DEVICE_QEI_H__
Diletant 156:e68ee0bcdcda 2 #define __DEVICE_QEI_H__
Diletant 156:e68ee0bcdcda 3
Diletant 156:e68ee0bcdcda 4 typedef struct _DeviceQEISettings {
Diletant 156:e68ee0bcdcda 5 } DeviceQEISettings;
Diletant 156:e68ee0bcdcda 6
Diletant 156:e68ee0bcdcda 7 typedef struct _DeviceQEIState {
Diletant 156:e68ee0bcdcda 8 int32_t position;
Diletant 156:e68ee0bcdcda 9 int32_t delta;
Diletant 156:e68ee0bcdcda 10 } DeviceQEIState;
Diletant 156:e68ee0bcdcda 11
Diletant 156:e68ee0bcdcda 12 typedef struct _DeviceQEI {
Diletant 156:e68ee0bcdcda 13 DeviceQEISettings settings;
Diletant 156:e68ee0bcdcda 14 DeviceQEIState state;
Diletant 156:e68ee0bcdcda 15 } DeviceQEI;
Diletant 156:e68ee0bcdcda 16
Diletant 167:bedc0a9d559a 17 void InitQEIDefaultSettings(void);
Diletant 167:bedc0a9d559a 18 void InitQEIState(void);
Diletant 167:bedc0a9d559a 19 void DeviceStartQEI(void);
Diletant 167:bedc0a9d559a 20
Diletant 173:7f938afb0447 21 void qeiProcess(void);
Diletant 156:e68ee0bcdcda 22
Diletant 156:e68ee0bcdcda 23 #endif /* __DEVICE_QEI_H__ */