| 数据搜索系统,热门电子元器件搜索 |
|
VL6180 数据表(PDF) 16 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
VL6180 数据表(HTML) 16 Page - STMicroelectronics |
|
16 / 73 page ![]() Functional description VL6180 16/73 DocID024986 Rev 14 2.5 Operating modes The VL6180 device can operate in 2 different range modes: Single-shot measurement or Continuous measurement. From these 2 device modes, the VL6180 API enables 3 different typical operating modes: Polling, interrupt or asynchronous. Note: Wrap Around Filter is not available in Continuous measurement mode. 2.5.1 Polling mode - single shot measurement Host calls a blocking API function that requests a single shot measurement and waits for the result. CPU is blocked during ranging. Table 5. VL6180 operating modes API operating mode Description API functions VL6180 mode Comments Polling Host requests single shot measurement and waits for the result VL6180x_RangePollMeasurement Single shot Recommended for first API porting or debug Interrupt Ranging results are retrieved from interrupts VL6180x_RangeSetInterMeasPeriod VL6180x_SetupGPIO1 VL6180x_RangeConfigInterrupt (VL6180x_RangeSetThreshold) VL6180x_RangeStartContinuousMode VL6180x_RangeGetMeasurement VL6180x_ClearAllInterrupt Continuous Recommended for User Detection applications where CPU is interrupted by VL6180 so can be asleep when no target is detected (power saving) Asynchro nous Host requests a single shot measurement and regularly checks to see if result is ready or not VL6180x_RangeStartSingleShot VL6180x_RangeGetMeasurement IfReady Single shot Recommended for AF- Assist applications, Android OS-based system where CPU is synchronized by EOF/SOF from camera or by a timer so that top application controls measurement periods |
|
链接网址 |
| 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 |