123

Dependencies:   mbed

Fork of LG by igor Apu

DeviceQEI.h

Committer:
Diletant
Date:
2016-05-09
Revision:
156:e68ee0bcdcda
Child:
167:bedc0a9d559a

File content as of revision 156:e68ee0bcdcda:

#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__ */