123

Dependencies:   mbed

Fork of LG by igor Apu

DeviceQEI.h

Committer:
Diletant
Date:
2016-06-19
Revision:
173:7f938afb0447
Parent:
167:bedc0a9d559a
Child:
177:672ef279c8e0

File content as of revision 173:7f938afb0447:

#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 qeiProcess(void);

#endif  /* __DEVICE_QEI_H__ */