HapticLib  0.7
Haptic Feedback Library for embedded systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
haptor_desc Struct Reference

Single haptor descriptor. More...

#include <hapticLib.h>

Data Fields

uint8_t id
 Unique ID to designate the haptor.
uint16_t min_duty
 Minimum duty cycle to activate the tactor.
uint16_t max_duty
 Maximum duty cycle to feed to the tactor.
pattern_descactivePattern
 Reference to the active pattern driving this haptor.
struct haptor_descnextHaptor
 Reference to another haptor_desc.

Detailed Description

Single haptor descriptor.

HapticLib keep track of all the haptors configured in the system using one haptor_desc struct for each of them.

To know what kind of informations holds, please refer to its data structure haptor_desc.

Definition at line 1921 of file hapticLib.h.


Field Documentation

pattern_desc* activePattern

Reference to the active pattern driving this haptor.

If it is NULL the haptor is free to be activated by a pattern.

Definition at line 1937 of file hapticLib.h.

uint8_t id

Unique ID to designate the haptor.

Note:
This is a temporary solution waiting for a cleaner User API <–> Platform Specific interface to be defined.

Definition at line 1922 of file hapticLib.h.

uint16_t max_duty

Maximum duty cycle to feed to the tactor.

Definition at line 1934 of file hapticLib.h.

uint16_t min_duty

Minimum duty cycle to activate the tactor.

Definition at line 1931 of file hapticLib.h.

struct haptor_desc* nextHaptor

Reference to another haptor_desc.

This links create a list of haptors chained together to form an haptor group driven by the same pattern.

Definition at line 1946 of file hapticLib.h.


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