tsl2580 ETC-unknow, tsl2580 Datasheet - Page 25
tsl2580
Manufacturer Part Number
tsl2580
Description
Light-to-digital Converter
Manufacturer
ETC-unknow
Datasheet
1.TSL2580.pdf
(34 pages)
- Current page: 25 of 34
- Download datasheet (355Kb)
}
The LUMENOLOGY r Company
unsigned long ratio1 = 0;
if (channel0 != 0) ratio1 = (channel1 << (RATIO_SCALE+1)) / channel0;
// round the ratio value
unsigned long ratio = (ratio1 + 1) >> 1;
// is ratio <= eachBreak?
unsigned int b, m;
switch (iType)
{
}
unsigned long temp;
unsigned long lux;
temp = ((channel0 * b) − (channel1 * m));
// round lsb (2^(LUX_SCALE−1))
temp += (1 << (LUX_SCALE−1));
// strip off fractional portion
lux = temp >> LUX_SCALE;
return(lux);
case 1: // CS package
if ((ratio >= 0) && (ratio <= K1C))
else if (ratio <= K2C)
else if (ratio <= K3C)
else if (ratio <= K4C)
else if (ratio > K5C)
break;
{b=B1C; m=M1C;}
{b=B2C; m=M2C;}
{b=B3C; m=M3C;}
{b=B4C; m=M4C;}
{b=B5C; m=M5C;}
r
www.taosinc.com
LIGHT-TO-DIGITAL CONVERTER
r
TSL2580, TSL2581
Copyright E 2010, TAOS Inc.
TAOS098 − MARCH 2010
25
Related parts for tsl2580
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
ETC-unknow
Datasheet:
Part Number:
Description:
Manufacturer:
ETC-unknow
Datasheet: