Neonode zForce(TM) SDK
PlatformDevice.h
Go to the documentation of this file.
1 
12 #ifndef DEVICE_PLATFORMDEVICE_PLATFORMDEVICE_H
13 #define DEVICE_PLATFORMDEVICE_PLATFORMDEVICE_H
14 
15 #ifndef ZFORCECOMMON_H
16  #error Please include "zForceCommon.h" before this file.
17 #endif // ZFORCECOMMON_H
18 
27 {
29 
44 
60  bool ( * SetFingerFrequency)(PlatformDevice * self, uint32_t frequency);
61 
76  bool ( * GetIdleFrequency)(PlatformDevice * self);
77 
91  bool ( * SetIdleFrequency)(PlatformDevice * self, uint32_t frequency);
92 
108 
125  bool ( * SetMcuUniqueIdentifier)(PlatformDevice * self, uint8_t * identifier, uint32_t bufferSize);
126 
127 };
128 
143 DLLINTERNAL PlatformDevice * PlatformDevice_New (Connection * connection,
144  DeviceType deviceType,
145  uint32_t deviceIndex,
146  size_t size);
147 
148 #endif // DEVICE_PLATFORMDEVICE_PLATFORMDEVICE_H
149 
DLLINTERNAL PlatformDevice * PlatformDevice_New(Connection *connection, DeviceType deviceType, uint32_t deviceIndex, size_t size)
Internal call used to create a new PlatformDevice.
Struct representing a PlatformDevice.
Definition: PlatformDevice.h:26
bool(* SetFingerFrequency)(PlatformDevice *self, uint32_t frequency)
Set the finger frequency.
Definition: PlatformDevice.h:60
The main Connection struct.
Definition: Connection.h:56
Device
Base device.
Definition: PlatformDevice.h:28
bool(* GetIdleFrequency)(PlatformDevice *self)
Get the current idle frequency.
Definition: PlatformDevice.h:76
bool(* GetMcuUniqueIdentifier)(PlatformDevice *self)
Get the Mcu Unique Identifier from the platform.
Definition: PlatformDevice.h:107
DeviceType
Enum describing the different device types that exists.
Definition: zForceTypes.h:77
bool(* SetIdleFrequency)(PlatformDevice *self, uint32_t frequency)
Set the idle frequency.
Definition: PlatformDevice.h:91
bool(* SetMcuUniqueIdentifier)(PlatformDevice *self, uint8_t *identifier, uint32_t bufferSize)
Set the Mcu Unique Identifier from the platform.
Definition: PlatformDevice.h:125
bool(* GetFingerFrequency)(PlatformDevice *self)
Get the current finger frequency.
Definition: PlatformDevice.h:43