Neonode zForce(TM) SDK
Public Attributes | List of all members
PlatformDevice Struct Reference

Struct representing a PlatformDevice. More...

#include <PlatformDevice.h>

Public Attributes

 Device
 Base device.
 
bool(* GetFingerFrequency )(PlatformDevice *self)
 Get the current finger frequency. More...
 
bool(* SetFingerFrequency )(PlatformDevice *self, uint32_t frequency)
 Set the finger frequency. More...
 
bool(* GetIdleFrequency )(PlatformDevice *self)
 Get the current idle frequency. More...
 
bool(* SetIdleFrequency )(PlatformDevice *self, uint32_t frequency)
 Set the idle frequency. More...
 
bool(* GetMcuUniqueIdentifier )(PlatformDevice *self)
 Get the Mcu Unique Identifier from the platform. More...
 
bool(* SetMcuUniqueIdentifier )(PlatformDevice *self, uint8_t *identifier, uint32_t bufferSize)
 Set the Mcu Unique Identifier from the platform. More...
 

Detailed Description

Struct representing a PlatformDevice.

PlatformDevice contains system-level requests, like getting the MCU Unique Identifier, etc.

Member Data Documentation

bool( * PlatformDevice::GetFingerFrequency) (PlatformDevice *self)

Get the current finger frequency.

Get the current finger frequency.

On failure, errno is set.

Parameters
selfPointer to the struct itself.
Returns
True for success, false for failure. See errno.
bool( * PlatformDevice::GetIdleFrequency) (PlatformDevice *self)

Get the current idle frequency.

Get the current finger frequency.

On failure, errno is set.

Parameters
selfPointer to the struct itself.
Returns
True for success, false for failure. See errno.
bool( * PlatformDevice::GetMcuUniqueIdentifier) (PlatformDevice *self)

Get the Mcu Unique Identifier from the platform.

Get the Mcu Unique Identifier from the platform.

On failure, errno is set.

Parameters
selfPointer to the struct itself.
Returns
True for success, false for failure. See errno.
bool( * PlatformDevice::SetFingerFrequency) (PlatformDevice *self, uint32_t frequency)

Set the finger frequency.

Set the current finger frequency.

On failure, errno is set.

Parameters
selfPointer to the struct itself.
frequencyThe frequency to set.
Returns
True for success, false for failure. See errno.
bool( * PlatformDevice::SetIdleFrequency) (PlatformDevice *self, uint32_t frequency)

Set the idle frequency.

On failure, errno is set.

Parameters
selfPointer to the struct itself.
frequencyThe frequency to set.
Returns
True for success, false for failure. See errno.
bool( * PlatformDevice::SetMcuUniqueIdentifier) (PlatformDevice *self, uint8_t *identifier, uint32_t bufferSize)

Set the Mcu Unique Identifier from the platform.

Set the Mcu Unique Identifier from the platform.

On failure, errno is set.

Parameters
selfPointer to the struct itself.
identifierPointer to the Identifier array to set.
lengthBuffer size.
Returns
True for success, false for failure. See errno.

The documentation for this struct was generated from the following file: