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

#include <ads7846.h>

Data Fields

u16 model
 
u16 vref_delay_usecs
 
u16 vref_mv
 
bool keep_vref_on
 
bool swap_xy
 
u16 settle_delay_usecs
 
u16 penirq_recheck_delay_usecs
 
u16 x_plate_ohms
 
u16 y_plate_ohms
 
u16 x_min
 
u16 x_max
 
u16 y_min
 
u16 y_max
 
u16 pressure_min
 
u16 pressure_max
 
u16 debounce_max
 
u16 debounce_tol
 
u16 debounce_rep
 
int gpio_pendown
 
int gpio_pendown_debounce
 
int(* get_pendown_state )(void)
 
int(* filter_init )(const struct ads7846_platform_data *pdata, void **filter_data)
 
int(* filter )(void *filter_data, int data_idx, int *val)
 
void(* filter_cleanup )(void *filter_data)
 
void(* wait_for_sync )(void)
 
bool wakeup
 
unsigned long irq_flags
 

Detailed Description

Definition at line 14 of file ads7846.h.

Field Documentation

u16 debounce_max

Definition at line 43 of file ads7846.h.

u16 debounce_rep

Definition at line 46 of file ads7846.h.

u16 debounce_tol

Definition at line 45 of file ads7846.h.

int(* filter)(void *filter_data, int data_idx, int *val)

Definition at line 55 of file ads7846.h.

void(* filter_cleanup)(void *filter_data)

Definition at line 56 of file ads7846.h.

int(* filter_init)(const struct ads7846_platform_data *pdata, void **filter_data)

Definition at line 53 of file ads7846.h.

int(* get_pendown_state)(void)

Definition at line 52 of file ads7846.h.

int gpio_pendown

Definition at line 48 of file ads7846.h.

int gpio_pendown_debounce

Definition at line 50 of file ads7846.h.

unsigned long irq_flags

Definition at line 59 of file ads7846.h.

bool keep_vref_on

Definition at line 19 of file ads7846.h.

u16 model

Definition at line 15 of file ads7846.h.

u16 penirq_recheck_delay_usecs

Definition at line 34 of file ads7846.h.

u16 pressure_max

Definition at line 41 of file ads7846.h.

u16 pressure_min

Definition at line 41 of file ads7846.h.

u16 settle_delay_usecs

Definition at line 28 of file ads7846.h.

bool swap_xy

Definition at line 21 of file ads7846.h.

u16 vref_delay_usecs

Definition at line 16 of file ads7846.h.

u16 vref_mv

Definition at line 17 of file ads7846.h.

void(* wait_for_sync)(void)

Definition at line 57 of file ads7846.h.

bool wakeup

Definition at line 58 of file ads7846.h.

u16 x_max

Definition at line 39 of file ads7846.h.

u16 x_min

Definition at line 39 of file ads7846.h.

u16 x_plate_ohms

Definition at line 36 of file ads7846.h.

u16 y_max

Definition at line 40 of file ads7846.h.

u16 y_min

Definition at line 40 of file ads7846.h.

u16 y_plate_ohms

Definition at line 37 of file ads7846.h.


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