56 lines
1.1 KiB
C
56 lines
1.1 KiB
C
/**
|
|
******************************************************************************
|
|
* Copyright (c) 2020, STMicroelectronics - All Rights Reserved
|
|
*
|
|
* This software is licensed under terms that can be found in the LICENSE file
|
|
* in the root directory of this software component.
|
|
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
*
|
|
******************************************************************************
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef _VL53L1_ZONE_PRESETS_H_
|
|
#define _VL53L1_ZONE_PRESETS_H_
|
|
|
|
#include "vl53l1_ll_def.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
|
|
|
|
VL53L1_Error VL53L1_init_zone_config_structure(
|
|
uint8_t x_off,
|
|
uint8_t x_inc,
|
|
uint8_t x_zones,
|
|
uint8_t y_off,
|
|
uint8_t y_inc,
|
|
uint8_t y_zones,
|
|
uint8_t width,
|
|
uint8_t height,
|
|
VL53L1_zone_config_t *pdata);
|
|
|
|
|
|
|
|
|
|
VL53L1_Error VL53L1_zone_preset_xtalk_planar(
|
|
VL53L1_general_config_t *pgeneral,
|
|
VL53L1_zone_config_t *pzone_cfg);
|
|
|
|
|
|
|
|
VL53L1_Error VL53L1_init_zone_config_histogram_bins(
|
|
VL53L1_zone_config_t *pdata);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|