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

#include <bh1770glc.h>

Data Fields

__u8 led_def_curr
 
__u32 glass_attenuation
 
int(* setup_resources )(void)
 
int(* release_resources )(void)
 

Detailed Description

struct bh1770_platform_data - platform data for bh1770glc driver : IR led driving current. : Attenuation factor for covering window. : Call back for interrupt line setup function : Call back for interrupte line release function

Example of glass attenuation: 16384 * 385 / 100 means attenuation factor of 3.85. i.e. light_above_sensor = light_above_cover_window / 3.85

Definition at line 39 of file bh1770glc.h.

Field Documentation

__u32 glass_attenuation

Definition at line 49 of file bh1770glc.h.

__u8 led_def_curr

Definition at line 47 of file bh1770glc.h.

int(* release_resources)(void)

Definition at line 51 of file bh1770glc.h.

int(* setup_resources)(void)

Definition at line 50 of file bh1770glc.h.


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