|
5 | 5 | 0x00, # 0x2d : set bit 2 and 5 to 1 for fast plus mode (1MHz I2C), else don't touch */ |
6 | 6 | 0x00, # 0x2e : bit 0 if I2C pulled up at 1.8V, else set bit 0 to 1 (pull up at AVDD) */ |
7 | 7 | 0x00, # 0x2f : bit 0 if GPIO pulled up at 1.8V, else set bit 0 to 1 (pull up at AVDD) */ |
8 | | - 0x01, # 0x30 : set bit 4 to 0 for active high interrupt and 1 for active low (bits 3:0 must be 0x1), use SetInterruptPolarity() */ |
9 | | - 0x02, # 0x31 : bit 1 = interrupt depending on the polarity, use CheckForDataReady() */ |
| 8 | + 0x01, # 0x30 : set bit 4 to 0 for active high interrupt and 1 for active low (bits 3:0 must be 0x1) */ |
| 9 | + 0x02, # 0x31 : bit 1 = interrupt depending on the polarity */ |
10 | 10 | 0x00, # 0x32 : not user-modifiable */ |
11 | 11 | 0x02, # 0x33 : not user-modifiable */ |
12 | 12 | 0x08, # 0x34 : not user-modifiable */ |
|
57 | 57 | 0x01, # 0x61 : not user-modifiable */ |
58 | 58 | 0xF1, # 0x62 : not user-modifiable */ |
59 | 59 | 0x0D, # 0x63 : not user-modifiable */ |
60 | | - 0x01, # 0x64 : Sigma threshold MSB (mm in 14.2 format for MSB+LSB), use SetSigmaThreshold(), default value 90 mm */ |
| 60 | + 0x01, # 0x64 : Sigma threshold MSB (mm in 14.2 format for MSB+LSB), default value 90 mm */ |
61 | 61 | 0x68, # 0x65 : Sigma threshold LSB */ |
62 | | - 0x00, # 0x66 : Min count Rate MSB (MCPS in 9.7 format for MSB+LSB), use SetSignalThreshold() */ |
| 62 | + 0x00, # 0x66 : Min count Rate MSB (MCPS in 9.7 format for MSB+LSB) */ |
63 | 63 | 0x80, # 0x67 : Min count Rate LSB */ |
64 | 64 | 0x08, # 0x68 : not user-modifiable */ |
65 | 65 | 0xB8, # 0x69 : not user-modifiable */ |
66 | 66 | 0x00, # 0x6a : not user-modifiable */ |
67 | 67 | 0x00, # 0x6b : not user-modifiable */ |
68 | | - 0x00, # 0x6c : Intermeasurement period MSB, 32 bits register, use SetIntermeasurementInMs() */ |
| 68 | + 0x00, # 0x6c : Intermeasurement period MSB, 32 bits register */ |
69 | 69 | 0x00, # 0x6d : Intermeasurement period */ |
70 | 70 | 0x0F, # 0x6e : Intermeasurement period */ |
71 | 71 | 0x89, # 0x6f : Intermeasurement period LSB */ |
72 | 72 | 0x00, # 0x70 : not user-modifiable */ |
73 | 73 | 0x00, # 0x71 : not user-modifiable */ |
74 | | - 0x00, # 0x72 : distance threshold high MSB (in mm, MSB+LSB), use SetD:tanceThreshold() */ |
| 74 | + 0x00, # 0x72 : distance threshold high MSB (in mm, MSB+LSB) */ |
75 | 75 | 0x00, # 0x73 : distance threshold high LSB */ |
76 | | - 0x00, # 0x74 : distance threshold low MSB ( in mm, MSB+LSB), use SetD:tanceThreshold() */ |
| 76 | + 0x00, # 0x74 : distance threshold low MSB (in mm, MSB+LSB) */ |
77 | 77 | 0x00, # 0x75 : distance threshold low LSB */ |
78 | 78 | 0x00, # 0x76 : not user-modifiable */ |
79 | 79 | 0x01, # 0x77 : not user-modifiable */ |
|
84 | 84 | 0x00, # 0x7c : not user-modifiable */ |
85 | 85 | 0x00, # 0x7d : not user-modifiable */ |
86 | 86 | 0x02, # 0x7e : not user-modifiable */ |
87 | | - 0xC7, # 0x7f : ROI center, use SetROI() */ |
88 | | - 0xFF, # 0x80 : XY ROI (X=Width, Y=Height), use SetROI() */ |
| 87 | + 0xC7, # 0x7f : ROI center */ |
| 88 | + 0xFF, # 0x80 : XY ROI (X=Width, Y=Height) */ |
89 | 89 | 0x9B, # 0x81 : not user-modifiable */ |
90 | 90 | 0x00, # 0x82 : not user-modifiable */ |
91 | 91 | 0x00, # 0x83 : not user-modifiable */ |
92 | 92 | 0x00, # 0x84 : not user-modifiable */ |
93 | 93 | 0x01, # 0x85 : not user-modifiable */ |
94 | | - 0x01, # 0x86 : clear interrupt, use ClearInterrupt() */ |
95 | | - 0x40, # 0x87 : start ranging, use StartRanging() or StopRanging(), If you want an automatic start after VL53L1X_init() call, put 0x40 in location 0x87 */ |
| 94 | + 0x01, # 0x86 : clear interrupt */ |
| 95 | + 0x40, # 0x87 : start ranging, put 0x40 for automatic start after init */ |
96 | 96 | ] |
97 | 97 | ) |
98 | 98 |
|
|
0 commit comments