| 전자부품 데이터시트 검색엔진 |
|
TSL2583 데이터시트(PDF) 24 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
TSL2583 데이터시트(HTML) 24 Page - ams AG |
|
24 / 33 page ![]() TSL2581, TSL2583 LIGHT-TO-DIGITAL CONVERTER TAOS134A − JULY 2012 23 The LUMENOLOGY r Company r r Copyright E 2012, TAOS Inc. www.taosinc.com 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) { case 1: // CS package if ((ratio >= 0) && (ratio <= K1C)) {b=B1C; m=M1C;} else if (ratio <= K2C) {b=B2C; m=M2C;} else if (ratio <= K3C) {b=B3C; m=M3C;} else if (ratio <= K4C) {b=B4C; m=M4C;} else if (ratio > K5C) {b=B5C; m=M5C;} break; } 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); } |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |