MRMS
Macros | Typedefs
Defines the current status of the device

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

◆ VL53L0X_STATE_ERROR

#define VL53L0X_STATE_ERROR   ((VL53L0X_State) 99)

Device is in error state and need to be rebooted

◆ VL53L0X_STATE_IDLE

#define VL53L0X_STATE_IDLE   ((VL53L0X_State) 3)

Device has been initialized and ready to do measurements

◆ VL53L0X_STATE_POWERDOWN

#define VL53L0X_STATE_POWERDOWN   ((VL53L0X_State) 0)

Device is in HW reset

◆ VL53L0X_STATE_RUNNING

#define VL53L0X_STATE_RUNNING   ((VL53L0X_State) 4)

Device is performing measurement

◆ VL53L0X_STATE_STANDBY

#define VL53L0X_STATE_STANDBY   ((VL53L0X_State) 2)

Device is in Low power Standby mode

◆ VL53L0X_STATE_UNKNOWN

#define VL53L0X_STATE_UNKNOWN   ((VL53L0X_State) 98)

Device is in unknown state and need to be rebooted

◆ VL53L0X_STATE_WAIT_STATICINIT

#define VL53L0X_STATE_WAIT_STATICINIT   ((VL53L0X_State) 1)

Device is initialized and wait for static initialization