Datasheet VCNL3040 (Vishay) - 10
Manufacturer | Vishay |
Description | Proximity Sensor With Interrupt, IRED, and I²C Interface |
Pages / Page | 17 / 10 — VCNL3040. TABLE 7 - REGISTER: PS_MS DESCRIPTION PS_MS. COMMAND CODE: … |
File Format / Size | PDF / 258 Kb |
Document Language | English |
VCNL3040. TABLE 7 - REGISTER: PS_MS DESCRIPTION PS_MS. COMMAND CODE: 0x04_H (0x04 DATA BYTE HIGH)
Model Line for this Datasheet
Text Version of Document
VCNL3040
www.vishay.com Vishay Semiconductors
TABLE 7 - REGISTER: PS_MS DESCRIPTION PS_MS COMMAND CODE: 0x04_H (0x04 DATA BYTE HIGH)
Command Bit Description Reserved 7 Reserved PS_MS 6 0 = normal interrupt functionality, 1 = proximity detection logic output mode enable Reserved 5 : 3 (0 : 0 : 0) (0 : 0 : 0) = 50 mA, (0 : 0 : 1) = 75 mA, (0 : 1 : 0) = 100 mA, (0 : 1 : 1) = 120 mA, (1 : 0 : 0) = 140 mA, LED_I 2 : 0 (1 : 0 : 1) = 160 mA, (1 : 1 : 0) = 180 mA, (1 : 1 : 1) = 200 mA LED current selection setting
TABLE 8 - REGISTER: PS_CANC_L AND PS_CANC_M DESCRIPTION PS_CANC_L COMMAND CODE: 0x05_L (0x05 DATA BYTE LOW) AND 0x05_H (0x05 DATA BYTE HIGH) PS_CANC_M
Register Bit Description PS_CANC_L 7 : 0 0x00 to 0xFF, PS cancellation level setting, LSB byte PS_CANC_M 7 : 0 0x00 to 0xFF, PS cancellation level setting, MSB byte
TABLE 9 - REGISTER: PS_THDL_L AND PS_THDL_M DESCRIPTION PS_THDL_L COMMAND CODE: 0x06_L (0x06 DATA BYTE LOW) AND 0x06_H (0x06 DATA BYTE HIGH) PS_THDL_M
Register Bit Description PS_THDL_L 7 : 0 0x00 to 0xFF, PS low interrupt threshold setting, LSB byte PS_THDL_M 7 : 0 0x00 to 0xFF, PS low interrupt threshold setting, MSB byte
TABLE 10 - REGISTER: PS_THDH_L AND PS_THDH_M DESCRIPTION PS_THDH_L COMMAND CODE: 0x07_L (0x07 DATA BYTE LOW) AND 0x07_H (0x07 DATA BYTE HIGH) PS_THDH_M
Register Bit Description PS_THDH_L 7 : 0 0x00 to 0xFF, PS high interrupt threshold setting, LSB byte PS_THDH_M 7 : 0 0x00 to 0xFF, PS high interrupt threshold setting, MSB byte
TABLE 11 - READ OUT REGISTER DESCRIPTION REGISTER COMMAND CODE BIT DESCRIPTION
PS_Data_L 0x08_L (0x08 data byte low) 7 : 0 0x00 to 0xFF, PS LSB output data PS_Data_M 0x08_H (0x08 data byte high) 7 : 0 0x00 to 0xFF, PS MSB output data Reserved 0x09_L (0x09 data byte low) 7 : 0 Reserved Reserved 0x09_H (0x09 data byte high) 7 : 0 Reserved Reserved 0x0A_L (0x0A data byte low) 7 : 0 Reserved Reserved 0x0A_H (0x0A data byte high) 7 : 0 Reserved Reserved 0x0B_L (0x0B data byte low) 7 : 0 Default = 0x00 7 Reserved 6 PS_SPFLAG, PS entering protection mode 5 Reserved 4 INT_Flag 0x0B_H (0x0B data byte high) Reserved 3 Reserved 2 Reserved 1 PS_IF_CLOSE, PS rises above PS_THDH INT trigger event 0 PS_IF_AWAY, PS drops below PS_THDL INT trigger event ID_L 0CH_L (0CH data byte low) 7 : 0 86H for MP version sample device ID LSB byte 7 : 6 (0 : 0) ID_M 0CH_H (0CH data byte high) 5 : 4 (0 : 0) slave address = 0x60 (7-bit) version code (0 : 0 : 0 : 1) 3 : 0 Device ID MSB byte Rev. 1.2, 08-Jul-2019
10
Document Number: 84917 For technical questions, contact: sensorstechsupport@vishay.com THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT NOTICE. THE PRODUCTS DESCRIBED HEREIN AND THIS DOCUMENT ARE SUBJECT TO SPECIFIC DISCLAIMERS, SET FORTH AT www.vishay.com/doc?91000