Datasheet VCNL3040 (Vishay) - 9
Fabricante | Vishay |
Descripción | Proximity Sensor With Interrupt, IRED, and I²C Interface |
Páginas / Página | 17 / 9 — VCNL3040. Command Register Format. TABLE 2 - REGISTER: 00H_L DESCRIPTION … |
Formato / tamaño de archivo | PDF / 258 Kb |
Idioma del documento | Inglés |
VCNL3040. Command Register Format. TABLE 2 - REGISTER: 00H_L DESCRIPTION REGISTER NAME
Línea de modelo para esta hoja de datos
Versión de texto del documento
VCNL3040
www.vishay.com Vishay Semiconductors
Command Register Format
VCNL3040 provides an 8-bit command register for PS controlling independently. The description of each command format is shown in following tables.
TABLE 2 - REGISTER: 00H_L DESCRIPTION REGISTER NAME COMMAND CODE: 0x00_L (0x00 DATA BYTE LOW)
Command Bit Description Reserved 7 : 0 Default = (0 : 0 : 0 : 0 : 0 : 0 : 0 : 1)
TABLE 3 - REGISTER: 00H_H DESCRIPTION Reserved COMMAND CODE: 0x00_H (0x00 DATA BYTE HIGH)
Command Bit Description Reserved 7 : 0 Default = (0 : 0 : 0 : 0 : 0 : 0 : 0 : 0)
TABLE 4 - REGISTER: PS_CONF1 DESCRIPTION PS_CONF1 COMMAND CODE: 0x03_L (0x03 DATA BYTE LOW)
Command Bit Description (0 : 0) = 1/40, (0 : 1) = 1/80, (1 : 0) = 1/160, (1 : 1) = 1/320 PS_Duty 7 : 6 PS IRED on / off duty ratio setting (0 : 0) = 1, (0 : 1) = 2, (1 : 0) = 3, (1 : 1) = 4 PS_PERS 5 : 4 PS interrupt persistence setting (0 : 0 : 0) = 1T, (0 : 0 : 1) = 1.5T, (0 : 1 : 0) = 2T, (0 : 1 : 1) = 2.5T, (1 : 0 : 0) = 3T, (1 : 0 : 1) = 3.5T, PS_ IT 3 : 1 (1 : 1 : 0) = 4T, (1 : 1 : 1) = 8T, PS integration time setting PS_SD 0 0 = PS power on, 1 = PS shut down, default = 1
TABLE 5 - REGISTER: PS_CONF2 DESCRIPTION PS_CONF2 COMMAND CODE: 0x03_H (0x03 DATA BYTE HIGH)
Command Bit Description Reserved 7 : 6 (0 : 0), reserved Reserved 5 : 4 (0 : 0), reserved PS_HD 3 0 = PS output is 12 bits, 1 = PS output is 16 bits Reserved 2 Default = 0 (0 : 0) = interrupt disable, (0 : 1) = trigger by closing, (1 : 0) = trigger by away, PS_INT 1 : 0 (1 : 1) = trigger by closing and away
TABLE 6 - REGISTER: PS_CONF3 DESCRIPTION PS_CONF3 COMMAND CODE: 0x04_L (0x04 DATA BYTE LOW)
Command Bit Description Reserved 7 Default = 0 Reserved 6 : 5 (0 : 0) PS_SMART_PERS 4 0 = disable; 1 = enable PS smart persistence PS_FOR 3 0 = active force mode disable (normal mode), 1 = active force mode enable 0 = no PS active force mode trigger, 1 = trigger one time cycle PS_FOR_TRIG 2 The VCNL3040 conducts a single measurement every time the host writes a “1” to this bit. The state returns to “0” automatically Reserved 1 : 0 (0 : 0) Rev. 1.2, 08-Jul-2019
9
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