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

Data Fields

struct devicehwmon_dev
 
struct mutex lock
 
char valid
 
unsigned long last_update
 
int temperature
 
int humidity
 

Detailed Description

struct sht21 - SHT21 device specific data : device registered with hwmon : mutex to protect measurement values : only 0 before first measurement is taken : time of last update (jiffies) : cached temperature measurement value : cached humidity measurement value

Definition at line 47 of file sht21.c.

Field Documentation

int humidity

Definition at line 53 of file sht21.c.

struct device* hwmon_dev

Definition at line 48 of file sht21.c.

unsigned long last_update

Definition at line 51 of file sht21.c.

struct mutex lock

Definition at line 49 of file sht21.c.

Definition at line 52 of file sht21.c.

char valid

Definition at line 50 of file sht21.c.


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