| Zakładka z wyszukiwarką danych komponentów |
|
TCS34713 Arkusz danych(PDF) 9 Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS |
|
|
|||||||||||||||||||||||||||||
TCS34713 Arkusz danych(HTML) 9 Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS |
|
9 / 22 page ![]() TCS3471 COLOR LIGHT-TO-DIGITAL CONVERTER TAOS115 − MARCH 2011 9 The LUMENOLOGY r Company r r Copyright E 2011, TAOS Inc. www.taosinc.com Interrupts The interrupt feature simplifies and improves system efficiency by eliminating the need to poll the sensor for light intensity values outside of a user-defined range. While the interrupt function is always enabled and it’s status is available in the status register (0x13), the output of the interrupt state can be enabled using the RGBC interrupt enable (AIEN) field in the enable register (0x00). Two 16-bit interrupt threshold registers allow the user to set limits below and above a desired light level range. An interrupt can be generated when the RGBC Clear data (CDATA) falls outside of the desired light level range, as determined by the values in the RGBC interrupt low threshold registers (AILTx) and RGBC interrupt high threshold registers (AIHTx). It is important to note that the low threshold value must be less than the high threshold value for proper operation. To further control when an interrupt occurs, the device provides a persistence filter. The persistence filter allows the user to specify the number of consecutive out-of-range RGBC occurrences before an interrupt is generated. The persistence register (0x0C) allows the user to set the persistence (APERS) value. See the persistence register for details on the persistence filter values. Once the persistence filter generates an interrupt, it will continue until a special function interrupt clear command is received (see command register). Clear ADC Clear Data Clear Upper Limit Lower Limit AIHTH(r 07), AIHTL(r 06) RGBC Persistence AILTH(r 05), AILTL(r 04) PPERS(r 0x0C, b3:0) Figure 8. Programmable Interrupt State Diagram Figure 9 shows a more detailed flow for the state machine. The device starts in the sleep mode. The PON bit is written to enable the device. A 2.4-ms delay will occur before entering the start state. If the WEN bit is set, the state machine will cycle through the wait state. If the WLONG bit is set, the wait cycles are extended by 12 × over normal operation. When the wait counter terminates, the state machine will step to the RGBC state. The AEN should always be set. In this case, a minimum of 1 integration time step should be programmed. The RGBC state machine will continue until it reaches the terminal count, at which point the data will be latched in the RGBC register and the interrupt set, if enabled. Wait Check PON = 1 PON = 0 Sleep ALS Check Wait Start WEN = 1 ALS ALS Delay AEN = 1 1 to 256steps Step: 2.4 ms Time: 2.4 ms − 614 ms WLONG = 0 1 to 256 steps Step: 2.4 ms Time: 2.4 ms − 614 ms Minimum − 2.4 ms WLONG = 1 1 to 256 steps Step: 29 ms Time: 29 ms − 7.4 s Minimum − 29 ms Time: 2.4 ms Figure 9. Expanded State Diagram |
|
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |