#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/gpio.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/mutex.h>
#include <linux/platform_data/sht15.h>
#include <linux/platform_device.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/jiffies.h>
#include <linux/err.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
#include <linux/atomic.h>
Go to the source code of this file.
| #define SHT15_MEASURE_RH 0x05 |
| #define SHT15_MEASURE_TEMP 0x03 |
| #define SHT15_READ_STATUS 0x07 |
| #define SHT15_SOFT_RESET 0x1E |
| #define SHT15_STATUS_HEATER 0x04 |
| #define SHT15_STATUS_LOW_BATTERY 0x40 |
| #define SHT15_STATUS_LOW_RESOLUTION 0x01 |
| #define SHT15_STATUS_NO_OTP_RELOAD 0x02 |
| #define SHT15_TSCKH 100 /* (nsecs) clock high */ |
| #define SHT15_TSCKL 100 /* (nsecs) clock low */ |
| #define SHT15_WRITE_STATUS 0x06 |
- Enumerator:
| sht10 |
|
| sht11 |
|
| sht15 |
|
| sht71 |
|
| sht75 |
|
Definition at line 57 of file sht15.c.
- Enumerator:
| SHT15_READING_NOTHING |
|
| SHT15_READING_TEMP |
|
| SHT15_READING_HUMID |
|
Definition at line 60 of file sht15.c.
| MODULE_DEVICE_TABLE |
( |
platform |
, |
|
|
sht15_device_ids |
|
|
) |
| |
| module_platform_driver |
( |
sht15_driver |
| ) |
|