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

#include <gpio_tilt.h>

Data Fields

int gpios
 
intaxes
 

Detailed Description

struct gpio_tilt_state - state description : bitfield of gpio target-states for the value : array containing the axes settings for the gpio state The array indizes must correspond to the axes defined in platform_data

This structure describes a supported axis settings and the necessary gpio-state which represent it.

The n-th bit in the bitfield describes the state of the n-th GPIO from the gpios-array defined in gpio_regulator_config below.

Definition at line 33 of file gpio_tilt.h.

Field Documentation

int* axes

Definition at line 35 of file gpio_tilt.h.

int gpios

Definition at line 34 of file gpio_tilt.h.


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