Datasheet
VEML7700
www.vishay.com
Vishay Semiconductors
Rev. 1.0, 19-Nov-15
5
Document Number: 84286
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
Interrupt pin not available for VEML7700
Note
• Command code 0 default value is 01 = devices is shut down
COMMAND REGISTER FORMAT
COMMAND CODE REGISTER NAME BIT FUNCTION / DESCRIPTION R / W
00 reserved 15 : 13 Set 000b W
ALS_SM 12 : 11
Sensitivity mode selection
00 = ALS sensitivity x 1
01 = ALS sensitivity x 2
10 = ALS sensitivity x (1/8)
11 = ALS sensitivity x (1/4)
W
reserved 10 Set 0b W
ALS_IT 9 : 6
ALS integration time setting
1100 = 25 ms
1000 = 50 ms
0000 = 100 ms
0001 = 200 ms
0010 = 400 ms
0011 = 800 ms
W
ALS_PERS 5 : 4
ALS persistence protect number setting
00 = 1
01 = 2
10 = 4
11 = 8
W
reserved 3 : 2 Set 00b W
ALS_INT_EN 1
ALS interrupt enable setting
0 = ALS INT disable
1 = ALS INT enable
W
ALS_SD 0
ALS shut down setting
0 = ALS power on
1 = ALS shut down
W
01 ALS_WH
15 : 8 ALS high threshold window setting (MSB) W
7 : 0 ALS high threshold window setting (LSB) W
02 ALS_WL
15 : 8 ALS low threshold window setting (MSB) W
7 : 0 ALS low threshold window setting (LSB) W
03 reserved 15 : 3 set 0000 0000 0000 0b
PSM 2 : 1
Power saving mode; see table “Refresh time”
00 = mode 1
01 = mode 2
10 = mode 3
11 = mode 4
W
PSM_EN 0
Power saving mode enable setting
0 = disable
1 = enable
W
04 ALS
15 : 8 MSB 8 bits data of whole ALS 16 bits R
7 : 0 LSB 8 bits data of whole ALS 16 bits R
05 WHITE
15 : 8 MSB 8 bits data of whole WHITE 16 bits R
7 : 0 LSB 8 bits data of whole WHITE 16 bits R
06
ALS_IF_L 15 ALS crossing low threshold INT trigger event R
ALS_IF_H 14 ALS crossing high threshold INT trigger event R
reserved 13 : 0