欢迎访问ic37.com |
会员登录 免费注册
发布采购

TCS3414 参数 Datasheet PDF下载

TCS3414图片预览
型号: TCS3414
PDF下载: 下载PDF文件 查看货源
内容描述: 数字色彩传感器 [DIGITAL COLOR SENSORS]
分类和应用: 传感器
文件页数/大小: 40 页 / 348 K
品牌: TAOS [ TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS ]
 浏览型号TCS3414的Datasheet PDF文件第13页浏览型号TCS3414的Datasheet PDF文件第14页浏览型号TCS3414的Datasheet PDF文件第15页浏览型号TCS3414的Datasheet PDF文件第16页浏览型号TCS3414的Datasheet PDF文件第18页浏览型号TCS3414的Datasheet PDF文件第19页浏览型号TCS3414的Datasheet PDF文件第20页浏览型号TCS3414的Datasheet PDF文件第21页  
TCS3404, TCS3414  
DIGITAL COLOR SENSORS  
TAOS137A − APRIL 2011  
Interrupt Control Register (02h)  
The INTERRUPT register controls the extensive interrupt capabilities of the device. The open-drain interrupt  
pin is active low and requires a pullup resistor to V in order to pull high in the inactive state. Using the Interrupt  
DD  
Source Register (03h), the interrupt can be configured to trigger on any one of the four ADC channels. The  
TCS3404/14 permits both SMB-Alert style interrupts as well as traditional level style interrupts. The Interrupt  
Register provides control over when a meaningful interrupt will occur. The concept of a meaningful change can  
be defined by the user both in terms of light intensity and time, or persistence of that change in intensity. The  
value must cross the threshold (as configured in the Threshold Registers 08h through 0Bh) and persist for some  
period of time as outlined in the table below.  
When a level Interrupt is selected, an interrupt is generated whenever the last conversion results in a value  
outside of the programmed threshold window. The interrupt is active-low and remains asserted until cleared by  
writing an 11 in the TRANSACTION field in the COMMAND register.  
In SMB-Alert mode, the interrupt is similar to the traditional level style and the interrupt line is asserted low. To  
clear the interrupt, the host responds to the SMB-Alert by performing a modified Receive Byte operation, in  
which the Alert Response Address (ARA) is placed in the slave address field, and the TCS3404/14 that  
generated the interrupt responds by returning its own address in the seven most significant bits of the receive  
data byte. If more than one device connected on the bus has pulled the SMBAlert line low, the highest priority  
(lowest address) device will win control of the bus during the slave address transfer. If the device loses this  
arbitration, the interrupt will not be cleared. The Alert Response Address is 0Ch.  
When INTR = 11, the interrupt is generated immediately following the SMBus write operation. Operation then  
behaves in an SMB-Alert mode, and the software set interrupt may be cleared by an SMB-Alert cycle.  
Table 6. Interrupt Control Register  
7
Resv  
0
6
5
0
4
0
3
Resv  
0
2
1
0
0
INTERRUPT  
02h  
INTR_STOP  
0
INTR  
PERSIST  
0
Reset Value:  
0
FIELD  
BITS  
DESCRIPTION  
Resv  
7
Reserved. Write as 0.  
Stop ADC integration on interrupt. When high, ADC integration will stop once an interrupt is asserted.  
To resume operation (1) de-assert ADC_EN using CONTROL register, (2) clear interrupt using  
COMMAND register, and (3) re-assert ADC_EN using CONTROL register. Note: Use this bit to isolate  
a particular condition when the sensor is continuously integrating.  
INTR_STOP  
6
INTR Control Select. This field determines mode of interrupt logic according to the table below:  
FIELD VALUE  
INTERRUPT CONTROL  
00  
01  
10  
11  
Interrupt output disabled.  
Level Interrupt.  
INTR  
5:4  
SMB-Alert compliant.  
Sets an interrupt and functions as mode 10.  
NOTE: Value 11 may be used to test interrupt connectivity in a system or to assist in debugging interrupt  
service routine software. See Application Software section for further information.  
Resv  
3
Reserved. Write as 0.  
Interrupt persistence. Controls rate of interrupts to the host processor:  
FIELD VALUE  
TIMER  
Every  
DESCRIPTION  
000  
001  
010  
011  
Every ADC cycle generates interrupt  
Any value outside of threshold range.  
Consecutively out of range for 0.1 second  
Consecutively out of range for 1 second  
PERSIST  
2:0  
Single  
0.1 sec  
1 sec  
Copyright E 2011, TAOS Inc.  
The LUMENOLOGY r Company  
r
r
www.taosinc.com  
17  
 复制成功!