Datasheet VEML6035 (Vishay) - 7

ManufacturerVishay
DescriptionLow Power, High Sensitivity, I²C, Accuracy Ambient Light Sensor
Pages / Page15 / 7 — VEML6035. Command Register Format. COMMAND REGISTER FORMAT. REGISTER. …
File Format / SizePDF / 222 Kb
Document LanguageEnglish

VEML6035. Command Register Format. COMMAND REGISTER FORMAT. REGISTER. COMMAND CODE. BIT. FUNCTION / DESCRIPTION. R / W. NAME

VEML6035 Command Register Format COMMAND REGISTER FORMAT REGISTER COMMAND CODE BIT FUNCTION / DESCRIPTION R / W NAME

Model Line for this Datasheet

Text Version of Document

VEML6035
www.vishay.com Vishay Semiconductors
Command Register Format
There are 6 command codes provided by VEML6035. Formats of these command code and registers’ definition explanations are shown in below table.
COMMAND REGISTER FORMAT REGISTER COMMAND CODE BIT FUNCTION / DESCRIPTION R / W NAME
00 ALS_CONF 0 15 : 0 ALS gain, integration time, interrupt, and shut down W WH 15 : 8 High threshold window setting (MSB) W 01 WH 7 : 0 High threshold window setting (LSB) W WL 15 : 8 Low threshold window setting (MSB) W 02 WL 7 : 0 Low threshold window setting (LSB) W 03 Reserved 15 : 0 Reserved W ALS 15 : 8 MSB 8 bits data of whole ALS 16 bits R 04 ALS 7 : 0 LSB 8 bits data of whole ALS 16 bits R WHITE 15 : 8 MSB 8 bits data of whole WHITE 16 bits R 05 WHITE 7 : 0 LSB 8 bits data of whole WHITE 16 bits R IF_L 15 Crossing low threshold INT trigger event R 06 IF_H 14 Crossing high threshold INT trigger event R Reserved 13 : 0 Reserved R
TABLE 1 - CONFIGURATION REGISTER 00 (HEX) REGISTER NAME BIT FUNCTION / DESCRIPTION
Reserved 15 : 13 Reserved SENS 12 0 = high sensitivity, 1 = low sensitivity (1/8) DG 11 0 = normal, 1 = double GAIN 10 0 = normal sensitivity, 1 = double sensitivity ALS integration time setting which represents how long ALS can update the readout value. 1100 = 25 ms 1000 = 50 ms ALS_IT (1) 9 : 6 0000 = 100 ms 0001 = 200 ms 0010 = 400 ms 0011 = 800 ms ALS interrupt persistence setting. The interrupt pin is triggered while sensor reading is out of threshold windows after consecutive number of measurement cycle 00 = 1 ALS_PERS 5 : 4 01 = 2 10 = 4 11 = 8 Selection for which channel the interrupt should trigger INT_CHANNEL 3 0 = ALS CH interrupt 1 = WHITE CH interrupt Channel enable function CHANNEL_EN 2 0 = ALS CH enable only 1 = ALS and WHITE CH enable Interrupt enable setting INT_EN 1 0 = INT disable 1 = INT enable Shut down setting SD 0 0 = power on 1 = shutdown
Note
(1) Integration times have a tolerance of ± 30 % Rev. 1.0, 12-Mar-2019
7
Document Number: 84889 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
EMS supplier