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

Data Fields

struct i2c_clientclient
 
u64 current_event
 
u16 threshold [2][2]
 
u8 thresh_sensitivity [2][2]
 
u8 mag_sensitivity [2][2]
 
u8 thresh_timeout [2][2]
 
u8 mag_timeout [2][2]
 
int old_state
 
charconversion_mode
 
struct mutex state_lock
 

Detailed Description

struct ad7150_chip_info - instance specific chip data : i2c client for this device : device always has one type of event enabled. This element stores the event code of the current one. : thresholds for simple capacitance value events : threshold for simple capacitance offset from 'average' value. : threshold for magnitude of capacitance offset from from 'average' value. : a timeout, in samples from the moment an adaptive threshold event occurs to when the average value jumps to current value. : a timeout, in sample from the moment an adaptive magnitude event occurs to when the average value jumps to the current value. : store state from previous event, allowing confirmation of new condition. : the current conversion mode. : ensure consistent state of this structure wrt the hardware.

Definition at line 71 of file ad7150.c.

Field Documentation

Definition at line 72 of file ad7150.c.

char* conversion_mode

Definition at line 80 of file ad7150.c.

u64 current_event

Definition at line 73 of file ad7150.c.

u8 mag_sensitivity[2][2]

Definition at line 76 of file ad7150.c.

u8 mag_timeout[2][2]

Definition at line 78 of file ad7150.c.

int old_state

Definition at line 79 of file ad7150.c.

struct mutex state_lock

Definition at line 81 of file ad7150.c.

u8 thresh_sensitivity[2][2]

Definition at line 75 of file ad7150.c.

u8 thresh_timeout[2][2]

Definition at line 77 of file ad7150.c.

u16 threshold[2][2]

Definition at line 74 of file ad7150.c.


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