Datasheet
Table Of Contents
- General Description
- Pin Assignments
- Absolute Maximum Ratings
- Electrical Characteristics
- Typical Operating Characteristics
- Detailed Description
- Register Description
- Application Information
- Package Information
- Tape & Reel Information
- Soldering & Storage Information
- Laser Eye Safety
- Ordering & Contact Information
- RoHS Compliant & ams Green Statement
- Copyrights & Disclaimer
- Document Status
- Revision Information
- Content Guide
Page 24 ams Datasheet
Document Feedback [v1-08] 2020-Jun-29
TMF8701 − Register Description
0x03
Set flag to perform distance or proximity measurement
with 7 bytes of data containing where
cmd_data6 = Bit mask which algorithm is used
Bit 0 - When 1 proximity is enabled
Bit 1 - When 1 distance enabled
Bits 3:2 - Reserved; set to 00b.
Bits 4 - algImmediateInterrupt – When 1 proximity and
distance will immediately report to the host an interrupt
of the capturing caused by a GPIO event; when 0, will only
report to the host when proximity (and distance if
enabled) was finished
Bit 5 - When 1 combine the capture of the proximity and
distance algorithms for maximum speed
Bit 6 - Reserved; set to 0.
Bit 7 - When 1 do not go to standby between
measurements (faster measurement times but higher
current consumption)
Please note if bits 0 and 1 are both zero, the system will
default to proximity and distance algorithms enabled.
cmd_data5 = Bits for GPIO control
Bits 3:0 - GPIO0 settings
0 – Disabled (tristate)
1 - Input: Active low disables collection,
immediately abandoning current measurement.
Returning to high restarts new
measurement
2 - Input: Active high disables
collection, immediately abandoning current
measurement. Returning to low restarts new
measurement
3 - Output: VCSEL pulse output - see
cmd_data4
4 - Output low (default after startup)
5 - Output high
6:15 – Reserved, do not use
Bits 7:4 - GPIO1 settings
0 - Disabled (tristate)
1 - Input: Active low disables collection,
immediately abandoning current measurement.
Returning to high restarts new measurement
2 - Input: Active high disables
collection, immediately abandoning
current measurement. Returning to low restarts
new measurement
3 - Output: VCSEL pulse output – see
cmd_data4
4 - Output low (default after startup)
5 - Output high
6:15 – Reserved, do not use
0x10: COMMAND
Field Name Reset Type Description