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

Data Fields

struct input_dev * input
 
char phys [32]
 
char name [32]
 
struct spi_devicespi
 
struct regulatorreg
 
u16 model
 
u16 vref_mv
 
u16 vref_delay_usecs
 
u16 x_plate_ohms
 
u16 pressure_max
 
bool swap_xy
 
bool use_internal
 
struct ads7846_packetpacket
 
struct spi_transfer xfer [18]
 
struct spi_message msg [5]
 
int msg_count
 
wait_queue_head_t wait
 
bool pendown
 
int read_cnt
 
int read_rep
 
int last_read
 
u16 debounce_max
 
u16 debounce_tol
 
u16 debounce_rep
 
u16 penirq_recheck_delay_usecs
 
struct mutex lock
 
bool stopped
 
bool disabled
 
bool suspended
 
int(* filter )(void *data, int data_idx, int *val)
 
voidfilter_data
 
void(* filter_cleanup )(void *data)
 
int(* get_pendown_state )(void)
 
int gpio_pendown
 
void(* wait_for_sync )(void)
 

Detailed Description

Definition at line 93 of file ads7846.c.

Field Documentation

u16 debounce_max

Definition at line 128 of file ads7846.c.

u16 debounce_rep

Definition at line 130 of file ads7846.c.

u16 debounce_tol

Definition at line 129 of file ads7846.c.

bool disabled

Definition at line 136 of file ads7846.c.

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

Definition at line 139 of file ads7846.c.

void(* filter_cleanup)(void *data)

Definition at line 141 of file ads7846.c.

void* filter_data

Definition at line 140 of file ads7846.c.

int(* get_pendown_state)(void)

Definition at line 142 of file ads7846.c.

int gpio_pendown

Definition at line 143 of file ads7846.c.

struct input_dev* input

Definition at line 94 of file ads7846.c.

int last_read

Definition at line 126 of file ads7846.c.

struct mutex lock

Definition at line 134 of file ads7846.c.

u16 model

Definition at line 106 of file ads7846.c.

Definition at line 118 of file ads7846.c.

int msg_count

Definition at line 119 of file ads7846.c.

char name[32]

Definition at line 96 of file ads7846.c.

Definition at line 115 of file ads7846.c.

bool pendown

Definition at line 122 of file ads7846.c.

u16 penirq_recheck_delay_usecs

Definition at line 132 of file ads7846.c.

char phys[32]

Definition at line 95 of file ads7846.c.

u16 pressure_max

Definition at line 110 of file ads7846.c.

int read_cnt

Definition at line 124 of file ads7846.c.

int read_rep

Definition at line 125 of file ads7846.c.

Definition at line 99 of file ads7846.c.

Definition at line 98 of file ads7846.c.

bool stopped

Definition at line 135 of file ads7846.c.

bool suspended

Definition at line 137 of file ads7846.c.

bool swap_xy

Definition at line 112 of file ads7846.c.

bool use_internal

Definition at line 113 of file ads7846.c.

u16 vref_delay_usecs

Definition at line 108 of file ads7846.c.

u16 vref_mv

Definition at line 107 of file ads7846.c.

Definition at line 120 of file ads7846.c.

void(* wait_for_sync)(void)

Definition at line 145 of file ads7846.c.

u16 x_plate_ohms

Definition at line 109 of file ads7846.c.

struct spi_transfer xfer[18]

Definition at line 117 of file ads7846.c.


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