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

#include <led-lm3530.h>

Data Fields

enum lm3530_mode mode
 
enum lm3530_als_mode als_input_mode
 
u8 max_current
 
bool pwm_pol_hi
 
u8 als_avrg_time
 
bool brt_ramp_law
 
u8 brt_ramp_fall
 
u8 brt_ramp_rise
 
u8 als1_resistor_sel
 
u8 als2_resistor_sel
 
u32 als_vmin
 
u32 als_vmax
 
u8 brt_val
 
struct lm3530_pwm_data pwm_data
 

Detailed Description

struct lm3530_platform_data : mode of operation i.e. Manual, ALS or PWM : select source of ALS input - ALS1/2 or average : full scale LED current : PWM input polarity - active high/active low : ALS input averaging time : brightness mapping mode - exponential/linear : rate of fall of led current : rate of rise of led current : internal resistance from ALS1 input to ground : internal resistance from ALS2 input to ground : als input voltage calibrated for max brightness in mV : als input voltage calibrated for min brightness in mV : brightness value (0-127) : PWM control functions (only valid when the mode is PWM)

Definition at line 98 of file led-lm3530.h.

Field Documentation

u8 als1_resistor_sel

Definition at line 110 of file led-lm3530.h.

u8 als2_resistor_sel

Definition at line 111 of file led-lm3530.h.

u8 als_avrg_time

Definition at line 104 of file led-lm3530.h.

enum lm3530_als_mode als_input_mode

Definition at line 100 of file led-lm3530.h.

u32 als_vmax

Definition at line 114 of file led-lm3530.h.

u32 als_vmin

Definition at line 113 of file led-lm3530.h.

u8 brt_ramp_fall

Definition at line 107 of file led-lm3530.h.

bool brt_ramp_law

Definition at line 106 of file led-lm3530.h.

u8 brt_ramp_rise

Definition at line 108 of file led-lm3530.h.

u8 brt_val

Definition at line 116 of file led-lm3530.h.

u8 max_current

Definition at line 102 of file led-lm3530.h.

enum lm3530_mode mode

Definition at line 99 of file led-lm3530.h.

Definition at line 118 of file led-lm3530.h.

bool pwm_pol_hi

Definition at line 103 of file led-lm3530.h.


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