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

#include <tsl2x7x.h>

Data Fields

int als_time
 
int als_gain
 
int als_gain_trim
 
int wait_time
 
int prx_time
 
int prox_gain
 
int prox_config
 
int als_cal_target
 
u8 interrupts_en
 
u8 persistence
 
int als_thresh_low
 
int als_thresh_high
 
int prox_thres_low
 
int prox_thres_high
 
int prox_pulse_count
 
int prox_max_samples_cal
 

Detailed Description

struct tsl2x7x_default_settings - power on defaults unless overridden by platform data. : ALS Integration time - multiple of 50mS : Index into the ALS gain table. : default gain trim to account for aperture effects. : Time between PRX and ALS cycles in 2.7 periods : 5.2ms prox integration time - decrease in 2.7ms periods : Proximity gain index : Prox configuration filters. : Known external ALS reading for calibration. : Enable/Disable - 0x00 = none, 0x10 = als, 0x20 = prx, 0x30 = bth : H/W Filters, Number of 'out of limits' ADC readings PRX/ALS. : CH0 'low' count to trigger interrupt. : CH0 'high' count to trigger interrupt. : Low threshold proximity detection. : High threshold proximity detection : Number if proximity emitter pulses : Used for prox cal.

Definition at line 64 of file tsl2x7x.h.

Field Documentation

int als_cal_target

Definition at line 72 of file tsl2x7x.h.

int als_gain

Definition at line 66 of file tsl2x7x.h.

int als_gain_trim

Definition at line 67 of file tsl2x7x.h.

int als_thresh_high

Definition at line 76 of file tsl2x7x.h.

int als_thresh_low

Definition at line 75 of file tsl2x7x.h.

int als_time

Definition at line 65 of file tsl2x7x.h.

u8 interrupts_en

Definition at line 73 of file tsl2x7x.h.

u8 persistence

Definition at line 74 of file tsl2x7x.h.

int prox_config

Definition at line 71 of file tsl2x7x.h.

int prox_gain

Definition at line 70 of file tsl2x7x.h.

int prox_max_samples_cal

Definition at line 80 of file tsl2x7x.h.

int prox_pulse_count

Definition at line 79 of file tsl2x7x.h.

int prox_thres_high

Definition at line 78 of file tsl2x7x.h.

int prox_thres_low

Definition at line 77 of file tsl2x7x.h.

int prx_time

Definition at line 69 of file tsl2x7x.h.

int wait_time

Definition at line 68 of file tsl2x7x.h.


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