Welcome to mirror list, hosted at ThFree Co, Russian Federation.

app_vl53l0x.h « Inc « Core « BLE_Sensor « BLE « Applications « STM32WB5MM-DK « Projects - github.com/Flipper-Zero/STM32CubeWB.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fa1a47fca53b393057e34fec04476926b07dda18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/**
  ******************************************************************************
  * @file    app_vl53l0x.h 
  * @author  MCD Application Team
  * @brief   Header for app_vl53l0x.c module
  ******************************************************************************
  * @attention
  *
  * Copyright (c) 2017(-2021) 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.
  *
  ******************************************************************************
  */
  
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __APP_VL53L0X_H
#define __APP_VL53L0X_H

/* Includes ------------------------------------------------------------------*/
#include "vl53l0x_def.h"
#include "vl53l0x_api.h"
#include "vl53l0x_tof.h"


#include "app_common.h"
/* Defines -------------------------------------------------------------------*/
#define VL53L0X_ID                    ((uint16_t)0xEEAA)

/* Exported functions ------------------------------------------------------- */
void VL53L0X_PROXIMITY_Init(void);
uint16_t VL53L0X_PROXIMITY_GetDistance(void);
void VL53L0X_PROXIMITY_PrintValue(void);
void VL53L0X_Start_Measure(void);
void VL53L0X_Stop_Measure(void);
#endif /* __APP_VL53L0X_H */