Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
max8997_haptic_platform_data Struct Reference

#include <max8997.h>

Data Fields

unsigned int pwm_channel_id
 
unsigned int pwm_period
 
enum max8997_haptic_motor_type type
 
enum max8997_haptic_pulse_mode mode
 
enum max8997_haptic_pwm_divisor pwm_divisor
 
unsigned int internal_mode_pattern
 
unsigned int pattern_cycle
 
unsigned int pattern_signal_period
 

Detailed Description

max8997_haptic_platform_data : channel number of PWM device valid for MAX8997_EXTERNAL_MODE : period in nano second for PWM device valid for MAX8997_EXTERNAL_MODE : motor type : pulse mode MAX8997_EXTERNAL_MODE: external PWM device is used to control motor MAX8997_INTERNAL_MODE: internal pulse generator is used to control motor : divisor for external PWM device : internal mode pattern for internal mode [0 - 3]: valid pattern number : the number of cycles of the waveform for the internal mode pattern [0 - 15]: available cycles : period of the waveform for the internal mode pattern [0 - 255]: available period

Definition at line 147 of file max8997.h.

Field Documentation

unsigned int internal_mode_pattern

Definition at line 155 of file max8997.h.

Definition at line 152 of file max8997.h.

unsigned int pattern_cycle

Definition at line 156 of file max8997.h.

unsigned int pattern_signal_period

Definition at line 157 of file max8997.h.

unsigned int pwm_channel_id

Definition at line 148 of file max8997.h.

enum max8997_haptic_pwm_divisor pwm_divisor

Definition at line 153 of file max8997.h.

unsigned int pwm_period

Definition at line 149 of file max8997.h.

Definition at line 151 of file max8997.h.


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