VL53L0X API Specification
1.0.2.4823List of all the defined registers. More...
Detailed Description
List of all the defined registers.
Macro Definition Documentation
#define VL53L0X_REG_SYSRANGE_START 0x000 |
Definition at line 123 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSRANGE_MODE_MASK 0x0F |
mask existing bit in VL53L0X_REG_SYSRANGE_START
Definition at line 125 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSRANGE_MODE_START_STOP 0x01 |
bit 0 in VL53L0X_REG_SYSRANGE_START write 1 toggle state in continuous mode and arm next shot in single shot mode
Definition at line 128 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSRANGE_MODE_SINGLESHOT 0x00 |
bit 1 write 0 in VL53L0X_REG_SYSRANGE_START set single shot mode
Definition at line 130 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSRANGE_MODE_BACKTOBACK 0x02 |
bit 1 write 1 in VL53L0X_REG_SYSRANGE_START set back-to-back operation mode
Definition at line 133 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSRANGE_MODE_TIMED 0x04 |
bit 2 write 1 in VL53L0X_REG_SYSRANGE_START set timed operation mode
Definition at line 136 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSRANGE_MODE_HISTOGRAM 0x08 |
bit 3 write 1 in VL53L0X_REG_SYSRANGE_START set histogram operation mode
Definition at line 139 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSTEM_THRESH_HIGH 0x000C |
Definition at line 142 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSTEM_THRESH_LOW 0x000E |
Definition at line 143 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSTEM_SEQUENCE_CONFIG 0x0001 |
Definition at line 146 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSTEM_RANGE_CONFIG 0x0009 |
Definition at line 147 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSTEM_INTERMEASUREMENT_PERIOD 0x0004 |
Definition at line 148 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSTEM_INTERRUPT_CONFIG_GPIO 0x000A |
Definition at line 151 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSTEM_INTERRUPT_GPIO_DISABLED 0x00 |
Definition at line 152 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSTEM_INTERRUPT_GPIO_LEVEL_LOW 0x01 |
Definition at line 153 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSTEM_INTERRUPT_GPIO_LEVEL_HIGH 0x02 |
Definition at line 154 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSTEM_INTERRUPT_GPIO_OUT_OF_WINDOW 0x03 |
Definition at line 155 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSTEM_INTERRUPT_GPIO_NEW_SAMPLE_READY 0x04 |
Definition at line 156 of file vl53l0x_device.h.
#define VL53L0X_REG_GPIO_HV_MUX_ACTIVE_HIGH 0x0084 |
Definition at line 158 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSTEM_INTERRUPT_CLEAR 0x000B |
Definition at line 161 of file vl53l0x_device.h.
#define VL53L0X_REG_RESULT_INTERRUPT_STATUS 0x0013 |
Definition at line 164 of file vl53l0x_device.h.
#define VL53L0X_REG_RESULT_RANGE_STATUS 0x0014 |
Definition at line 165 of file vl53l0x_device.h.
#define VL53L0X_REG_RESULT_CORE_PAGE 1 |
Definition at line 167 of file vl53l0x_device.h.
#define VL53L0X_REG_RESULT_CORE_AMBIENT_WINDOW_EVENTS_RTN 0x00BC |
Definition at line 168 of file vl53l0x_device.h.
#define VL53L0X_REG_RESULT_CORE_RANGING_TOTAL_EVENTS_RTN 0x00C0 |
Definition at line 169 of file vl53l0x_device.h.
#define VL53L0X_REG_RESULT_CORE_AMBIENT_WINDOW_EVENTS_REF 0x00D0 |
Definition at line 170 of file vl53l0x_device.h.
#define VL53L0X_REG_RESULT_CORE_RANGING_TOTAL_EVENTS_REF 0x00D4 |
Definition at line 171 of file vl53l0x_device.h.
#define VL53L0X_REG_RESULT_PEAK_SIGNAL_RATE_REF 0x00B6 |
Definition at line 172 of file vl53l0x_device.h.
#define VL53L0X_REG_ALGO_PART_TO_PART_RANGE_OFFSET_MM 0x0028 |
Definition at line 176 of file vl53l0x_device.h.
#define VL53L0X_REG_I2C_SLAVE_DEVICE_ADDRESS 0x008a |
Definition at line 178 of file vl53l0x_device.h.
#define VL53L0X_REG_MSRC_CONFIG_CONTROL 0x0060 |
Definition at line 181 of file vl53l0x_device.h.
#define VL53L0X_REG_PRE_RANGE_CONFIG_MIN_SNR 0X0027 |
Definition at line 183 of file vl53l0x_device.h.
#define VL53L0X_REG_PRE_RANGE_CONFIG_VALID_PHASE_LOW 0x0056 |
Definition at line 184 of file vl53l0x_device.h.
#define VL53L0X_REG_PRE_RANGE_CONFIG_VALID_PHASE_HIGH 0x0057 |
Definition at line 185 of file vl53l0x_device.h.
#define VL53L0X_REG_PRE_RANGE_MIN_COUNT_RATE_RTN_LIMIT 0x0064 |
Definition at line 186 of file vl53l0x_device.h.
#define VL53L0X_REG_FINAL_RANGE_CONFIG_MIN_SNR 0X0067 |
Definition at line 188 of file vl53l0x_device.h.
#define VL53L0X_REG_FINAL_RANGE_CONFIG_VALID_PHASE_LOW 0x0047 |
Definition at line 189 of file vl53l0x_device.h.
#define VL53L0X_REG_FINAL_RANGE_CONFIG_VALID_PHASE_HIGH 0x0048 |
Definition at line 190 of file vl53l0x_device.h.
#define VL53L0X_REG_FINAL_RANGE_CONFIG_MIN_COUNT_RATE_RTN_LIMIT 0x0044 |
Definition at line 191 of file vl53l0x_device.h.
#define VL53L0X_REG_PRE_RANGE_CONFIG_SIGMA_THRESH_HI 0X0061 |
Definition at line 194 of file vl53l0x_device.h.
#define VL53L0X_REG_PRE_RANGE_CONFIG_SIGMA_THRESH_LO 0X0062 |
Definition at line 195 of file vl53l0x_device.h.
#define VL53L0X_REG_PRE_RANGE_CONFIG_VCSEL_PERIOD 0x0050 |
Definition at line 198 of file vl53l0x_device.h.
#define VL53L0X_REG_PRE_RANGE_CONFIG_TIMEOUT_MACROP_HI 0x0051 |
Definition at line 199 of file vl53l0x_device.h.
#define VL53L0X_REG_PRE_RANGE_CONFIG_TIMEOUT_MACROP_LO 0x0052 |
Definition at line 200 of file vl53l0x_device.h.
#define VL53L0X_REG_SYSTEM_HISTOGRAM_BIN 0x0081 |
Definition at line 202 of file vl53l0x_device.h.
#define VL53L0X_REG_HISTOGRAM_CONFIG_INITIAL_PHASE_SELECT 0x0033 |
Definition at line 203 of file vl53l0x_device.h.
#define VL53L0X_REG_HISTOGRAM_CONFIG_READOUT_CTRL 0x0055 |
Definition at line 204 of file vl53l0x_device.h.
#define VL53L0X_REG_FINAL_RANGE_CONFIG_VCSEL_PERIOD 0x0070 |
Definition at line 206 of file vl53l0x_device.h.
#define VL53L0X_REG_FINAL_RANGE_CONFIG_TIMEOUT_MACROP_HI 0x0071 |
Definition at line 207 of file vl53l0x_device.h.
#define VL53L0X_REG_FINAL_RANGE_CONFIG_TIMEOUT_MACROP_LO 0x0072 |
Definition at line 208 of file vl53l0x_device.h.
#define VL53L0X_REG_CROSSTALK_COMPENSATION_PEAK_RATE_MCPS 0x0020 |
Definition at line 209 of file vl53l0x_device.h.
#define VL53L0X_REG_MSRC_CONFIG_TIMEOUT_MACROP 0x0046 |
Definition at line 211 of file vl53l0x_device.h.
#define VL53L0X_REG_SOFT_RESET_GO2_SOFT_RESET_N 0x00bf |
Definition at line 214 of file vl53l0x_device.h.
#define VL53L0X_REG_IDENTIFICATION_MODEL_ID 0x00c0 |
Definition at line 215 of file vl53l0x_device.h.
#define VL53L0X_REG_IDENTIFICATION_REVISION_ID 0x00c2 |
Definition at line 216 of file vl53l0x_device.h.
#define VL53L0X_REG_OSC_CALIBRATE_VAL 0x00f8 |
Definition at line 218 of file vl53l0x_device.h.
#define VL53L0X_SIGMA_ESTIMATE_MAX_VALUE 65535 |
Definition at line 221 of file vl53l0x_device.h.
#define VL53L0X_REG_GLOBAL_CONFIG_VCSEL_WIDTH 0x032 |
Definition at line 224 of file vl53l0x_device.h.
#define VL53L0X_REG_GLOBAL_CONFIG_SPAD_ENABLES_REF_0 0x0B0 |
Definition at line 225 of file vl53l0x_device.h.
#define VL53L0X_REG_GLOBAL_CONFIG_SPAD_ENABLES_REF_1 0x0B1 |
Definition at line 226 of file vl53l0x_device.h.
#define VL53L0X_REG_GLOBAL_CONFIG_SPAD_ENABLES_REF_2 0x0B2 |
Definition at line 227 of file vl53l0x_device.h.
#define VL53L0X_REG_GLOBAL_CONFIG_SPAD_ENABLES_REF_3 0x0B3 |
Definition at line 228 of file vl53l0x_device.h.
#define VL53L0X_REG_GLOBAL_CONFIG_SPAD_ENABLES_REF_4 0x0B4 |
Definition at line 229 of file vl53l0x_device.h.
#define VL53L0X_REG_GLOBAL_CONFIG_SPAD_ENABLES_REF_5 0x0B5 |
Definition at line 230 of file vl53l0x_device.h.
#define VL53L0X_REG_GLOBAL_CONFIG_REF_EN_START_SELECT 0xB6 |
Definition at line 232 of file vl53l0x_device.h.
#define VL53L0X_REG_DYNAMIC_SPAD_NUM_REQUESTED_REF_SPAD 0x4E /* 0x14E */ |
Definition at line 233 of file vl53l0x_device.h.
#define VL53L0X_REG_DYNAMIC_SPAD_REF_EN_START_OFFSET 0x4F /* 0x14F */ |
Definition at line 234 of file vl53l0x_device.h.
#define VL53L0X_REG_POWER_MANAGEMENT_GO1_POWER_FORCE 0x80 |
Definition at line 235 of file vl53l0x_device.h.
#define VL53L0X_SPEED_OF_LIGHT_IN_AIR 2997 |
Definition at line 241 of file vl53l0x_device.h.
#define VL53L0X_REG_VHV_CONFIG_PAD_SCL_SDA__EXTSUP_HV 0x0089 |
Definition at line 243 of file vl53l0x_device.h.
#define VL53L0X_REG_ALGO_PHASECAL_LIM 0x0030 /* 0x130 */ |
Definition at line 245 of file vl53l0x_device.h.
#define VL53L0X_REG_ALGO_PHASECAL_CONFIG_TIMEOUT 0x0030 |
Definition at line 246 of file vl53l0x_device.h.