| 数据搜索系统,热门电子元器件搜索 |
|
VL6180 数据表(PDF) 18 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
VL6180 数据表(HTML) 18 Page - STMicroelectronics |
|
18 / 73 page ![]() Functional description VL6180 18/73 DocID024986 Rev 14 VL6180x_RangeConfigInterrupt() The VL6180 can be configured to generate a range interrupt flag under any of the following conditions: New sample ready Level low (range value < low threshold) Level high (range value > high threshold) Out of window (range value < low threshold) OR (range value > high threshold) In new sample ready mode, an interrupt flag will be raised at the end of every measurement irrespective of whether the measurement is valid or if an error has occurred. This mode is particularly useful during development and debug. In level interrupt mode the system will raise an interrupt flag if either a low or high programmable threshold has been crossed. Out of window interrupt mode activates both high and low level thresholds allowing a window of operation to be specified. Range interrupt modes are selected via VL6180x_RangeConfigInterrupt() with VL6180x_RangeSetThresholds() used to set thresholds. Use VL6180x_RangeGetInterruptStatus() to return the ranging interrupt status. Note: In level or window interrupt modes range errors will only trigger an interrupt if the logical conditions described above are met. Continuous mode limits To take account of oscillator tolerances and internal processing overheads it is necessary to place the following constraints on continuous mode operations. The following equations define the minimum inter-measurement period to ensure correct operation: Continuous range: VL6180x_RangeSetMaxConvergenceTime() + 5 VL6180x_RangeSetInterMeasPeriod() * 0.9 Table 6. gives an example how to apply these limits in continuous mode operating at a sampling rate of 10 Hz. 2.5.3 Asynchronous mode - single shot measurement Host requests a single shot measurement and can either check regularly to see if result is ready or wait for an interrupt then call RangeGetMeasurementIfReady(). Table 6. Continuous mode limits (10 Hz operation) Parameter Period (ms) VL6180x_RangeSetMaxConvergenceTime() 30 Total RANGE EXECUTION TIME 35 |
|
链接网址 |
| 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 |