HomeSort by relevance Sort by last modified time
    Searched refs:LUX_SCALE (Results 1 - 2 of 2) sorted by null

  /hardware/bsp/intel/peripheral/libupm/src/tsl2561/
tsl2561.h 62 #define LUX_SCALE (14) // Scale by 2^14
70 #define LUX_B1C (0x0204) // 0.0315 * 2^LUX_SCALE
71 #define LUX_M1C (0x01ad) // 0.0262 * 2^LUX_SCALE
73 #define LUX_B2C (0x0228) // 0.0337 * 2^LUX_SCALE
74 #define LUX_M2C (0x02c1) // 0.0430 * 2^LUX_SCALE
76 #define LUX_B3C (0x0253) // 0.0363 * 2^LUX_SCALE
77 #define LUX_M3C (0x0363) // 0.0529 * 2^LUX_SCALE
79 #define LUX_B4C (0x0282) // 0.0392 * 2^LUX_SCALE
80 #define LUX_M4C (0x03df) // 0.0605 * 2^LUX_SCALE
82 #define LUX_B5C (0x0177) // 0.0229 * 2^LUX_SCALE
    [all...]
tsl2561.cxx 183 // round lsb (2^(LUX_SCALE-1))
184 tempLux += (1 << (LUX_SCALE-1));
187 lux = tempLux >> LUX_SCALE;

Completed in 34 milliseconds