123

Dependencies:   mbed

Fork of LG by igor Apu

DeviceQEI.h

Committer:
Diletant
Date:
2016-06-05
Revision:
167:bedc0a9d559a
Parent:
156:e68ee0bcdcda
Child:
173:7f938afb0447

File content as of revision 167:bedc0a9d559a:

#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 InitQEIDefaultSettings(void);
void InitQEIState(void);
void DeviceStartQEI(void);

void DeviceQEIRead(void);

#endif  /* __DEVICE_QEI_H__ */