ST Expansion SW Team / VL53L1

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   X_NUCLEO_53L1CB

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers vl53l1_zone_presets.h Source File

vl53l1_zone_presets.h

00001 
00002 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
00003 /******************************************************************************
00004  * Copyright (c) 2020, STMicroelectronics - All Rights Reserved
00005 
00006  This file is part of VL53L1 and is dual licensed,
00007  either GPL-2.0+
00008  or 'BSD 3-clause "New" or "Revised" License' , at your option.
00009  ******************************************************************************
00010  */
00011 
00012 
00013 
00014 
00015 #ifndef _VL53L1_ZONE_PRESETS_H_
00016 #define _VL53L1_ZONE_PRESETS_H_
00017 
00018 #include "vl53l1_ll_def.h"
00019 
00020 #ifdef __cplusplus
00021 extern "C" {
00022 #endif
00023 
00024 
00025 
00026 
00027 VL53L1_Error VL53L1_init_zone_config_structure(
00028     uint8_t x_off,
00029     uint8_t x_inc,
00030     uint8_t x_zones,
00031     uint8_t y_off,
00032     uint8_t y_inc,
00033     uint8_t y_zones,
00034     uint8_t width,
00035     uint8_t height,
00036     VL53L1_zone_config_t   *pdata);
00037 
00038 
00039 
00040 
00041 VL53L1_Error VL53L1_zone_preset_xtalk_planar(
00042     VL53L1_general_config_t *pgeneral,
00043     VL53L1_zone_config_t    *pzone_cfg);
00044 
00045 
00046 
00047 VL53L1_Error VL53L1_init_zone_config_histogram_bins(
00048     VL53L1_zone_config_t   *pdata);
00049 
00050 #ifdef __cplusplus
00051 }
00052 #endif
00053 
00054 #endif
00055