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

Data Fields

struct sht15_platform_datapdata
 
struct work_struct read_work
 
wait_queue_head_t wait_queue
 
uint16_t val_temp
 
uint16_t val_humid
 
u8 val_status
 
bool checksum_ok
 
bool checksumming
 
enum sht15_state state
 
bool measurements_valid
 
bool status_valid
 
unsigned long last_measurement
 
unsigned long last_status
 
struct mutex read_lock
 
struct devicedev
 
struct devicehwmon_dev
 
struct regulatorreg
 
struct notifier_block nb
 
int supply_uV
 
bool supply_uV_valid
 
struct work_struct update_supply_work
 
atomic_t interrupt_handled
 

Detailed Description

struct sht15_data - device instance specific data : platform data (gpio's etc). : bh of interrupt handler. : wait queue for getting values from device. : last temperature value read from device. : last humidity value read from device. : last status register value read from device. : last value read from the device passed CRC validation. : flag used to enable the data validation with CRC. : state identifying the action the driver is doing. : are the current stored measures valid (start condition). : is the current stored status valid (start condition). : time of last measure. : time of last status reading. : mutex to ensure only one read in progress at a time. : associate device structure. : device associated with hwmon subsystem. : associated regulator (if specified). : notifier block to handle notifications of voltage changes. : local copy of supply voltage used to allow use of regulator consumer if available. : indicates that an updated value has not yet been obtained from the regulator and so any calculations based upon it will be invalid. : work struct that is used to update the supply_uV. : flag used to indicate a handler has been scheduled.

Definition at line 150 of file sht15.c.

Field Documentation

bool checksum_ok

Definition at line 157 of file sht15.c.

bool checksumming

Definition at line 158 of file sht15.c.

struct device* dev

Definition at line 165 of file sht15.c.

struct device* hwmon_dev

Definition at line 166 of file sht15.c.

atomic_t interrupt_handled

Definition at line 172 of file sht15.c.

unsigned long last_measurement

Definition at line 162 of file sht15.c.

unsigned long last_status

Definition at line 163 of file sht15.c.

bool measurements_valid

Definition at line 160 of file sht15.c.

Definition at line 168 of file sht15.c.

Definition at line 151 of file sht15.c.

struct mutex read_lock

Definition at line 164 of file sht15.c.

struct work_struct read_work

Definition at line 152 of file sht15.c.

Definition at line 167 of file sht15.c.

Definition at line 159 of file sht15.c.

bool status_valid

Definition at line 161 of file sht15.c.

int supply_uV

Definition at line 169 of file sht15.c.

bool supply_uV_valid

Definition at line 170 of file sht15.c.

struct work_struct update_supply_work

Definition at line 171 of file sht15.c.

uint16_t val_humid

Definition at line 155 of file sht15.c.

u8 val_status

Definition at line 156 of file sht15.c.

uint16_t val_temp

Definition at line 154 of file sht15.c.

wait_queue_head_t wait_queue

Definition at line 153 of file sht15.c.


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