VL53L0X API Specification: Defines the current status of the device

VL53L0X API

Defines the current status of the device

Defines the current status of the device. More...

Macros

#define VL53L0X_STATE_POWERDOWN   ((VL53L0X_State) 0)
 
#define VL53L0X_STATE_WAIT_STATICINIT   ((VL53L0X_State) 1)
 
#define VL53L0X_STATE_STANDBY   ((VL53L0X_State) 2)
 
#define VL53L0X_STATE_IDLE   ((VL53L0X_State) 3)
 
#define VL53L0X_STATE_RUNNING   ((VL53L0X_State) 4)
 
#define VL53L0X_STATE_UNKNOWN   ((VL53L0X_State) 98)
 
#define VL53L0X_STATE_ERROR   ((VL53L0X_State) 99)
 

Typedefs

typedef uint8_t VL53L0X_State
 

Detailed Description

Defines the current status of the device.

Macro Definition Documentation

#define VL53L0X_STATE_POWERDOWN   ((VL53L0X_State) 0)

Device is in HW reset

Definition at line 275 of file vl53l0x_def.h.

#define VL53L0X_STATE_WAIT_STATICINIT   ((VL53L0X_State) 1)

Device is initialized and wait for static initialization

Definition at line 277 of file vl53l0x_def.h.

#define VL53L0X_STATE_STANDBY   ((VL53L0X_State) 2)

Device is in Low power Standby mode

Definition at line 279 of file vl53l0x_def.h.

#define VL53L0X_STATE_IDLE   ((VL53L0X_State) 3)

Device has been initialized and ready to do measurements

Definition at line 281 of file vl53l0x_def.h.

#define VL53L0X_STATE_RUNNING   ((VL53L0X_State) 4)

Device is performing measurement

Definition at line 283 of file vl53l0x_def.h.

#define VL53L0X_STATE_UNKNOWN   ((VL53L0X_State) 98)

Device is in unknown state and need to be rebooted

Definition at line 285 of file vl53l0x_def.h.

#define VL53L0X_STATE_ERROR   ((VL53L0X_State) 99)

Device is in error state and need to be rebooted

Definition at line 287 of file vl53l0x_def.h.

Typedef Documentation

Definition at line 273 of file vl53l0x_def.h.