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

#include <stmpe.h>

Data Fields

int id
 
unsigned int blocks
 
int irq_base
 
unsigned int irq_trigger
 
bool irq_invert_polarity
 
bool autosleep
 
bool irq_over_gpio
 
int irq_gpio
 
int autosleep_timeout
 
struct stmpe_gpio_platform_datagpio
 
struct stmpe_keypad_platform_datakeypad
 
struct stmpe_ts_platform_datats
 

Detailed Description

struct stmpe_platform_data - STMPE platform data : device id to distinguish between multiple STMPEs on the same board : bitmask of blocks to enable (use STMPE_BLOCK_*) : IRQ trigger to use for the interrupt to the host : IRQ line is connected with reversed polarity : bool to enable/disable stmpe autosleep : inactivity timeout in milliseconds for autosleep : base IRQ number. STMPE_NR_IRQS irqs will be used, or STMPE_NR_INTERNAL_IRQS if the GPIO driver is not used. : true if gpio is used to get irq : gpio number over which irq will be requested (significant only if irq_over_gpio is true) : GPIO-specific platform data : keypad-specific platform data : touchscreen-specific platform data

Definition at line 203 of file stmpe.h.

Field Documentation

bool autosleep

Definition at line 209 of file stmpe.h.

int autosleep_timeout

Definition at line 212 of file stmpe.h.

unsigned int blocks

Definition at line 205 of file stmpe.h.

Definition at line 214 of file stmpe.h.

Definition at line 204 of file stmpe.h.

int irq_base

Definition at line 206 of file stmpe.h.

int irq_gpio

Definition at line 211 of file stmpe.h.

bool irq_invert_polarity

Definition at line 208 of file stmpe.h.

bool irq_over_gpio

Definition at line 210 of file stmpe.h.

unsigned int irq_trigger

Definition at line 207 of file stmpe.h.

Definition at line 215 of file stmpe.h.

Definition at line 216 of file stmpe.h.


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