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_error_exceptions.h Source File

vl53l1_error_exceptions.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_ERROR_EXCEPTIONS_H_
00016 #define _VL53L1_ERROR_EXCEPTIONS_H_
00017 
00018 #define IGNORE_DIVISION_BY_ZERO                                0
00019 
00020 #define IGNORE_XTALK_EXTRACTION_NO_SAMPLE_FAIL                 0
00021 #define IGNORE_XTALK_EXTRACTION_SIGMA_LIMIT_FAIL               0
00022 #define IGNORE_XTALK_EXTRACTION_NO_SAMPLE_FOR_GRADIENT_WARN    0
00023 #define IGNORE_XTALK_EXTRACTION_SIGMA_LIMIT_FOR_GRADIENT_WARN  0
00024 #define IGNORE_XTALK_EXTRACTION_MISSING_SAMPLES_WARN           0
00025 
00026 #define IGNORE_REF_SPAD_CHAR_NOT_ENOUGH_SPADS                  0
00027 #define IGNORE_REF_SPAD_CHAR_RATE_TOO_HIGH                     0
00028 #define IGNORE_REF_SPAD_CHAR_RATE_TOO_LOW                      0
00029 
00030 #define IGNORE_OFFSET_CAL_MISSING_SAMPLES                      0
00031 #define IGNORE_OFFSET_CAL_SIGMA_TOO_HIGH                       0
00032 #define IGNORE_OFFSET_CAL_RATE_TOO_HIGH                        0
00033 #define IGNORE_OFFSET_CAL_SPAD_COUNT_TOO_LOW                   0
00034 
00035 #define IGNORE_ZONE_CAL_MISSING_SAMPLES                        0
00036 #define IGNORE_ZONE_CAL_SIGMA_TOO_HIGH                         0
00037 #define IGNORE_ZONE_CAL_RATE_TOO_HIGH                          0
00038 
00039 #endif
00040