參數(shù)資料
型號: TSL2569T
廠商: AMS-TAOS USA Inc
文件頁數(shù): 21/37頁
文件大小: 785K
描述: IC LIGHT TO DGTL CONV 6-TMB
標準包裝: 1
系列: *
其它名稱: TSL2569-TDKR
TSL2568, TSL2569
LIGHT-TO-DIGITAL CONVERTER
TAOS091D  DECEMBER 2008
20
r
r
Copyright E 2008, TAOS Inc.
The LUMENOLOGY r Company
www.taosinc.com
APPLICATION INFORMATION: SOFTWARE
The following example pseudo code illustrates the configuration of an SMB Alert style interrupt when the light
intensity changes 20% from the current value, and persists for 3 conversion cycles:
// Read current light level
Address = 0x39
//Slave addr also 0x29 or 0x49
Command = 0xAC
//Set Command bit and Word bit
ReadWord (Address, Command, DataLow, DataHigh)
Channel0 = (256 * DataHigh) + DataLow
//Calculate upper and lower thresholds
T_Upper = Channel0 + (0.2 * Channel0)
T_Lower = Channel0  (0.2 * Channel0)
//Write the lower threshold register
Command = 0xA2
//Addr lower threshold reg, set Word Bit
WriteWord (Address, Command, T_Lower.LoByte, T_Lower.HiByte)
//Write the upper threshold register
Command = 0xA4
//Addr upper threshold reg, set Word bit
WriteWord (Address, Command, T_Upper.LoByte, T_Upper.HiByte)
//Enable interrupt
Command = 0x86
//Address interrupt register
Data = 0x23
//SMBAlert style, PERSIST = 3
WriteByte(Address, Command, Data)
In order to generate an interrupt on demand during system test or debug, a test mode (INTR = 11) can be used.
The following example illustrates how to generate an interrupt on demand:
// Generate an interrupt
Address = 0x39
//Slave addr also 0x29 or 0x49
Command = 0x86
//Address Interrupt register
Data = 0x30
//Test interrupt
WriteByte(Address, Command, Data)
//Interrupt line should now be low
相關PDF資料
PDF描述
TSL257SM-LF IC LIGHT-VOLTAGE SMD SIDELOOKER
TSL260R-LF IC IR LIGHT-VOLT CONV SIDELOOKER
TSL260RSM-LF IC IR LIGHT-VOLT CONV SMD SIDELK
TSL3301CL IC LINEAR SENSOR ARRAY 8CHIPLED
TXM-418-LR_ TRANSMITTER 418MHZ LR SERIES
相關代理商/技術參數(shù)
參數(shù)描述
TSL256Y WAF 制造商:Texas Instruments 功能描述:
TSL257 制造商:TAOS 制造商全稱:TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS 功能描述:HIGH-SENSITIVITY LIGHT-TO-VOLTAGE CONVERTER
TSL2571 制造商:TAOS 制造商全稱:TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS 功能描述:LIGHT-TO-DIGITAL CONVERTER
TSL2571 EVM 功能描述:光學傳感器開發(fā)工具 Evaluation Module TSL2571x RoHS:否 制造商:ams 工具用于評估: 接口類型: 最大工作溫度:
TSL25711 制造商:TAOS 制造商全稱:TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS 功能描述:LIGHT-TO-DIGITAL CONVERTER