lightranger9 2.0.0.0
|
Settings for registers of LightRanger 9 Click driver. More...
Settings for registers of LightRanger 9 Click driver.
#define LIGHTRANGER9_APP_ID_BOOTLOADER 0x80 |
LightRanger 9 app id settings.
Specified app id settings of LightRanger 9 Click driver.
#define LIGHTRANGER9_APP_ID_MEASUREMENT 0x03 |
#define LIGHTRANGER9_BL_CMD_ADDR_RAM 0x43 |
#define LIGHTRANGER9_BL_CMD_DOWNLOAD_INIT 0x14 |
#define LIGHTRANGER9_BL_CMD_I2C_BIST 0x2C |
#define LIGHTRANGER9_BL_CMD_RAM_BIST 0x2A |
#define LIGHTRANGER9_BL_CMD_RAMREMAP_RESET 0x11 |
LightRanger 9 bootloader commands list.
Specified bootloader commands list of LightRanger 9 Click driver.
#define LIGHTRANGER9_BL_CMD_STAT_ERR_CSUM 0x02 |
#define LIGHTRANGER9_BL_CMD_STAT_ERR_MORE 0x04 |
#define LIGHTRANGER9_BL_CMD_STAT_ERR_RANGE 0x03 |
#define LIGHTRANGER9_BL_CMD_STAT_ERR_SIZE 0x01 |
#define LIGHTRANGER9_BL_CMD_STAT_READY 0x00 |
LightRanger 9 bootloader commands status list.
Specified bootloader commands status list of LightRanger 9 Click driver.
#define LIGHTRANGER9_BL_CMD_W_RAM 0x41 |
#define LIGHTRANGER9_BLOCKREAD_SIZE 132 |
LightRanger 9 capture settings.
Specified capture settings of LightRanger 9 Click driver.
#define LIGHTRANGER9_CMD_ERR_APPLICATION 0x03 |
#define LIGHTRANGER9_CMD_ERR_CONFIG 0x02 |
#define LIGHTRANGER9_CMD_ERR_NO_REF_SPAD 0x07 |
#define LIGHTRANGER9_CMD_ERR_RESET_UNEXPECTED 0x05 |
#define LIGHTRANGER9_CMD_ERR_UNKNOWN_CID 0x09 |
#define LIGHTRANGER9_CMD_ERR_UNKNOWN_CMD 0x06 |
#define LIGHTRANGER9_CMD_ERR_UNKNOWN_MODE 0x0E |
#define LIGHTRANGER9_CMD_ERR_WAKEUP_TIMED 0x04 |
#define LIGHTRANGER9_CMD_STAT_ACCEPTED 0x01 |
#define LIGHTRANGER9_CMD_STAT_CLEAR_STATUS 0x11 |
#define LIGHTRANGER9_CMD_STAT_FACTORY_CALIBRATION 0x20 |
#define LIGHTRANGER9_CMD_STAT_FORCE_TMF8820 0x65 |
#define LIGHTRANGER9_CMD_STAT_FORCE_TMF8828 0x6C |
#define LIGHTRANGER9_CMD_STAT_GPIO 0x12 |
#define LIGHTRANGER9_CMD_STAT_I2C_SLAVE_ADDRESS 0x21 |
#define LIGHTRANGER9_CMD_STAT_LOAD_CFG_PAGE_COMMON 0x16 |
#define LIGHTRANGER9_CMD_STAT_LOAD_CFG_PAGE_F_Y_CAL 0x19 |
#define LIGHTRANGER9_CMD_STAT_LOAD_CFG_PAGE_SPAD_1 0x17 |
#define LIGHTRANGER9_CMD_STAT_LOAD_CFG_PAGE_SPAD_2 0x18 |
#define LIGHTRANGER9_CMD_STAT_MEASURE 0x10 |
LightRanger 9 cmd stat register write settings.
Specified cmd stat register write settings of LightRanger 9 Click driver.
#define LIGHTRANGER9_CMD_STAT_OK 0x00 |
LightRanger 9 cmd stat register read settings.
Specified cmd stat register read settings of LightRanger 9 Click driver.
#define LIGHTRANGER9_CMD_STAT_RESET 0xFE |
#define LIGHTRANGER9_CMD_STAT_STOP 0xFF |
#define LIGHTRANGER9_CMD_STAT_WRITE_CFG_PAGE 0x15 |
#define LIGHTRANGER9_CMD_WARNING_CFG_SPAD_1 0x0A |
#define LIGHTRANGER9_CMD_WARNING_CFG_SPAD_2 0x0B |
#define LIGHTRANGER9_CMD_WARNING_I2C_ADDRESS 0x0D |
#define LIGHTRANGER9_CMD_WARNING_OSC_TRIP 0x0C |
#define LIGHTRANGER9_CONFIDENCE_THRESHOLD 100 |
#define LIGHTRANGER9_CONFIG_RESULT_COMMON_CID 0x16 |
#define LIGHTRANGER9_CONFIG_RESULT_FAC_CALIB_CID 0x19 |
#define LIGHTRANGER9_CONFIG_RESULT_HIST_RAW_CID 0x81 |
#define LIGHTRANGER9_CONFIG_RESULT_MEAS 0x10 |
LightRanger 9 config result register settings.
Specified config result register settings of LightRanger 9 Click driver.
#define LIGHTRANGER9_CONFIG_RESULT_SPAD_1_CID 0x17 |
#define LIGHTRANGER9_CONFIG_RESULT_SPAD_2_CID 0x18 |
#define LIGHTRANGER9_DEFAULT_MEASUREMENT_PERIOD_MS 500 |
LightRanger 9 default measurement period and confidence threshold.
Specified default measurement period and confidence threshold of LightRanger 9 Click driver.
#define LIGHTRANGER9_DEVICE_ADDRESS 0x41 |
LightRanger 9 device address setting.
Specified setting for device slave address selection of LightRanger 9 Click driver.
#define LIGHTRANGER9_DEVICE_ID 0x08 |
LightRanger 9 device ID value.
Specified device ID value of LightRanger 9 Click driver.
#define LIGHTRANGER9_ENABLE_CPU_READY 0x40 |
LightRanger 9 enable register settings.
Specified enable register settings of LightRanger 9 Click driver.
#define LIGHTRANGER9_ENABLE_PON 0x01 |
#define LIGHTRANGER9_ENABLE_POWERUP_BL 0x00 |
#define LIGHTRANGER9_ENABLE_POWERUP_BL_NO_SLP 0x10 |
#define LIGHTRANGER9_ENABLE_POWERUP_RAM 0x20 |
#define LIGHTRANGER9_INT_ENAB_COMMAND 0x20 |
#define LIGHTRANGER9_INT_ENAB_HIST_READY 0x08 |
#define LIGHTRANGER9_INT_ENAB_MEAS_READY 0x02 |
#define LIGHTRANGER9_INT_ENAB_REG_STATUS 0x40 |
LightRanger 9 int enable register settings.
Specified int enable register settings of LightRanger 9 Click driver.
#define LIGHTRANGER9_INT_STATUS_COMMAND 0x20 |
#define LIGHTRANGER9_INT_STATUS_HIST_READY 0x08 |
#define LIGHTRANGER9_INT_STATUS_MEAS_READY 0x02 |
#define LIGHTRANGER9_INT_STATUS_REG_STATUS 0x40 |
LightRanger 9 int status register settings.
Specified int status register settings of LightRanger 9 Click driver.
#define LIGHTRANGER9_MAX_MEAS_RESULTS 36 |
#define LIGHTRANGER9_OBJECT_MAP_SIZE 64 |
#define LIGHTRANGER9_RESULT_NUMBER_MASK 0x3F |
#define LIGHTRANGER9_SUBCAPTURE_0 0 |
#define LIGHTRANGER9_SUBCAPTURE_1 1 |
#define LIGHTRANGER9_SUBCAPTURE_2 2 |
#define LIGHTRANGER9_SUBCAPTURE_3 3 |
#define LIGHTRANGER9_SUBCAPTURE_MASK 0x03 |
#define LIGHTRANGER9_SYS_TICK_TO_SEC 0.0000002 |
#define LIGHTRANGER9_TIMEOUT 5000 |
LightRanger 9 timeout value.
Specified timeout value of LightRanger 9 Click driver.