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

Pattern specific status parameters type definition. More...

#include <generic.h>

Data Fields

uint8_t flag
 a typical status parameter could be a flag.
uint16_t duty
 another common status parameter can be a duty value, used to feed the new duty cycle to the PWM and together keep track of the progress.

Detailed Description

Pattern specific status parameters type definition.

At least one parameter should be defined to help the continuator keep track of the pattern generation progress.

See also:
Refer to generic.c for a simple working example.

Definition at line 145 of file generic.h.


Field Documentation

uint16_t duty

another common status parameter can be a duty value, used to feed the new duty cycle to the PWM and together keep track of the progress.

Definition at line 148 of file generic.h.

uint8_t flag

a typical status parameter could be a flag.

Definition at line 146 of file generic.h.


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