Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sht21.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h>
#include <linux/device.h>
#include <linux/jiffies.h>

Go to the source code of this file.

Data Structures

struct  sht21
 

Macros

#define SHT21_TRIG_T_MEASUREMENT_HM   0xe3
 
#define SHT21_TRIG_RH_MEASUREMENT_HM   0xe5
 

Functions

 MODULE_DEVICE_TABLE (i2c, sht21_id)
 
 module_i2c_driver (sht21_driver)
 
 MODULE_AUTHOR ("Urs Fleisch <[email protected]>")
 
 MODULE_DESCRIPTION ("Sensirion SHT21 humidity and temperature sensor driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define SHT21_TRIG_RH_MEASUREMENT_HM   0xe5

Definition at line 36 of file sht21.c.

#define SHT21_TRIG_T_MEASUREMENT_HM   0xe3

Definition at line 35 of file sht21.c.

Function Documentation

MODULE_AUTHOR ( "Urs Fleisch <[email protected]>"  )
MODULE_DESCRIPTION ( "Sensirion SHT21 humidity and temperature sensor driver )
MODULE_DEVICE_TABLE ( i2c  ,
sht21_id   
)
module_i2c_driver ( sht21_driver  )
MODULE_LICENSE ( "GPL"  )